forked from cms-analysis/flashggFinalFit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config_2022.py
23 lines (19 loc) · 994 Bytes
/
config_2022.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Input config file for running trees2ws
trees2wsCfg = {
# Name of RooDirectory storing input tree
'inputTreeDir':'DiphotonTree',
# Variables to be added to dataframe: use wildcard * for common strings
'mainVars':["CMS_hgg_mass","weight","weight_central","dZ","*Up","*Down","fiducialGeometricFlag"],
'dataVars':["CMS_hgg_mass","weight"], # Vars to be added for data
'stxsVar':'',
'diffVar':'',
'notagVars':[], # Vars to add to NOTAG RooDataset
'systematicsVars':["CMS_hgg_mass","weight","fiducialGeometricFlag"], # Variables to add to sytematic RooDataHists
'theoryWeightContainers':{'weight_LHEPdf': 101, 'weight_LHEScale': 9},
#'theoryWeightContainers':{'weight_LHEScale': 9},
# List of systematics: use string YEAR for year-dependent systematics
'systematics':["ScaleEB", "ScaleEE", "Smearing", "Material", "FNUF", "energyErrShift"],
#'systematics': [''],
# Analysis categories: python list of cats or use 'auto' to extract from input tree
'cats':'auto'
}