[x] Let's update the number of toys in case we go frequentist. We're using asymptotics currently so it doesn't matter, but don't want this to bite us in the ass.
195,196c195
< # configMgr.nTOYs = 5000 # number of toys when doing frequentist calculator
< configMgr.nTOYs = 100 # number of toys when doing frequentist calculator
---
> configMgr.nTOYs = 5000 # number of toys when doing frequentist calculator
[x] We need to check if Chris included WZWeight in "weight" or if we need to include it at the fitter level
[x] Let's add the signal XS uncertainty to the fit
[x] Update how the btagging systematics are applied.
721c974
< if zlFitterConfig.useBTagUncertainties and "bTagWeight" in regionDict[regionName].extraWeightList:
---
> if zlFitterConfig.useBTagUncertainties and "btagSystWeights[0]" in regionDict[regionName].extraWeightList:
Let's just change the whole block to match theirs:
but it probably shouldn't be wrapped in the if statement for precomputed
[x]
< #JER systematics
< jetSystematicList.append(Systematic("JER","","_JET_JER_SINGLE_NP_1up","_JET_JER_SINGLE_NP_1up","tree","overallNormHistoSysOneSideSym"))# ATT: Not sure that it should be symmetrized
<
---
> # JER systematics
> # ATT: Not sure that it should be symmetrized
> jetSystematicList.append(Systematic("JER", "", "_JET_JER_SINGLE_NP_1up", "", "tree", "overallNormHistoSysOneSide"))
Below, current RJigsaw is < and recent MEff is >.
Let's just change the whole block to match theirs:
but it probably shouldn't be wrapped in the if statement for precomputed