DESY Hbb Analysis Framework
Public Member Functions | Public Attributes | Protected Attributes | List of all members
analysis::tools::Config Class Reference

#include <Config.h>

Public Member Functions

bool blind () const
 
bool bRegression () const
 
std::string btagAlgorithm () const
 
std::string btagEfficiencies () const
 
std::string btagScaleFactors () const
 
float btagWP (const std::string &) const
 
 Config ()
 constructors More...
 
 Config (int argc, char **argv)
 
std::string configFile () const
 
float crossSection () const
 
std::string crossSectionTree () const
 
std::string crossSectionType () const
 
std::string directoryAI () const
 
float discriminatorMaxAI () const
 
float discriminatorMinAI () const
 
bool doDijet () const
 
bool doDijetFlavour () const
 
bool doTree () const
 
float efficiencyMinAI () const
 
std::vector< std::string > eras () const
 
std::vector< float > erasLumi () const
 
std::string eventInfo () const
 
std::string eventsDir () const
 
bool fullGenWeight () const
 
std::string genJetsCollection () const
 
std::string genParticlesCollection () const
 
bool histogramJetsPerFlavour () const
 
bool histogramJetsRegionSplit () const
 
int index () const
 
bool isMC () const
 
std::string jerPtRes () const
 
std::string jerSF () const
 
std::vector< float > jetsBtagProbB () const
 
std::vector< float > jetsBtagProbBB () const
 
std::vector< float > jetsBtagProbC () const
 
std::vector< float > jetsBtagProbG () const
 
std::vector< float > jetsBtagProbLepB () const
 
std::vector< float > jetsBtagProbLight () const
 
std::vector< std::string > jetsBtagWP () const
 
std::string jetsCollection () const
 
float jetsDetaMax () const
 
float jetsDetaMin () const
 
float jetsDphiMax () const
 
float jetsDphiMin () const
 
float jetsDrMax () const
 
float jetsDrMin () const
 
std::vector< float > jetsEtaMax () const
 
std::string jetsId () const
 
float jetsPtImbalanceMax () const
 
float jetsPtImbalanceMin () const
 
std::vector< float > jetsPtMax () const
 
std::vector< float > jetsPtMin () const
 
std::string jetsPuId () const
 
std::vector< float > jetsQGmax () const
 
std::vector< float > jetsQGmin () const
 
std::string json () const
 
std::string l1tJetsCollection () const
 
std::string l1tMuonsCollection () const
 
void loadOptions ()
 
float luminosity () const
 
float massMax () const
 
float massMin () const
 
float max () const
 
std::string methodAI () const
 
float min () const
 
std::string muonsCollection () const
 
float muonsDrMax () const
 
float muonsDrMin () const
 
std::vector< float > muonsEtaMax () const
 
std::string muonsId () const
 
std::vector< float > muonsPtMax () const
 
std::vector< float > muonsPtMin () const
 
int n () const
 
int nBJetsMin () const
 
int nEventsMax () const
 
int nJets () const
 
int nJetsMax () const
 
int nJetsMin () const
 
bool nlo () const
 
int nMuonsMax () const
 
int nMuonsMin () const
 
std::string ntuplesList () const
 
po::options_description & optionsCFG ()
 
po::options_description & optionsCMD ()
 
std::string outputRoot () const
 
bool override () const
 
std::string pileupWeights () const
 
int prescale () const
 
std::string process () const
 
bool pythia8 () const
 
int revBtagJet () const
 
std::string revBtagWP () const
 
float scale () const
 
int seed () const
 
std::string seedFile () const
 
bool signalRegion () const
 
std::string triggerEmulateCaloJets () const
 Calo jet trigger emulation. More...
 
float triggerEmulateCaloJetsEtaMax () const
 
int triggerEmulateCaloJetsNMin () const
 
float triggerEmulateCaloJetsPtMin () const
 
std::string triggerEmulateL1Jets () const
 L1 jet trigger emulation. More...
 
float triggerEmulateL1JetsEtaMax () const
 
int triggerEmulateL1JetsNMin () const
 
float triggerEmulateL1JetsPtMin () const
 
std::string triggerEmulateL1Muons () const
 L1 muon trigger emulation. More...
 
float triggerEmulateL1MuonsEtaMax () const
 
int triggerEmulateL1MuonsNMin () const
 
float triggerEmulateL1MuonsPtMin () const
 
std::string triggerEmulateL3Muons () const
 L3 muon trigger emulation. More...
 
float triggerEmulateL3MuonsEtaMax () const
 
int triggerEmulateL3MuonsNMin () const
 
float triggerEmulateL3MuonsPtMin () const
 
std::string triggerEmulatePFJets () const
 PF jet trigger emulation. More...
 
float triggerEmulatePFJetsEtaMax () const
 
int triggerEmulatePFJetsNMin () const
 
float triggerEmulatePFJetsPtMin () const
 
float triggerMatchCaloBJetsDrMax () const
 
float triggerMatchCaloJetsDrMax () const
 
float triggerMatchL1JetsDrMax () const
 
float triggerMatchL1MuonsDrMax () const
 
float triggerMatchL3MuonsDrMax () const
 
float triggerMatchPFJetsDrMax () const
 
std::string triggerObjectsBJets () const
 
std::string triggerObjectsCaloJets () const
 
std::string triggerObjectsDir () const
 
std::string triggerObjectsL1Jets () const
 
std::string triggerObjectsL1Muons () const
 
std::string triggerObjectsL3Muons () const
 
std::string triggerObjectsPFJets () const
 
std::string triggerResults () const
 
bool useJetsExtendedFlavour () const
 
std::vector< std::string > variablesAI (const std::string &t="F") const
 
int workflow () const
 
 ~Config ()
 desctructor More...
 

Public Attributes

float detamax_
 
float detamin_
 
float dphimax_
 
float dphimin_
 
float drmax_
 
float drmin_
 
std::vector< float > etamax_
 
std::string hltPath_
 
std::vector< float > jetsbtagmin_
 
std::string l1Seed_
 
int nlumis_
 
int nmax_
 
int nmin_
 
std::vector< float > ptmax_
 
std::vector< float > ptmin_
 
int runmax_
 
int runmin_
 
float trgmatchdrmax_
 

Protected Attributes

bool apply_correct_
 
int argc_
 
char ** argv_
 
bool blind_
 
bool bregression_
 
std::string btagalgo_
 
std::string btageff_
 
std::string btagsf_
 
float btagwploose_
 
float btagwpmedium_
 
float btagwptight_
 
float btagwpxxx_
 
std::string calojetemul_
 Calo jet trigger emulation. More...
 
float calojetemuletamax_
 
int calojetemulnmin_
 
float calojetemulptmin_
 
std::string cfg_
 
std::vector< int > dijet_ranks_
 
std::string dir_ai_
 
float disc_max_ai_
 
float disc_min_ai_
 
bool do_tree_
 
bool dodijet_
 
float eff_min_ai_
 
std::vector< std::string > eras_
 
std::vector< float > eraslumi_
 
std::string eventinfo_
 
std::string eventsdir_
 
bool fullgenweight_
 
std::string genjetsCol_
 
std::string genpartsCol_
 
bool histjets_flavour_
 
bool histjets_rsplit_
 
int index_
 
std::string inputlist_
 
bool isMC_
 
std::string jerptres_
 
std::string jersf_
 
std::vector< float > jetsbtagprobb_
 
std::vector< float > jetsbtagprobbb_
 
std::vector< float > jetsbtagprobc_
 
std::vector< float > jetsbtagprobg_
 
std::vector< float > jetsbtagproblepb_
 
std::vector< float > jetsbtagproblight_
 
std::vector< std::string > jetsbtagwp_
 
std::string jetsCol_
 
float jetsdetamax_
 
float jetsdetamin_
 
float jetsdphimax_
 
float jetsdphimin_
 
float jetsdrmax_
 
float jetsdrmin_
 
std::vector< float > jetsetamax_
 
std::string jetsid_
 
float jetsptimbalmax_
 
float jetsptimbalmin_
 
std::vector< float > jetsptmax_
 
std::vector< float > jetsptmin_
 
std::string jetspuid_
 
std::string json_
 
std::string l1jetemul_
 L1 jet trigger emulation. More...
 
float l1jetemuletamax_
 
int l1jetemulnmin_
 
float l1jetemulptmin_
 
std::string l1muonemul_
 L1 muon trigger emulation. More...
 
float l1muonemuletamax_
 
int l1muonemulnmin_
 
float l1muonemulptmin_
 
std::string l1tjetsCol_
 
std::string l1tmuonsCol_
 
std::string l3muonemul_
 L3 muon trigger emulation. More...
 
float l3muonemuletamax_
 
int l3muonemulnmin_
 
float l3muonemulptmin_
 
float lumi_
 
float massmax_
 
float massmin_
 
float matchTrgCaloBJetsDrMax_
 
float matchTrgCaloJetsDrMax_
 
float matchTrgL1JetsDrMax_
 
float matchTrgL1MuonsDrMax_
 
float matchTrgL3MuonsDrMax_
 
float matchTrgPFJetsDrMax_
 
float max_
 
std::string method_ai_
 
float min_
 
std::string muonsCol_
 
float muonsdrmax_
 
float muonsdrmin_
 
std::vector< float > muonsetamax_
 
std::string muonsid_
 
std::vector< float > muonsptmax_
 
std::vector< float > muonsptmin_
 
int n_
 
int nbjetsmin_
 
int nevtmax_
 
int njets_
 
int njetsmax_
 
int njetsmin_
 
bool nlo_
 
int nmuonsmax_
 
int nmuonsmin_
 
po::options_description opt_cfg_
 
po::options_description opt_cmd_
 
std::string outputRoot_
 
bool override_
 
std::string pfjetemul_
 PF jet trigger emulation. More...
 
float pfjetemuletamax_
 
int pfjetemulnmin_
 
float pfjetemulptmin_
 
int prescale_
 
std::string process_
 
std::string puweight_
 
bool pythia8_
 
std::vector< float > qgmax_
 
std::vector< float > qgmin_
 
int revbtagjet_
 
std::string revbtagwp_
 
float scale_
 
int seed_
 
std::string seedfile_
 
bool signalregion_
 
std::string trgObjsBJets_
 
std::string trgObjsCaloJets_
 
std::string trgObjsL1Jets_
 
std::string trgObjsL1Muons_
 
std::string trgObjsL3Muons_
 
std::string trgObjsPFJets_
 
std::string triggerCol_
 
std::string triggerObjDir_
 
bool usejetsextflv_
 
std::vector< std::string > varsf_ai_
 
std::vector< std::string > varsi_ai_
 
int workflow_
 
float xsection_
 
std::string xsectiontree_
 
std::string xsectiontype_
 

Detailed Description

Definition at line 53 of file Config.h.

Constructor & Destructor Documentation

Config::Config ( )

constructors

Definition at line 22 of file Config.cc.

23 {
24 }
Config::Config ( int  argc,
char **  argv 
)

Definition at line 27 of file Config.cc.

References apply_correct_, argc_, argv_, blind_, bregression_, btagalgo_, btageff_, btagsf_, btagwploose_, btagwpmedium_, btagwptight_, btagwpxxx_, calojetemul_, calojetemuletamax_, calojetemulnmin_, calojetemulptmin_, cfg_, detamax_, detamin_, dijet_ranks_, dir_ai_, disc_max_ai_, disc_min_ai_, do_tree_, dodijet_, dphimax_, dphimin_, drmax_, drmin_, eff_min_ai_, eras_, eraslumi_, etamax_, eventinfo_, eventsdir_, fullgenweight_, genjetsCol_, genpartsCol_, histjets_flavour_, histjets_rsplit_, hltPath_, index_, inputlist_, isMC_, jerptres_, jersf_, jetsbtagmin_, jetsbtagprobb_, jetsbtagprobbb_, jetsbtagprobc_, jetsbtagprobg_, jetsbtagproblepb_, jetsbtagproblight_, jetsbtagwp_, jetsCol_, jetsdetamax_, jetsdetamin_, jetsdphimax_, jetsdphimin_, jetsdrmax_, jetsdrmin_, jetsetamax_, jetsid_, jetsptimbalmax_, jetsptimbalmin_, jetsptmax_, jetsptmin_, jetspuid_, json_, l1jetemul_, l1jetemuletamax_, l1jetemulnmin_, l1jetemulptmin_, l1muonemul_, l1muonemuletamax_, l1muonemulnmin_, l1muonemulptmin_, l1Seed_, l1tjetsCol_, l1tmuonsCol_, l3muonemul_, l3muonemuletamax_, l3muonemulnmin_, l3muonemulptmin_, lumi_, massmax_, massmin_, matchTrgCaloBJetsDrMax_, matchTrgCaloJetsDrMax_, matchTrgL1JetsDrMax_, matchTrgL1MuonsDrMax_, matchTrgL3MuonsDrMax_, matchTrgPFJetsDrMax_, max_, method_ai_, min_, muonsCol_, muonsdrmax_, muonsdrmin_, muonsetamax_, muonsid_, muonsptmax_, muonsptmin_, n_, nbjetsmin_, nevtmax_, njets_, njetsmax_, njetsmin_, nlo_, nlumis_, nmax_, nmin_, nmuonsmax_, nmuonsmin_, opt_cfg_, opt_cmd_, outputRoot_, override_, pfjetemul_, pfjetemuletamax_, pfjetemulnmin_, pfjetemulptmin_, prescale_, process_, ptmax_, ptmin_, puweight_, pythia8_, qgmax_, qgmin_, revbtagjet_, revbtagwp_, runmax_, runmin_, scale_, seed_, seedfile_, signalregion_, trgmatchdrmax_, trgObjsBJets_, trgObjsCaloJets_, trgObjsL1Jets_, trgObjsL1Muons_, trgObjsL3Muons_, trgObjsPFJets_, triggerCol_, triggerObjDir_, usejetsextflv_, varsf_ai_, varsi_ai_, workflow_, xsection_, xsectiontree_, and xsectiontype_.

27  : opt_cmd_("Options"), opt_cfg_("Configuration")
28 {
29  std::string toolspath = Form("%s/src/Analysis/Tools",getenv("CMSSW_BASE"));
30  std::string datapath = Form("%s/src/Analysis/Tools/data",getenv("CMSSW_BASE"));
31  std::string calibpath = datapath+"/calibrations";
32  std::string ntuplepath = datapath+"/ntuples";
33  argc_ = argc;
34  argv_ = argv;
35  // read configuration options
36  try
37  {
38  namespace po = boost::program_options;
39  opt_cmd_.add_options()
40  ("help,h","Show help messages")
41  ("config,c",po::value<std::string>(&cfg_),"Configuration file name");
42 
43  // analysis info
44  opt_cfg_.add_options()
45  ("Info.ntuplesList" , po::value <std::string> (&inputlist_) -> default_value("rootFileList.txt") ,"File with list of ntuples")
46  ("Info.process" , po::value <std::string> (&process_) -> default_value("MssmHbb") ,"Process of ntuples")
47  ("Info.events" , po::value <std::string> (&eventsdir_) -> default_value("Events") ,"Name of the events directory")
48  ("Info.eventInfo" , po::value <std::string> (&eventinfo_) -> default_value("EventInfo") ,"EventInfo directory in the tree")
49  ("Info.json" , po::value <std::string> (&json_) -> default_value("no_json.txt") ,"JSON file for data")
50  ("Info.output" , po::value <std::string> (&outputRoot_) -> default_value("histograms.root") ,"Output root file")
51  ("Info.seedFile" , po::value <std::string> (&seedfile_) -> default_value("no_seed.txt") ,"File with seed value for random numbers")
52  ("Info.blindAnalysis" , po::value <bool> (&blind_) -> default_value(false) ,"Flag for blind analysis")
53  ("Info.nloMC" , po::value <bool> (&nlo_) -> default_value(false) ,"Flag for NLO MC samples")
54  ("Info.isMC" , po::value <bool> (&isMC_) -> default_value(true) ,"Flag for MC dataset")
55  ("Info.fullGenWeight" , po::value <bool> (&fullgenweight_) -> default_value(false) ,"Flag for full gen weight of MC samples, otherwise only sign")
56  ("Info.signalRegion" , po::value <bool> (&signalregion_) -> default_value(true) ,"Flag for signal region")
57  ("Info.eventsMax" , po::value <int> (&nevtmax_) -> default_value(-1) , "Maximum number of events")
58  ("Info.seed" , po::value <int> (&seed_) -> default_value(-1) , "Seed value for random numbers");
59 
60  // Corrections
61  opt_cfg_.add_options()
62  ("Corrections.Pileup.reweight" , po::value <std::string> (&puweight_) -> default_value("") , "Root file containing pileup weights")
63  ("Corrections.Jets.jerPtRes" , po::value <std::string> (&jerptres_) -> default_value("") , "JER pT resolution file")
64  ("Corrections.Jets.jerSF" , po::value <std::string> (&jersf_) -> default_value("") , "JER SF file")
65  ("Corrections.BTag.SF" , po::value <std::string> (&btagsf_) -> default_value("") , "b-tagging scale factor in CSV format")
66  ("Corrections.BTag.Efficiencies", po::value <std::string> (&btageff_) -> default_value("") , "b-tagging efficiencies in root file")
67  ("Corrections.Jets.bRegression" , po::value <bool> (&bregression_) -> default_value(false) , "Apply b jet energy regression")
68  ("Corrections.force" , po::value <bool> (&apply_correct_) -> default_value(false) , "Apply corrections internally when above are defined");
69 
70  // jets
71  opt_cfg_.add_options()
72  ("Jets.ptMin" , po::value <std::vector<float> > (&jetsptmin_) -> multitoken() , "Mimium pt of the jets")
73  ("Jets.ptMax" , po::value <std::vector<float> > (&jetsptmax_) -> multitoken() , "Maximum pt of the jets")
74  ("Jets.etaMax" , po::value <std::vector<float> > (&jetsetamax_) -> multitoken() , "Maximum |eta| of the jets")
75  ("Jets.jets" , po::value <std::string> (&jetsCol_) -> default_value("") , "Name of the jets collection")
76  ("Jets.id" , po::value <std::string> (&jetsid_) -> default_value("tight") , "Jets id criteria for all jets")
77  ("Jets.puId" , po::value <std::string> (&jetspuid_) -> default_value("loose") , "Jets pileup id criteria for all jets")
78  ("Jets.extendedFlavour" , po::value <bool> (&usejetsextflv_) -> default_value(false) , "For splitting results accoding to jet extended flavour")
79  ("Jets.n" , po::value <int> (&njets_) -> default_value(-1) , "Minimum number of jets")
80  ("Jets.nMin" , po::value <int> (&njetsmin_) -> default_value(0) , "Minimum number of jets")
81  ("Jets.nMax" , po::value <int> (&njetsmax_) -> default_value(-1) , "Maximum number of jets")
82  ("Jets.dRMin" , po::value <float> (&jetsdrmin_) -> default_value(-1.) , "Minimum delta R between jets")
83  ("Jets.dRMax" , po::value <float> (&jetsdrmax_) -> default_value(-1.) , "Maximum delta R between jets")
84  ("Jets.dEtaMax" , po::value <float> (&jetsdetamax_) -> default_value(-1.) , "Maximum delta eta between jets")
85  ("Jets.dEtaMin" , po::value <float> (&jetsdetamin_) -> default_value(-1.) , "Minimum delta eta between jets")
86  ("Jets.dPhiMin" , po::value <float> (&jetsdphimin_) -> default_value(-1.) , "Minimum delta phi between jets")
87  ("Jets.dPhiMax" , po::value <float> (&jetsdphimax_) -> default_value(-1.) , "Maximum delta phi between jets");
88 
89  // histograms
90  opt_cfg_.add_options()
91  ("Histograms.Jets.splitRegions" , po::value <bool> (&histjets_rsplit_) -> default_value(false) , "Split jets histograms into barrel, barrel-endcap overlap, endcap")
92  ("Histograms.Jets.flavour" , po::value <bool> (&histjets_flavour_)-> default_value(false) , "Split jets histograms per flavour");
93 
94 
95  // dijets
96  opt_cfg_.add_options()
97  ("Dijets.dijets" , po::value <bool> (&dodijet_ ) -> default_value(false) , "Combine all jets in dijet objects")
98  ("Dijets.ranks" , po::value<std::vector<int> > (&dijet_ranks_) -> multitoken() , "Ranks of the jets to construct and select the diject");
99 
100  // btagging
101  opt_cfg_.add_options()
102  ("BTag.wp" , po::value <std::vector<std::string> > (&jetsbtagwp_) -> multitoken() ,"Jets btag minimum (with '-' means maximum)")
103  ("BTag.algorithm" , po::value <std::string> (&btagalgo_) -> default_value("csvivf") ,"BTag algorithm")
104  ("BTag.loose" , po::value <float> (&btagwploose_) -> default_value(-10000) ,"BTag working point LOOSE")
105  ("BTag.medium" , po::value <float> (&btagwpmedium_) -> default_value(-10000) ,"BTag working point MEDIUM")
106  ("BTag.tight" , po::value <float> (&btagwptight_) -> default_value(-10000) ,"BTag working point TIGHT")
107  ("BTag.user" , po::value <float> (&btagwpxxx_) -> default_value(-10000) ,"BTag working point USER-defined")
108  ("BTag.nMin" , po::value <int> (&nbjetsmin_) -> default_value(-1) ,"Minimum number of btgaged jets")
109  ("BTag.revWP" , po::value <std::string> (&revbtagwp_) -> default_value("") ,"non-Btag working point")
110  ("BTag.revBJet" , po::value <int> (&revbtagjet_) -> default_value(-1) ,"non-Btag Jet");
111 
112  // muons
113  opt_cfg_.add_options()
114  ("Muons.ptMin" , po::value<std::vector<float> > (&muonsptmin_) -> multitoken() , "Mimium pt of the muons")
115  ("Muons.ptMax" , po::value<std::vector<float> > (&muonsptmax_) -> multitoken() , "Maximum pt of the muons")
116  ("Muons.etaMax" , po::value<std::vector<float> > (&muonsetamax_) -> multitoken() , "Maximum |eta| of the muons")
117  ("Muons.muons" , po::value <std::string> (&muonsCol_) -> default_value("") , "Name of the muons collection")
118  ("Muons.id" , po::value <std::string> (&muonsid_) -> default_value("LOOSE") , "muons id criteria for all muons")
119  ("Muons.nMin" , po::value <int> (&nmuonsmin_) -> default_value(0) , "Minimum number of muons")
120  ("Muons.nMax" , po::value <int> (&nmuonsmax_) -> default_value(-1) , "Maximum number of muons")
121  ("Muons.dRMin" , po::value <float> (&muonsdrmin_) -> default_value(-1.) , "Minimum delta R between muons")
122  ("Muons.dRMax" , po::value <float> (&muonsdrmax_) -> default_value(-1.) , "Maximum delta R between muons");
123 
124  // trigger
125  opt_cfg_.add_options()
126  ("Trigger.hltPath" , po::value <std::string> (&hltPath_) -> default_value("") , "HLT path name")
127  ("Trigger.l1Seed" , po::value <std::string> (&l1Seed_) -> default_value("") , "L1 seed name")
128  ("Trigger.results" , po::value <std::string> (&triggerCol_) -> default_value("TriggerResults") , "Name of the trigger results collection");
129 
130  // L1 muontrigger emulation
131  opt_cfg_.add_options()
132  ("Trigger.Emulate.Muons.L1.seed" , po::value <std::string> (&l1muonemul_) -> default_value("") , "Name of emulated L1 muon trigger")
133  ("Trigger.Emulate.Muons.L1.nMin" , po::value <int> (&l1muonemulnmin_) -> default_value(-1) , "Minimum number of emulated L1 muon trigger objects")
134  ("Trigger.Emulate.Muons.L1.ptMin" , po::value <float> (&l1muonemulptmin_) -> default_value(0) , "Minimum pt of emulated L1 muon trigger objects")
135  ("Trigger.Emulate.Muons.L1.etaMax" , po::value <float> (&l1muonemuletamax_) -> default_value(10) , "Maximum |eta|s of emulated L1 muon trigger objects");
136 
137  // L3 muontrigger emulation
138  opt_cfg_.add_options()
139  ("Trigger.Emulate.Muons.L3.path" , po::value <std::string> (&l3muonemul_) -> default_value("") , "Name of emulated L3 muon trigger")
140  ("Trigger.Emulate.Muons.L3.nMin" , po::value <int> (&l3muonemulnmin_) -> default_value(-1) , "Minimum number of emulated L3 muon trigger objects")
141  ("Trigger.Emulate.Muons.L3.ptMin" , po::value <float> (&l3muonemulptmin_) -> default_value(0) , "Minimum pt of emulated L3 muon trigger objects")
142  ("Trigger.Emulate.Muons.L3.etaMax" , po::value <float> (&l3muonemuletamax_) -> default_value(10) , "Maximum |eta|s of emulated L3 muon trigger objects");
143 
144  // L1 jettrigger emulation
145  opt_cfg_.add_options()
146  ("Trigger.Emulate.Jets.L1.seed" , po::value <std::string> (&l1jetemul_) -> default_value("") , "Name of emulated L1 Jet trigger")
147  ("Trigger.Emulate.Jets.L1.nMin" , po::value <int> (&l1jetemulnmin_) -> default_value(-1) , "Minimum number of emulated L1 Jet trigger objects")
148  ("Trigger.Emulate.Jets.L1.ptMin" , po::value <float> (&l1jetemulptmin_) -> default_value(0) , "Minimum pt of emulated L1 Jet trigger objects")
149  ("Trigger.Emulate.Jets.L1.etaMax" , po::value <float> (&l1jetemuletamax_) -> default_value(10) , "Maximum |eta|s of emulated L1 Jet trigger objects");
150 
151  // Calo jettrigger emulation
152  opt_cfg_.add_options()
153  ("Trigger.Emulate.Jets.Calo.path" , po::value <std::string> (&calojetemul_) -> default_value("") , "Name of emulated Calo Jet trigger")
154  ("Trigger.Emulate.Jets.Calo.nMin" , po::value <int> (&calojetemulnmin_) -> default_value(-1) , "Minimum number of emulated Calo Jet trigger objects")
155  ("Trigger.Emulate.Jets.Calo.ptMin" , po::value <float> (&calojetemulptmin_) -> default_value(0) , "Minimum pt of emulated Calo Jet trigger objects")
156  ("Trigger.Emulate.Jets.Calo.etaMax" , po::value <float> (&calojetemuletamax_) -> default_value(10) , "Maximum |eta|s of emulated Calo Jet trigger objects");
157 
158  // PF jettrigger emulation
159  opt_cfg_.add_options()
160  ("Trigger.Emulate.Jets.PF.path" , po::value <std::string> (&pfjetemul_) -> default_value("") , "Name of emulated PF Jet trigger")
161  ("Trigger.Emulate.Jets.PF.nMin" , po::value <int> (&pfjetemulnmin_) -> default_value(-1) , "Minimum number of emulated PF Jet trigger objects")
162  ("Trigger.Emulate.Jets.PF.ptMin" , po::value <float> (&pfjetemulptmin_) -> default_value(0) , "Minimum pt of emulated PF Jet trigger objects")
163  ("Trigger.Emulate.Jets.PF.etaMax" , po::value <float> (&pfjetemuletamax_) -> default_value(10) , "Maximum |eta|s of emulated PF Jet trigger objects");
164 
165  // trigger objects
166  opt_cfg_.add_options()
167  ("Trigger.Objects.directory" , po::value<std::string> (&triggerObjDir_) -> default_value("slimmedPatTrigger"), "Name of the trigger objects directory")
168  ("Trigger.Objects.BTag.Calo" , po::value<std::string> (&trgObjsBJets_) -> default_value("") , "Trigger objects for btag jets")
169  ("Trigger.Objects.Jets.L1" , po::value<std::string> (&trgObjsL1Jets_) -> default_value("") , "Trigger objects for L1 jets")
170  ("Trigger.Objects.Jets.Calo" , po::value<std::string> (&trgObjsCaloJets_) -> default_value("") , "Trigger objects for Calo jets")
171  ("Trigger.Objects.Jets.PF" , po::value<std::string> (&trgObjsPFJets_) -> default_value("") , "Trigger objects for PF jets")
172  ("Trigger.Objects.Muons.L1" , po::value<std::string> (&trgObjsL1Muons_) -> default_value("") , "Trigger objects for L1 muons")
173  ("Trigger.Objects.Muons.L3" , po::value<std::string> (&trgObjsL3Muons_) -> default_value("") , "Trigger objects for L3 muons")
174  ("Trigger.Objects.BTag.Calo.MatchDeltaR" , po::value<float> (&matchTrgCaloBJetsDrMax_) -> default_value(0.3) , "Max deltaR for btag jets")
175  ("Trigger.Objects.Jets.L1.MatchDeltaR" , po::value<float> (&matchTrgL1JetsDrMax_) -> default_value(0.3) , "Max deltaR for L1 jets")
176  ("Trigger.Objects.Jets.Calo.MatchDeltaR" , po::value<float> (&matchTrgCaloJetsDrMax_) -> default_value(0.3) , "Max deltaR for Calo jets")
177  ("Trigger.Objects.Jets.PF.MatchDeltaR" , po::value<float> (&matchTrgPFJetsDrMax_) -> default_value(0.3) , "Max deltaR for PF jets")
178  ("Trigger.Objects.Muons.L1.MatchDeltaR" , po::value<float> (&matchTrgL1MuonsDrMax_) -> default_value(0.3) , "Max deltaR for L1 muons match")
179  ("Trigger.Objects.Muons.L3.MatchDeltaR" , po::value<float> (&matchTrgL3MuonsDrMax_) -> default_value(0.3) , "Max deltaR for L3 muons match");
180 
181  // L1 trigger
182  opt_cfg_.add_options()
183  ("Trigger.L1T.Jets" , po::value <std::string> (&l1tjetsCol_) -> default_value("") , "Name of the L1T jets collection")
184  ("Trigger.L1T.Muons" , po::value <std::string> (&l1tmuonsCol_) -> default_value("") , "Name of the L1T muons collection");
185 
186  // generator level
187  opt_cfg_.add_options()
188  ("Generator.genParticles" , po::value <std::string> (&genpartsCol_) -> default_value("") , "Name of the gen particle collection")
189  ("Generator.genJets" , po::value <std::string> (&genjetsCol_) -> default_value("") , "Name of the gen jets collection");
190 
191 
192  // general
193  opt_cfg_.add_options()
194  ("User.doTree" , po::value <bool> (&do_tree_) -> default_value(false) , "Flag for output")
195  ("User.override" , po::value <bool> (&override_) -> default_value(false) , "Flag to be used to override procedure, e.g. a selection")
196  ("User.dRMin" , po::value <float> (&drmin_) -> default_value(-1.) , "Minimum delta R between candidates")
197  ("User.dRMax" , po::value <float> (&drmax_) -> default_value(-1.) , "Maximum delta R between candidates")
198  ("User.dEtaMax" , po::value <float> (&detamax_) -> default_value(-1.) , "Maximum delta eta between candidates")
199  ("User.dEtaMin" , po::value <float> (&detamin_) -> default_value(-1.) , "Minimum delta eta between candidates")
200  ("User.dPhiMin" , po::value <float> (&dphimin_) -> default_value(-1.) , "Minimum delta phi between candidates")
201  ("User.dPhiMax" , po::value <float> (&dphimax_) -> default_value(-1.) , "Maximum delta phi between candidates")
202  ("User.massMin" , po::value <float> (&massmin_) -> default_value(-1.) , "Cut on a mass, min value")
203  ("User.massMax" , po::value <float> (&massmax_) -> default_value(-1.) , "Cut on a mass, max value")
204  ("User.min" , po::value <float> (&min_) -> default_value(-1.) , "some minimum value")
205  ("User.max" , po::value <float> (&max_) -> default_value(-1.) , "some maximum value")
206  ("User.scale" , po::value <float> (&scale_) -> default_value(-1.) , "Overall scale for histograms")
207  ("User.workflow" , po::value <int> (&workflow_) -> default_value(1) , "Workflow index defined by user")
208  ("User.prescale" , po::value <int> (&prescale_) -> default_value(1) , "Prescale factor")
209  ("User.n" , po::value <int> (&n_) -> default_value(-1) , "Some integer")
210  ("User.index" , po::value <int> (&index_) -> default_value(-1) , "Some User index for user");
211 
212  // others
213  opt_cfg_.add_options()
214  ("nMin",po::value <int> (&nmin_)->default_value(0),"Minimum number objects")
215  ("nMax",po::value <int> (&nmax_)->default_value(0),"Maximum number objects")
216  ("ptMin", po::value<std::vector<float> >(&ptmin_)->multitoken(),"Mimium pt of an object")
217  ("ptMax", po::value<std::vector<float> >(&ptmax_)->multitoken(),"Maximum pt of an object")
218  ("etaMax", po::value<std::vector<float> >(&etamax_)->multitoken(),"Maximum |eta| of an object")
219  ("ptImbalanceMin",po::value <float> (&jetsptimbalmin_)->default_value(-1),"Minimum relative imbalance between two candidates")
220  ("ptImbalanceMax",po::value <float> (&jetsptimbalmax_)->default_value(-1),"Maximum relative imbalance between two candidates");
221 
222 
223  opt_cfg_.add_options()
224  ("qgMin", po::value<std::vector<float> >(&qgmin_)->multitoken(),"Minimum value for q-g likelihood")
225  ("qgMax", po::value<std::vector<float> >(&qgmax_)->multitoken(),"Maximum value for q-g likelihood")
226  ("jetsBtagMin", po::value<std::vector<float> >(&jetsbtagmin_)->multitoken(),"Minimum btag of the jets; if < 0 -> reverse btag")
227  ("jetsBtagProbB", po::value<std::vector<float> >(&jetsbtagprobb_)->multitoken(),"Maximum (minimum) btag prob b of the jets if >0 (<0)")
228  ("jetsBtagProbBB", po::value<std::vector<float> >(&jetsbtagprobbb_)->multitoken(),"Maximum (minimum) btag prob bb of the jets if >0 (<0)")
229  ("jetsBtagProbLepB", po::value<std::vector<float> >(&jetsbtagproblepb_)->multitoken(),"Maximum (minimum) btag prob lepb of the jets if >0 (<0)")
230  ("jetsBtagProbC", po::value<std::vector<float> >(&jetsbtagprobc_)->multitoken(),"Maximum (minimum) btag prob c of the jets if >0 (<0)")
231  ("jetsBtagProbG", po::value<std::vector<float> >(&jetsbtagprobg_)->multitoken(),"Maximum (minimum) btag prob g of the jets if >0 (<0)")
232  ("jetsBtagProbLight", po::value<std::vector<float> >(&jetsbtagproblight_)->multitoken(),"Maximum (minimum) btag prob light of the jets if >0 (<0)");
233 
234  opt_cfg_.add_options()
235  ("triggerMatchDeltaRMax",po::value <float> (&trgmatchdrmax_)->default_value(0.3),"DeltaR max for matching online-offline");
236 
237  // AI
238  opt_cfg_.add_options()
239  ("variablesFloatAI", po::value<std::vector<std::string> >(&varsf_ai_)->multitoken(),"Float variables names for AI(TMVA)")
240  ("variablesIntAI", po::value<std::vector<std::string> >(&varsi_ai_)->multitoken(),"Integer variables names for AI(TMVA)")
241  ("directoryAI",po::value <std::string> (&dir_ai_)->default_value(""),"Directory with weights for AI(TMVA)")
242  ("methodAI",po::value <std::string> (&method_ai_)->default_value(""),"Method AI(TMVA)")
243  ("efficiencyMinAI",po::value <float> (&eff_min_ai_)->default_value(-1.),"Min value for AI Cuts efficiency")
244  ("discriminatorMaxAI",po::value <float> (&disc_max_ai_)->default_value(-1001.),"Max value for AI discriminator")
245  ("discriminatorMinAI",po::value <float> (&disc_min_ai_)->default_value(-1001.),"Min value for AI discriminator");
246 
247  opt_cfg_.add_options()
248  ("crossSectionTree",po::value <std::string> (&xsectiontree_)->default_value(""),"Tree containing cross sections")
249  ("crossSectionType",po::value <std::string> (&xsectiontype_)->default_value("crossSection"),"Type of cross section")
250  ("crossSection",po::value <float> (&xsection_)->default_value(-1.), "Cross section")
251  ("luminosity",po::value <float> (&lumi_)->default_value(-1.), "Luminosity in pb-1 to scale histograms")
252  ("nLumiSections",po::value <int> (&nlumis_)->default_value(-1), "Number of lumi sections processed")
253  ("runMin",po::value <int> (&runmin_)->default_value(-1), "Minimum run number")
254  ("runMax",po::value <int> (&runmax_)->default_value(-1), "Maximum run number")
255  ("pythia8",po::value <bool> (&pythia8_)->default_value(true),"Flag for Pythia8 or other recent generators MC")
256  ("erasLumi", po::value<std::vector<float> >(&eraslumi_)->multitoken(),"Lumi of an era")
257  ("eras", po::value<std::vector<std::string> >(&eras_)->multitoken(),"Era of data taking");
258 
259 
260 
261  po::variables_map vm;
262  try
263  {
264  po::store(po::parse_command_line(argc, argv, opt_cmd_), vm); // can throw
265  // --help option
266 
267  if ( vm.count("help") )
268  {
269  std::cout << "SimpleBjetsAnalysis macro" << std::endl
270  << opt_cmd_ << std::endl
271  << opt_cfg_ << std::endl;
272  }
273  po::notify(vm);
274 
275  std::ifstream cfg_s(cfg_.c_str());
276  po::store(po::parse_config_file(cfg_s, opt_cfg_), vm); // can throw
277  if ( vm.count("config") )
278  {
279 
280  }
281  po::notify(vm);
282  boost::algorithm::to_lower(jetsid_);
283  std::transform(btagalgo_.begin(), btagalgo_.end(), btagalgo_.begin(), ::tolower);
284 
285 // inputlist_ = Form("%s/test/%s", toolspath.c_str(), inputlist_.c_str());
286  if ( inputlist_.rfind("tools:",0) == 0 )
287  {
288  inputlist_.replace(0,6,ntuplepath+"/");
289  }
290  if ( json_ != "no_json.txt" && json_.rfind("tools:",0) == 0 ) json_.replace(0,6,calibpath+"/");
291  if ( jerptres_ != "" && jerptres_.rfind("tools:",0) == 0 ) jerptres_.replace(0,6,calibpath+"/");
292  if ( jersf_ != "" && jersf_.rfind("tools:",0) == 0 ) jersf_.replace(0,6,calibpath+"/");
293  if ( btagsf_ != "" && btagsf_.rfind("tools:",0) == 0 ) btagsf_.replace(0,6,calibpath+"/");
294  if ( btageff_ != "" && btageff_.rfind("tools:",0) == 0 ) btageff_.replace(0,6,calibpath+"/");
295  if ( puweight_ != "" && puweight_.rfind("tools:",0) == 0 ) puweight_.replace(0,6,calibpath+"/");
296 
297  eventinfo_ = Form("%s/%s/%s" , process_.c_str(), eventsdir_.c_str() , eventinfo_.c_str() );
298  triggerCol_ = Form("%s/%s/%s" , process_.c_str(), eventsdir_.c_str() , triggerCol_.c_str() );
299  triggerObjDir_ = Form("%s/%s/%s" , process_.c_str(), eventsdir_.c_str() , triggerObjDir_.c_str() );
300  if ( jetsCol_ != "" )
301  jetsCol_ = Form("%s/%s/%s" , process_.c_str(), eventsdir_.c_str() , jetsCol_.c_str() );
302  if ( muonsCol_ != "" )
303  muonsCol_ = Form("%s/%s/%s" , process_.c_str(), eventsdir_.c_str() , muonsCol_.c_str() );
304  if ( genpartsCol_ != "" )
305  genpartsCol_ = Form("%s/%s/%s" , process_.c_str(), eventsdir_.c_str() , genpartsCol_.c_str() );
306  if ( genjetsCol_ != "" )
307  genjetsCol_ = Form("%s/%s/%s" , process_.c_str(), eventsdir_.c_str() , genjetsCol_.c_str() );
308  if ( l1tjetsCol_ != "")
309  l1tjetsCol_ = Form("%s/%s/%s" , process_.c_str(), eventsdir_.c_str() , l1tjetsCol_.c_str() );
310  if ( l1tmuonsCol_ != "")
311  l1tmuonsCol_ = Form("%s/%s/%s" , process_.c_str(), eventsdir_.c_str() , l1tmuonsCol_.c_str() );
312 
313  if ( njetsmax_ < njetsmin_ ) njetsmax_ = -1;
314  if ( njetsmin_ < 0 && njetsmax_ > 0 ) njetsmin_ = 0;
315 
316  if ( njets_ >= 0 )
317  {
318  njetsmin_ = njets_;
319  njetsmax_ = njets_;
320  }
321  }
322  catch(po::error& e)
323  {
324  std::cerr << "ERROR: " << e.what() << std::endl << std::endl;
325  std::cerr << opt_cmd_ << std::endl;
326  throw std::exception();
327  }
328 
329  }
330  catch(std::exception& e)
331  {
332  std::cerr << "ERROR: " << e.what() << std::endl << std::endl;
333  throw std::exception();
334  }
335 
336 }
std::string eventsdir_
Definition: Config.h:300
std::string btageff_
Definition: Config.h:464
std::string inputlist_
Definition: Config.h:297
std::string eventinfo_
Definition: Config.h:298
std::vector< float > jetsbtagprobg_
Definition: Config.h:382
std::vector< float > jetsptmax_
Definition: Config.h:342
std::string triggerObjDir_
Definition: Config.h:406
std::string dir_ai_
Definition: Config.h:474
std::vector< float > jetsbtagproblepb_
Definition: Config.h:380
std::string calojetemul_
Calo jet trigger emulation.
Definition: Config.h:433
float matchTrgPFJetsDrMax_
Definition: Config.h:448
float matchTrgCaloJetsDrMax_
Definition: Config.h:447
std::string l3muonemul_
L3 muon trigger emulation.
Definition: Config.h:421
float matchTrgCaloBJetsDrMax_
Definition: Config.h:449
std::string trgObjsL3Muons_
Definition: Config.h:408
std::vector< std::string > eras_
Definition: Config.h:324
std::string jetsCol_
Definition: Config.h:337
std::vector< float > jetsptmin_
Definition: Config.h:341
std::string trgObjsL1Muons_
Definition: Config.h:407
std::string outputRoot_
Definition: Config.h:488
std::vector< std::string > varsi_ai_
Definition: Config.h:473
std::string muonsid_
Definition: Config.h:401
float matchTrgL1JetsDrMax_
Definition: Config.h:446
std::vector< float > muonsetamax_
Definition: Config.h:400
float matchTrgL3MuonsDrMax_
Definition: Config.h:445
std::string hltPath_
Definition: Config.h:282
std::string method_ai_
Definition: Config.h:475
std::vector< float > qgmax_
Definition: Config.h:348
std::vector< int > dijet_ranks_
Definition: Config.h:389
std::string xsectiontree_
Definition: Config.h:301
std::vector< float > jetsbtagmin_
Definition: Config.h:264
std::vector< float > muonsptmin_
Definition: Config.h:398
std::vector< std::string > jetsbtagwp_
Definition: Config.h:374
std::string l1tmuonsCol_
Definition: Config.h:402
std::string genjetsCol_
Definition: Config.h:452
float matchTrgL1MuonsDrMax_
Definition: Config.h:444
std::string jersf_
Definition: Config.h:365
std::string jetspuid_
Definition: Config.h:345
std::string cfg_
Definition: Config.h:291
std::string btagalgo_
Definition: Config.h:370
std::string json_
Definition: Config.h:489
po::options_description opt_cmd_
Definition: Config.h:293
std::vector< float > jetsbtagproblight_
Definition: Config.h:383
std::string trgObjsCaloJets_
Definition: Config.h:411
std::vector< float > eraslumi_
Definition: Config.h:325
std::string triggerCol_
Definition: Config.h:405
std::string l1Seed_
Definition: Config.h:283
std::vector< float > jetsbtagprobc_
Definition: Config.h:381
std::vector< float > jetsbtagprobb_
Definition: Config.h:378
std::vector< float > ptmin_
Definition: Config.h:269
std::string puweight_
Definition: Config.h:327
std::string l1tjetsCol_
Definition: Config.h:367
std::vector< std::string > varsf_ai_
Definition: Config.h:472
std::string btagsf_
Definition: Config.h:371
std::string process_
Definition: Config.h:299
std::string trgObjsL1Jets_
Definition: Config.h:410
std::vector< float > muonsptmax_
Definition: Config.h:399
std::string jetsid_
Definition: Config.h:344
std::string revbtagwp_
Definition: Config.h:375
std::string l1jetemul_
L1 jet trigger emulation.
Definition: Config.h:427
std::string jerptres_
Definition: Config.h:364
std::string pfjetemul_
PF jet trigger emulation.
Definition: Config.h:439
po::options_description opt_cfg_
Definition: Config.h:294
std::string l1muonemul_
L1 muon trigger emulation.
Definition: Config.h:415
std::string seedfile_
Definition: Config.h:318
std::string trgObjsBJets_
Definition: Config.h:409
std::string xsectiontype_
Definition: Config.h:302
std::vector< float > jetsetamax_
Definition: Config.h:343
std::vector< float > qgmin_
Definition: Config.h:347
std::string trgObjsPFJets_
Definition: Config.h:412
std::string muonsCol_
Definition: Config.h:395
std::vector< float > ptmax_
Definition: Config.h:270
std::vector< float > jetsbtagprobbb_
Definition: Config.h:379
std::vector< float > etamax_
Definition: Config.h:271
std::string genpartsCol_
Definition: Config.h:453
Config::~Config ( )

desctructor

Definition at line 338 of file Config.cc.

339 {
340  // do anything here that needs to be done at desctruction time
341  // (e.g. close files, deallocate resources etc.)
342 }

Member Function Documentation

bool Config::blind ( ) const

Definition at line 386 of file Config.cc.

References blind_.

386 { return blind_; }
bool Config::bRegression ( ) const

Definition at line 424 of file Config.cc.

References bregression_.

424 { return bregression_; }
std::string Config::btagAlgorithm ( ) const

Definition at line 415 of file Config.cc.

References btagalgo_.

415 { return btagalgo_; }
std::string btagalgo_
Definition: Config.h:370
std::string Config::btagEfficiencies ( ) const

Definition at line 488 of file Config.cc.

References btageff_.

488 { return btageff_; }
std::string btageff_
Definition: Config.h:464
std::string Config::btagScaleFactors ( ) const

Definition at line 416 of file Config.cc.

References btagsf_.

416 { return btagsf_; }
std::string btagsf_
Definition: Config.h:371
float Config::btagWP ( const std::string &  wp) const

Definition at line 489 of file Config.cc.

References btagwploose_, btagwpmedium_, btagwptight_, and btagwpxxx_.

490 {
491  if ( wp == "loose" ) return btagwploose_ ;
492  if ( wp == "medium" ) return btagwpmedium_;
493  if ( wp == "tight" ) return btagwptight_ ;
494  if ( wp == "xxx" ) return btagwpxxx_;
495 
496  return -100.;
497 }
std::string Config::configFile ( ) const

Definition at line 374 of file Config.cc.

References cfg_.

374 { return cfg_; }
std::string cfg_
Definition: Config.h:291
float Config::crossSection ( ) const

Definition at line 381 of file Config.cc.

References xsection_.

381 { return xsection_; }
std::string Config::crossSectionTree ( ) const

Definition at line 379 of file Config.cc.

References xsectiontree_.

379 { return xsectiontree_; }
std::string xsectiontree_
Definition: Config.h:301
std::string Config::crossSectionType ( ) const

Definition at line 380 of file Config.cc.

References xsectiontype_.

380 { return xsectiontype_; }
std::string xsectiontype_
Definition: Config.h:302
std::string Config::directoryAI ( ) const

Definition at line 510 of file Config.cc.

References dir_ai_.

510 { return dir_ai_ ; }
std::string dir_ai_
Definition: Config.h:474
float Config::discriminatorMaxAI ( ) const

Definition at line 512 of file Config.cc.

References disc_max_ai_.

512 { return disc_max_ai_; }
float Config::discriminatorMinAI ( ) const

Definition at line 513 of file Config.cc.

References disc_min_ai_.

513 { return disc_min_ai_; }
bool Config::doDijet ( ) const

Definition at line 428 of file Config.cc.

References dodijet_.

428 { return dodijet_ ; }
bool analysis::tools::Config::doDijetFlavour ( ) const
bool Config::doTree ( ) const

Definition at line 517 of file Config.cc.

References do_tree_.

517 { return do_tree_; }
float Config::efficiencyMinAI ( ) const

Definition at line 514 of file Config.cc.

References eff_min_ai_.

514 { return eff_min_ai_ ; }
std::vector< std::string > Config::eras ( ) const

Definition at line 393 of file Config.cc.

References eras_.

393 { return eras_; }
std::vector< std::string > eras_
Definition: Config.h:324
std::vector< float > Config::erasLumi ( ) const

Definition at line 392 of file Config.cc.

References eraslumi_.

392 { return eraslumi_; }
std::vector< float > eraslumi_
Definition: Config.h:325
std::string Config::eventInfo ( ) const

Definition at line 378 of file Config.cc.

References eventinfo_.

378 { return eventinfo_; }
std::string eventinfo_
Definition: Config.h:298
std::string Config::eventsDir ( ) const

Definition at line 397 of file Config.cc.

References eventsdir_.

397 { return eventsdir_; }
std::string eventsdir_
Definition: Config.h:300
bool Config::fullGenWeight ( ) const

Definition at line 388 of file Config.cc.

References fullgenweight_.

388 { return fullgenweight_; }
std::string Config::genJetsCollection ( ) const

Definition at line 478 of file Config.cc.

References genjetsCol_.

478 { return genjetsCol_; }
std::string genjetsCol_
Definition: Config.h:452
std::string Config::genParticlesCollection ( ) const

Definition at line 479 of file Config.cc.

References genpartsCol_.

479 { return genpartsCol_; }
std::string genpartsCol_
Definition: Config.h:453
bool Config::histogramJetsPerFlavour ( ) const

Definition at line 527 of file Config.cc.

References histjets_flavour_.

527 { return histjets_flavour_ ; }
bool Config::histogramJetsRegionSplit ( ) const

Definition at line 526 of file Config.cc.

References histjets_rsplit_.

526 { return histjets_rsplit_ ; }
int Config::index ( ) const

Definition at line 390 of file Config.cc.

References index_.

390 { return index_; }
bool Config::isMC ( ) const

Definition at line 384 of file Config.cc.

References isMC_.

384 { return isMC_; }
std::string Config::jerPtRes ( ) const

Definition at line 412 of file Config.cc.

References jerptres_.

412 { return jerptres_; }
std::string jerptres_
Definition: Config.h:364
std::string Config::jerSF ( ) const

Definition at line 413 of file Config.cc.

References jersf_.

413 { return jersf_; }
std::string jersf_
Definition: Config.h:365
std::vector< float > Config::jetsBtagProbB ( ) const

Definition at line 418 of file Config.cc.

References jetsbtagprobb_.

418 { return jetsbtagprobb_; }
std::vector< float > jetsbtagprobb_
Definition: Config.h:378
std::vector< float > Config::jetsBtagProbBB ( ) const

Definition at line 419 of file Config.cc.

References jetsbtagprobbb_.

419 { return jetsbtagprobbb_; }
std::vector< float > jetsbtagprobbb_
Definition: Config.h:379
std::vector< float > Config::jetsBtagProbC ( ) const

Definition at line 421 of file Config.cc.

References jetsbtagprobc_.

421 { return jetsbtagprobc_; }
std::vector< float > jetsbtagprobc_
Definition: Config.h:381
std::vector< float > Config::jetsBtagProbG ( ) const

Definition at line 422 of file Config.cc.

References jetsbtagprobg_.

422 { return jetsbtagprobg_; }
std::vector< float > jetsbtagprobg_
Definition: Config.h:382
std::vector< float > Config::jetsBtagProbLepB ( ) const

Definition at line 420 of file Config.cc.

References jetsbtagproblepb_.

420 { return jetsbtagproblepb_; }
std::vector< float > jetsbtagproblepb_
Definition: Config.h:380
std::vector< float > Config::jetsBtagProbLight ( ) const

Definition at line 423 of file Config.cc.

References jetsbtagproblight_.

423 { return jetsbtagproblight_; }
std::vector< float > jetsbtagproblight_
Definition: Config.h:383
std::vector< std::string > Config::jetsBtagWP ( ) const

Definition at line 417 of file Config.cc.

References jetsbtagwp_.

417 { return jetsbtagwp_; }
std::vector< std::string > jetsbtagwp_
Definition: Config.h:374
std::string Config::jetsCollection ( ) const

Definition at line 403 of file Config.cc.

References jetsCol_.

403 { return jetsCol_; }
std::string jetsCol_
Definition: Config.h:337
float Config::jetsDetaMax ( ) const

Definition at line 435 of file Config.cc.

References jetsdetamax_.

435 { return jetsdetamax_; }
float Config::jetsDetaMin ( ) const

Definition at line 436 of file Config.cc.

References jetsdetamin_.

436 { return jetsdetamin_; }
float Config::jetsDphiMax ( ) const

Definition at line 437 of file Config.cc.

References jetsdphimax_.

437 { return jetsdphimax_; }
float Config::jetsDphiMin ( ) const

Definition at line 438 of file Config.cc.

References jetsdphimin_.

438 { return jetsdphimin_; }
float Config::jetsDrMax ( ) const

Definition at line 439 of file Config.cc.

References jetsdrmax_.

439 { return jetsdrmax_; }
float Config::jetsDrMin ( ) const

Definition at line 440 of file Config.cc.

References jetsdrmin_.

440 { return jetsdrmin_; }
std::vector< float > Config::jetsEtaMax ( ) const

Definition at line 409 of file Config.cc.

References jetsetamax_.

409 { return jetsetamax_; }
std::vector< float > jetsetamax_
Definition: Config.h:343
std::string Config::jetsId ( ) const

Definition at line 410 of file Config.cc.

References jetsid_.

410 { return jetsid_; }
std::string jetsid_
Definition: Config.h:344
float Config::jetsPtImbalanceMax ( ) const

Definition at line 441 of file Config.cc.

References jetsptimbalmax_.

441 { return jetsptimbalmax_; }
float Config::jetsPtImbalanceMin ( ) const

Definition at line 442 of file Config.cc.

References jetsptimbalmin_.

442 { return jetsptimbalmin_; }
std::vector< float > Config::jetsPtMax ( ) const

Definition at line 408 of file Config.cc.

References jetsptmax_.

408 { return jetsptmax_; }
std::vector< float > jetsptmax_
Definition: Config.h:342
std::vector< float > Config::jetsPtMin ( ) const

Definition at line 407 of file Config.cc.

References jetsptmin_.

407 { return jetsptmin_; }
std::vector< float > jetsptmin_
Definition: Config.h:341
std::string Config::jetsPuId ( ) const

Definition at line 411 of file Config.cc.

References jetspuid_.

411 { return jetspuid_; }
std::string jetspuid_
Definition: Config.h:345
std::vector< float > Config::jetsQGmax ( ) const

Definition at line 432 of file Config.cc.

References qgmax_.

432 { return qgmax_; }
std::vector< float > qgmax_
Definition: Config.h:348
std::vector< float > Config::jetsQGmin ( ) const

Definition at line 431 of file Config.cc.

References qgmin_.

431 { return qgmin_; }
std::vector< float > qgmin_
Definition: Config.h:347
std::string Config::json ( ) const

Definition at line 531 of file Config.cc.

References json_.

531 { return json_ ; }
std::string json_
Definition: Config.h:489
std::string Config::l1tJetsCollection ( ) const

Definition at line 414 of file Config.cc.

References l1tjetsCol_.

414 { return l1tjetsCol_; }
std::string l1tjetsCol_
Definition: Config.h:367
std::string Config::l1tMuonsCollection ( ) const

Definition at line 452 of file Config.cc.

References l1tmuonsCol_.

452 { return l1tmuonsCol_; }
std::string l1tmuonsCol_
Definition: Config.h:402
void Config::loadOptions ( )

Definition at line 361 of file Config.cc.

References argc_, argv_, cfg_, opt_cfg_, and opt_cmd_.

362 {
363  po::variables_map vm;
364  po::store(po::parse_command_line(argc_, argv_, opt_cmd_), vm);
365  po::notify(vm);
366  std::ifstream cfg_s(cfg_.c_str());
367  po::store(po::parse_config_file(cfg_s, opt_cfg_), vm); // can throw
368  po::notify(vm);
369 
370 
371 }
std::string cfg_
Definition: Config.h:291
po::options_description opt_cmd_
Definition: Config.h:293
po::options_description opt_cfg_
Definition: Config.h:294
float Config::luminosity ( ) const

Definition at line 382 of file Config.cc.

References lumi_.

382 { return lumi_; }
float Config::massMax ( ) const

Definition at line 501 of file Config.cc.

References massmax_.

501 { return massmax_; }
float Config::massMin ( ) const

Definition at line 500 of file Config.cc.

References massmin_.

500 { return massmin_; }
float Config::max ( ) const

Definition at line 523 of file Config.cc.

References max_.

523 { return max_; }
std::string Config::methodAI ( ) const

Definition at line 511 of file Config.cc.

References method_ai_.

511 { return method_ai_ ; }
std::string method_ai_
Definition: Config.h:475
float Config::min ( ) const

Definition at line 522 of file Config.cc.

References min_.

522 { return min_; }
std::string Config::muonsCollection ( ) const

Definition at line 445 of file Config.cc.

References muonsCol_.

445 { return muonsCol_; }
std::string muonsCol_
Definition: Config.h:395
float Config::muonsDrMax ( ) const

Definition at line 455 of file Config.cc.

References muonsdrmax_.

455 { return muonsdrmax_; }
float Config::muonsDrMin ( ) const

Definition at line 456 of file Config.cc.

References muonsdrmin_.

456 { return muonsdrmin_; }
std::vector< float > Config::muonsEtaMax ( ) const

Definition at line 450 of file Config.cc.

References muonsetamax_.

450 { return muonsetamax_; }
std::vector< float > muonsetamax_
Definition: Config.h:400
std::string Config::muonsId ( ) const

Definition at line 451 of file Config.cc.

References muonsid_.

451 { return muonsid_; }
std::string muonsid_
Definition: Config.h:401
std::vector< float > Config::muonsPtMax ( ) const

Definition at line 449 of file Config.cc.

References muonsptmax_.

449 { return muonsptmax_; }
std::vector< float > muonsptmax_
Definition: Config.h:399
std::vector< float > Config::muonsPtMin ( ) const

Definition at line 448 of file Config.cc.

References muonsptmin_.

448 { return muonsptmin_; }
std::vector< float > muonsptmin_
Definition: Config.h:398
int Config::n ( ) const

Definition at line 521 of file Config.cc.

References n_.

521 { return n_; }
int Config::nBJetsMin ( ) const

Definition at line 429 of file Config.cc.

References nbjetsmin_.

429 { return nbjetsmin_; }
int Config::nEventsMax ( ) const

Definition at line 383 of file Config.cc.

References nevtmax_.

383 { return nevtmax_; }
int Config::nJets ( ) const

Definition at line 406 of file Config.cc.

References njets_.

406 { return njets_; }
int Config::nJetsMax ( ) const

Definition at line 405 of file Config.cc.

References njetsmax_.

405 { return njetsmax_; }
int Config::nJetsMin ( ) const

Definition at line 404 of file Config.cc.

References njetsmin_.

404 { return njetsmin_; }
bool Config::nlo ( ) const

Definition at line 387 of file Config.cc.

References nlo_.

387 { return nlo_; }
int Config::nMuonsMax ( ) const

Definition at line 447 of file Config.cc.

References nmuonsmax_.

447 { return nmuonsmax_; }
int Config::nMuonsMin ( ) const

Definition at line 446 of file Config.cc.

References nmuonsmin_.

446 { return nmuonsmin_; }
std::string Config::ntuplesList ( ) const

Definition at line 377 of file Config.cc.

References inputlist_.

377 { return inputlist_; }
std::string inputlist_
Definition: Config.h:297
po::options_description & Config::optionsCFG ( )

Definition at line 355 of file Config.cc.

References opt_cfg_.

356 {
357  return opt_cfg_;
358 }
po::options_description opt_cfg_
Definition: Config.h:294
po::options_description & Config::optionsCMD ( )

Definition at line 350 of file Config.cc.

References opt_cmd_.

351 {
352  return opt_cmd_;
353 }
po::options_description opt_cmd_
Definition: Config.h:293
std::string Config::outputRoot ( ) const

Definition at line 530 of file Config.cc.

References outputRoot_.

530 { return outputRoot_ ; }
std::string outputRoot_
Definition: Config.h:488
bool Config::override ( ) const

Definition at line 400 of file Config.cc.

References override_.

400 { return override_; }
std::string Config::pileupWeights ( ) const

Definition at line 394 of file Config.cc.

References puweight_.

394 { return puweight_; }
std::string puweight_
Definition: Config.h:327
int Config::prescale ( ) const

Definition at line 520 of file Config.cc.

References prescale_.

520 { return prescale_; }
std::string Config::process ( ) const

Definition at line 396 of file Config.cc.

References process_.

396 { return process_; }
std::string process_
Definition: Config.h:299
bool Config::pythia8 ( ) const

Definition at line 485 of file Config.cc.

References pythia8_.

485 { return pythia8_; }
int Config::revBtagJet ( ) const

Definition at line 426 of file Config.cc.

References revbtagjet_.

426 { return revbtagjet_; }
std::string Config::revBtagWP ( ) const

Definition at line 425 of file Config.cc.

References revbtagwp_.

425 { return revbtagwp_; }
std::string revbtagwp_
Definition: Config.h:375
float Config::scale ( ) const

Definition at line 391 of file Config.cc.

References scale_.

391 { return scale_; }
int Config::seed ( ) const

Definition at line 483 of file Config.cc.

References seed_.

483 { return seed_; }
std::string Config::seedFile ( ) const

Definition at line 482 of file Config.cc.

References seedfile_.

482 { return seedfile_; }
std::string seedfile_
Definition: Config.h:318
bool Config::signalRegion ( ) const

Definition at line 385 of file Config.cc.

References signalregion_.

385 { return signalregion_; }
std::string Config::triggerEmulateCaloJets ( ) const

Calo jet trigger emulation.

Definition at line 556 of file Config.cc.

References calojetemul_.

556 { return calojetemul_ ; }
std::string calojetemul_
Calo jet trigger emulation.
Definition: Config.h:433
float Config::triggerEmulateCaloJetsEtaMax ( ) const

Definition at line 559 of file Config.cc.

References calojetemuletamax_.

559 { return calojetemuletamax_ ; }
int Config::triggerEmulateCaloJetsNMin ( ) const

Definition at line 557 of file Config.cc.

References calojetemulnmin_.

557 { return calojetemulnmin_ ; }
float Config::triggerEmulateCaloJetsPtMin ( ) const

Definition at line 558 of file Config.cc.

References calojetemulptmin_.

558 { return calojetemulptmin_ ; }
std::string Config::triggerEmulateL1Jets ( ) const

L1 jet trigger emulation.

Definition at line 549 of file Config.cc.

References l1jetemul_.

549 { return l1jetemul_ ; }
std::string l1jetemul_
L1 jet trigger emulation.
Definition: Config.h:427
float Config::triggerEmulateL1JetsEtaMax ( ) const

Definition at line 552 of file Config.cc.

References l1jetemuletamax_.

552 { return l1jetemuletamax_ ; }
int Config::triggerEmulateL1JetsNMin ( ) const

Definition at line 550 of file Config.cc.

References l1jetemulnmin_.

550 { return l1jetemulnmin_ ; }
float Config::triggerEmulateL1JetsPtMin ( ) const

Definition at line 551 of file Config.cc.

References l1jetemulptmin_.

551 { return l1jetemulptmin_ ; }
std::string Config::triggerEmulateL1Muons ( ) const

L1 muon trigger emulation.

Definition at line 535 of file Config.cc.

References l1muonemul_.

535 { return l1muonemul_ ; }
std::string l1muonemul_
L1 muon trigger emulation.
Definition: Config.h:415
float Config::triggerEmulateL1MuonsEtaMax ( ) const

Definition at line 538 of file Config.cc.

References l1muonemuletamax_.

538 { return l1muonemuletamax_ ; }
int Config::triggerEmulateL1MuonsNMin ( ) const

Definition at line 536 of file Config.cc.

References l1muonemulnmin_.

536 { return l1muonemulnmin_ ; }
float Config::triggerEmulateL1MuonsPtMin ( ) const

Definition at line 537 of file Config.cc.

References l1muonemulptmin_.

537 { return l1muonemulptmin_ ; }
std::string Config::triggerEmulateL3Muons ( ) const

L3 muon trigger emulation.

Definition at line 541 of file Config.cc.

References l3muonemul_.

541 { return l3muonemul_ ; }
std::string l3muonemul_
L3 muon trigger emulation.
Definition: Config.h:421
float Config::triggerEmulateL3MuonsEtaMax ( ) const

Definition at line 544 of file Config.cc.

References l3muonemuletamax_.

544 { return l3muonemuletamax_ ; }
int Config::triggerEmulateL3MuonsNMin ( ) const

Definition at line 542 of file Config.cc.

References l3muonemulnmin_.

542 { return l3muonemulnmin_ ; }
float Config::triggerEmulateL3MuonsPtMin ( ) const

Definition at line 543 of file Config.cc.

References l3muonemulptmin_.

543 { return l3muonemulptmin_ ; }
std::string Config::triggerEmulatePFJets ( ) const

PF jet trigger emulation.

Definition at line 562 of file Config.cc.

References pfjetemul_.

562 { return pfjetemul_ ; }
std::string pfjetemul_
PF jet trigger emulation.
Definition: Config.h:439
float Config::triggerEmulatePFJetsEtaMax ( ) const

Definition at line 565 of file Config.cc.

References pfjetemuletamax_.

565 { return pfjetemuletamax_ ; }
int Config::triggerEmulatePFJetsNMin ( ) const

Definition at line 563 of file Config.cc.

References pfjetemulnmin_.

563 { return pfjetemulnmin_ ; }
float Config::triggerEmulatePFJetsPtMin ( ) const

Definition at line 564 of file Config.cc.

References pfjetemulptmin_.

564 { return pfjetemulptmin_ ; }
float Config::triggerMatchCaloBJetsDrMax ( ) const

Definition at line 473 of file Config.cc.

References matchTrgCaloBJetsDrMax_.

473 { return matchTrgCaloBJetsDrMax_; }
float matchTrgCaloBJetsDrMax_
Definition: Config.h:449
float Config::triggerMatchCaloJetsDrMax ( ) const

Definition at line 471 of file Config.cc.

References matchTrgCaloJetsDrMax_.

471 { return matchTrgCaloJetsDrMax_; }
float matchTrgCaloJetsDrMax_
Definition: Config.h:447
float Config::triggerMatchL1JetsDrMax ( ) const

Definition at line 470 of file Config.cc.

References matchTrgL1JetsDrMax_.

470 { return matchTrgL1JetsDrMax_; }
float matchTrgL1JetsDrMax_
Definition: Config.h:446
float Config::triggerMatchL1MuonsDrMax ( ) const

Definition at line 468 of file Config.cc.

References matchTrgL1MuonsDrMax_.

468 { return matchTrgL1MuonsDrMax_; }
float matchTrgL1MuonsDrMax_
Definition: Config.h:444
float Config::triggerMatchL3MuonsDrMax ( ) const

Definition at line 469 of file Config.cc.

References matchTrgL3MuonsDrMax_.

469 { return matchTrgL3MuonsDrMax_; }
float matchTrgL3MuonsDrMax_
Definition: Config.h:445
float Config::triggerMatchPFJetsDrMax ( ) const

Definition at line 472 of file Config.cc.

References matchTrgPFJetsDrMax_.

472 { return matchTrgPFJetsDrMax_; }
float matchTrgPFJetsDrMax_
Definition: Config.h:448
std::string Config::triggerObjectsBJets ( ) const

Definition at line 463 of file Config.cc.

References trgObjsBJets_.

463 { return trgObjsBJets_; }
std::string trgObjsBJets_
Definition: Config.h:409
std::string Config::triggerObjectsCaloJets ( ) const

Definition at line 465 of file Config.cc.

References trgObjsCaloJets_.

465 { return trgObjsCaloJets_; }
std::string trgObjsCaloJets_
Definition: Config.h:411
std::string Config::triggerObjectsDir ( ) const

Definition at line 460 of file Config.cc.

References triggerObjDir_.

460 { return triggerObjDir_; }
std::string triggerObjDir_
Definition: Config.h:406
std::string Config::triggerObjectsL1Jets ( ) const

Definition at line 464 of file Config.cc.

References trgObjsL1Jets_.

464 { return trgObjsL1Jets_; }
std::string trgObjsL1Jets_
Definition: Config.h:410
std::string Config::triggerObjectsL1Muons ( ) const

Definition at line 461 of file Config.cc.

References trgObjsL1Muons_.

461 { return trgObjsL1Muons_; }
std::string trgObjsL1Muons_
Definition: Config.h:407
std::string Config::triggerObjectsL3Muons ( ) const

Definition at line 462 of file Config.cc.

References trgObjsL3Muons_.

462 { return trgObjsL3Muons_; }
std::string trgObjsL3Muons_
Definition: Config.h:408
std::string Config::triggerObjectsPFJets ( ) const

Definition at line 466 of file Config.cc.

References trgObjsPFJets_.

466 { return trgObjsPFJets_; }
std::string trgObjsPFJets_
Definition: Config.h:412
std::string Config::triggerResults ( ) const

Definition at line 459 of file Config.cc.

References triggerCol_.

459 { return triggerCol_; }
std::string triggerCol_
Definition: Config.h:405
bool Config::useJetsExtendedFlavour ( ) const

Definition at line 427 of file Config.cc.

References usejetsextflv_.

427 { return usejetsextflv_; }
std::vector< std::string > Config::variablesAI ( const std::string &  t = "F") const

Definition at line 505 of file Config.cc.

References varsf_ai_, and varsi_ai_.

506 {
507  if ( t == "I" ) return varsi_ai_;
508  return varsf_ai_;
509 }
std::vector< std::string > varsi_ai_
Definition: Config.h:473
std::vector< std::string > varsf_ai_
Definition: Config.h:472
int Config::workflow ( ) const

Definition at line 389 of file Config.cc.

References workflow_.

389 { return workflow_; }

Member Data Documentation

bool analysis::tools::Config::apply_correct_
protected

Definition at line 315 of file Config.h.

Referenced by Config().

int analysis::tools::Config::argc_
protected

Definition at line 288 of file Config.h.

Referenced by Config(), and loadOptions().

char** analysis::tools::Config::argv_
protected

Definition at line 289 of file Config.h.

Referenced by Config(), and loadOptions().

bool analysis::tools::Config::blind_
protected

Definition at line 308 of file Config.h.

Referenced by blind(), and Config().

bool analysis::tools::Config::bregression_
protected

Definition at line 391 of file Config.h.

Referenced by bRegression(), and Config().

std::string analysis::tools::Config::btagalgo_
protected

Definition at line 370 of file Config.h.

Referenced by btagAlgorithm(), and Config().

std::string analysis::tools::Config::btageff_
protected

Definition at line 464 of file Config.h.

Referenced by btagEfficiencies(), and Config().

std::string analysis::tools::Config::btagsf_
protected

Definition at line 371 of file Config.h.

Referenced by btagScaleFactors(), and Config().

float analysis::tools::Config::btagwploose_
protected

Definition at line 458 of file Config.h.

Referenced by btagWP(), and Config().

float analysis::tools::Config::btagwpmedium_
protected

Definition at line 459 of file Config.h.

Referenced by btagWP(), and Config().

float analysis::tools::Config::btagwptight_
protected

Definition at line 460 of file Config.h.

Referenced by btagWP(), and Config().

float analysis::tools::Config::btagwpxxx_
protected

Definition at line 461 of file Config.h.

Referenced by btagWP(), and Config().

std::string analysis::tools::Config::calojetemul_
protected

Calo jet trigger emulation.

Definition at line 433 of file Config.h.

Referenced by Config(), and triggerEmulateCaloJets().

float analysis::tools::Config::calojetemuletamax_
protected

Definition at line 436 of file Config.h.

Referenced by Config(), and triggerEmulateCaloJetsEtaMax().

int analysis::tools::Config::calojetemulnmin_
protected

Definition at line 434 of file Config.h.

Referenced by Config(), and triggerEmulateCaloJetsNMin().

float analysis::tools::Config::calojetemulptmin_
protected

Definition at line 435 of file Config.h.

Referenced by Config(), and triggerEmulateCaloJetsPtMin().

std::string analysis::tools::Config::cfg_
protected

Definition at line 291 of file Config.h.

Referenced by Config(), configFile(), and loadOptions().

float analysis::tools::Config::detamax_

Definition at line 277 of file Config.h.

Referenced by Config().

float analysis::tools::Config::detamin_

Definition at line 278 of file Config.h.

Referenced by Config().

std::vector<int> analysis::tools::Config::dijet_ranks_
protected

Definition at line 389 of file Config.h.

Referenced by Config().

std::string analysis::tools::Config::dir_ai_
protected

Definition at line 474 of file Config.h.

Referenced by Config(), and directoryAI().

float analysis::tools::Config::disc_max_ai_
protected

Definition at line 476 of file Config.h.

Referenced by Config(), and discriminatorMaxAI().

float analysis::tools::Config::disc_min_ai_
protected

Definition at line 477 of file Config.h.

Referenced by Config(), and discriminatorMinAI().

bool analysis::tools::Config::do_tree_
protected

Definition at line 481 of file Config.h.

Referenced by Config(), and doTree().

bool analysis::tools::Config::dodijet_
protected

Definition at line 387 of file Config.h.

Referenced by Config(), and doDijet().

float analysis::tools::Config::dphimax_

Definition at line 280 of file Config.h.

Referenced by Config().

float analysis::tools::Config::dphimin_

Definition at line 279 of file Config.h.

Referenced by Config().

float analysis::tools::Config::drmax_

Definition at line 276 of file Config.h.

Referenced by Config().

float analysis::tools::Config::drmin_

Definition at line 275 of file Config.h.

Referenced by Config().

float analysis::tools::Config::eff_min_ai_
protected

Definition at line 478 of file Config.h.

Referenced by Config(), and efficiencyMinAI().

std::vector<std::string> analysis::tools::Config::eras_
protected

Definition at line 324 of file Config.h.

Referenced by Config(), and eras().

std::vector<float> analysis::tools::Config::eraslumi_
protected

Definition at line 325 of file Config.h.

Referenced by Config(), and erasLumi().

std::vector<float> analysis::tools::Config::etamax_

Definition at line 271 of file Config.h.

Referenced by Config().

std::string analysis::tools::Config::eventinfo_
protected

Definition at line 298 of file Config.h.

Referenced by Config(), and eventInfo().

std::string analysis::tools::Config::eventsdir_
protected

Definition at line 300 of file Config.h.

Referenced by Config(), and eventsDir().

bool analysis::tools::Config::fullgenweight_
protected

Definition at line 311 of file Config.h.

Referenced by Config(), and fullGenWeight().

std::string analysis::tools::Config::genjetsCol_
protected

Definition at line 452 of file Config.h.

Referenced by Config(), and genJetsCollection().

std::string analysis::tools::Config::genpartsCol_
protected

Definition at line 453 of file Config.h.

Referenced by Config(), and genParticlesCollection().

bool analysis::tools::Config::histjets_flavour_
protected

Definition at line 485 of file Config.h.

Referenced by Config(), and histogramJetsPerFlavour().

bool analysis::tools::Config::histjets_rsplit_
protected

Definition at line 484 of file Config.h.

Referenced by Config(), and histogramJetsRegionSplit().

std::string analysis::tools::Config::hltPath_

Definition at line 282 of file Config.h.

Referenced by Config().

int analysis::tools::Config::index_
protected

Definition at line 313 of file Config.h.

Referenced by Config(), and index().

std::string analysis::tools::Config::inputlist_
protected

Definition at line 297 of file Config.h.

Referenced by Config(), and ntuplesList().

bool analysis::tools::Config::isMC_
protected

Definition at line 306 of file Config.h.

Referenced by Config(), and isMC().

std::string analysis::tools::Config::jerptres_
protected

Definition at line 364 of file Config.h.

Referenced by Config(), and jerPtRes().

std::string analysis::tools::Config::jersf_
protected

Definition at line 365 of file Config.h.

Referenced by Config(), and jerSF().

std::vector<float> analysis::tools::Config::jetsbtagmin_

Definition at line 264 of file Config.h.

Referenced by Config().

std::vector<float> analysis::tools::Config::jetsbtagprobb_
protected

Definition at line 378 of file Config.h.

Referenced by Config(), and jetsBtagProbB().

std::vector<float> analysis::tools::Config::jetsbtagprobbb_
protected

Definition at line 379 of file Config.h.

Referenced by Config(), and jetsBtagProbBB().

std::vector<float> analysis::tools::Config::jetsbtagprobc_
protected

Definition at line 381 of file Config.h.

Referenced by Config(), and jetsBtagProbC().

std::vector<float> analysis::tools::Config::jetsbtagprobg_
protected

Definition at line 382 of file Config.h.

Referenced by Config(), and jetsBtagProbG().

std::vector<float> analysis::tools::Config::jetsbtagproblepb_
protected

Definition at line 380 of file Config.h.

Referenced by Config(), and jetsBtagProbLepB().

std::vector<float> analysis::tools::Config::jetsbtagproblight_
protected

Definition at line 383 of file Config.h.

Referenced by Config(), and jetsBtagProbLight().

std::vector<std::string> analysis::tools::Config::jetsbtagwp_
protected

Definition at line 374 of file Config.h.

Referenced by Config(), and jetsBtagWP().

std::string analysis::tools::Config::jetsCol_
protected

Definition at line 337 of file Config.h.

Referenced by Config(), and jetsCollection().

float analysis::tools::Config::jetsdetamax_
protected

Definition at line 350 of file Config.h.

Referenced by Config(), and jetsDetaMax().

float analysis::tools::Config::jetsdetamin_
protected

Definition at line 351 of file Config.h.

Referenced by Config(), and jetsDetaMin().

float analysis::tools::Config::jetsdphimax_
protected

Definition at line 353 of file Config.h.

Referenced by Config(), and jetsDphiMax().

float analysis::tools::Config::jetsdphimin_
protected

Definition at line 352 of file Config.h.

Referenced by Config(), and jetsDphiMin().

float analysis::tools::Config::jetsdrmax_
protected

Definition at line 355 of file Config.h.

Referenced by Config(), and jetsDrMax().

float analysis::tools::Config::jetsdrmin_
protected

Definition at line 354 of file Config.h.

Referenced by Config(), and jetsDrMin().

std::vector<float> analysis::tools::Config::jetsetamax_
protected

Definition at line 343 of file Config.h.

Referenced by Config(), and jetsEtaMax().

std::string analysis::tools::Config::jetsid_
protected

Definition at line 344 of file Config.h.

Referenced by Config(), and jetsId().

float analysis::tools::Config::jetsptimbalmax_
protected

Definition at line 356 of file Config.h.

Referenced by Config(), and jetsPtImbalanceMax().

float analysis::tools::Config::jetsptimbalmin_
protected

Definition at line 357 of file Config.h.

Referenced by Config(), and jetsPtImbalanceMin().

std::vector<float> analysis::tools::Config::jetsptmax_
protected

Definition at line 342 of file Config.h.

Referenced by Config(), and jetsPtMax().

std::vector<float> analysis::tools::Config::jetsptmin_
protected

Definition at line 341 of file Config.h.

Referenced by Config(), and jetsPtMin().

std::string analysis::tools::Config::jetspuid_
protected

Definition at line 345 of file Config.h.

Referenced by Config(), and jetsPuId().

std::string analysis::tools::Config::json_
protected

Definition at line 489 of file Config.h.

Referenced by Config(), and json().

std::string analysis::tools::Config::l1jetemul_
protected

L1 jet trigger emulation.

Definition at line 427 of file Config.h.

Referenced by Config(), and triggerEmulateL1Jets().

float analysis::tools::Config::l1jetemuletamax_
protected

Definition at line 430 of file Config.h.

Referenced by Config(), and triggerEmulateL1JetsEtaMax().

int analysis::tools::Config::l1jetemulnmin_
protected

Definition at line 428 of file Config.h.

Referenced by Config(), and triggerEmulateL1JetsNMin().

float analysis::tools::Config::l1jetemulptmin_
protected

Definition at line 429 of file Config.h.

Referenced by Config(), and triggerEmulateL1JetsPtMin().

std::string analysis::tools::Config::l1muonemul_
protected

L1 muon trigger emulation.

Definition at line 415 of file Config.h.

Referenced by Config(), and triggerEmulateL1Muons().

float analysis::tools::Config::l1muonemuletamax_
protected

Definition at line 418 of file Config.h.

Referenced by Config(), and triggerEmulateL1MuonsEtaMax().

int analysis::tools::Config::l1muonemulnmin_
protected

Definition at line 416 of file Config.h.

Referenced by Config(), and triggerEmulateL1MuonsNMin().

float analysis::tools::Config::l1muonemulptmin_
protected

Definition at line 417 of file Config.h.

Referenced by Config(), and triggerEmulateL1MuonsPtMin().

std::string analysis::tools::Config::l1Seed_

Definition at line 283 of file Config.h.

Referenced by Config().

std::string analysis::tools::Config::l1tjetsCol_
protected

Definition at line 367 of file Config.h.

Referenced by Config(), and l1tJetsCollection().

std::string analysis::tools::Config::l1tmuonsCol_
protected

Definition at line 402 of file Config.h.

Referenced by Config(), and l1tMuonsCollection().

std::string analysis::tools::Config::l3muonemul_
protected

L3 muon trigger emulation.

Definition at line 421 of file Config.h.

Referenced by Config(), and triggerEmulateL3Muons().

float analysis::tools::Config::l3muonemuletamax_
protected

Definition at line 424 of file Config.h.

Referenced by Config(), and triggerEmulateL3MuonsEtaMax().

int analysis::tools::Config::l3muonemulnmin_
protected

Definition at line 422 of file Config.h.

Referenced by Config(), and triggerEmulateL3MuonsNMin().

float analysis::tools::Config::l3muonemulptmin_
protected

Definition at line 423 of file Config.h.

Referenced by Config(), and triggerEmulateL3MuonsPtMin().

float analysis::tools::Config::lumi_
protected

Definition at line 304 of file Config.h.

Referenced by Config(), and luminosity().

float analysis::tools::Config::massmax_
protected

Definition at line 469 of file Config.h.

Referenced by Config(), and massMax().

float analysis::tools::Config::massmin_
protected

Definition at line 468 of file Config.h.

Referenced by Config(), and massMin().

float analysis::tools::Config::matchTrgCaloBJetsDrMax_
protected

Definition at line 449 of file Config.h.

Referenced by Config(), and triggerMatchCaloBJetsDrMax().

float analysis::tools::Config::matchTrgCaloJetsDrMax_
protected

Definition at line 447 of file Config.h.

Referenced by Config(), and triggerMatchCaloJetsDrMax().

float analysis::tools::Config::matchTrgL1JetsDrMax_
protected

Definition at line 446 of file Config.h.

Referenced by Config(), and triggerMatchL1JetsDrMax().

float analysis::tools::Config::matchTrgL1MuonsDrMax_
protected

Definition at line 444 of file Config.h.

Referenced by Config(), and triggerMatchL1MuonsDrMax().

float analysis::tools::Config::matchTrgL3MuonsDrMax_
protected

Definition at line 445 of file Config.h.

Referenced by Config(), and triggerMatchL3MuonsDrMax().

float analysis::tools::Config::matchTrgPFJetsDrMax_
protected

Definition at line 448 of file Config.h.

Referenced by Config(), and triggerMatchPFJetsDrMax().

float analysis::tools::Config::max_
protected

Definition at line 333 of file Config.h.

Referenced by Config(), and max().

std::string analysis::tools::Config::method_ai_
protected

Definition at line 475 of file Config.h.

Referenced by Config(), and methodAI().

float analysis::tools::Config::min_
protected

Definition at line 332 of file Config.h.

Referenced by Config(), and min().

std::string analysis::tools::Config::muonsCol_
protected

Definition at line 395 of file Config.h.

Referenced by Config(), and muonsCollection().

float analysis::tools::Config::muonsdrmax_
protected

Definition at line 361 of file Config.h.

Referenced by Config(), and muonsDrMax().

float analysis::tools::Config::muonsdrmin_
protected

Definition at line 360 of file Config.h.

Referenced by Config(), and muonsDrMin().

std::vector<float> analysis::tools::Config::muonsetamax_
protected

Definition at line 400 of file Config.h.

Referenced by Config(), and muonsEtaMax().

std::string analysis::tools::Config::muonsid_
protected

Definition at line 401 of file Config.h.

Referenced by Config(), and muonsId().

std::vector<float> analysis::tools::Config::muonsptmax_
protected

Definition at line 399 of file Config.h.

Referenced by Config(), and muonsPtMax().

std::vector<float> analysis::tools::Config::muonsptmin_
protected

Definition at line 398 of file Config.h.

Referenced by Config(), and muonsPtMin().

int analysis::tools::Config::n_
protected

Definition at line 331 of file Config.h.

Referenced by Config(), and n().

int analysis::tools::Config::nbjetsmin_
protected

Definition at line 462 of file Config.h.

Referenced by Config(), and nBJetsMin().

int analysis::tools::Config::nevtmax_
protected

Definition at line 305 of file Config.h.

Referenced by Config(), and nEventsMax().

int analysis::tools::Config::njets_
protected

Definition at line 340 of file Config.h.

Referenced by Config(), and nJets().

int analysis::tools::Config::njetsmax_
protected

Definition at line 339 of file Config.h.

Referenced by Config(), and nJetsMax().

int analysis::tools::Config::njetsmin_
protected

Definition at line 338 of file Config.h.

Referenced by Config(), and nJetsMin().

bool analysis::tools::Config::nlo_
protected

Definition at line 310 of file Config.h.

Referenced by Config(), and nlo().

int analysis::tools::Config::nlumis_

Definition at line 252 of file Config.h.

Referenced by Config().

int analysis::tools::Config::nmax_

Definition at line 268 of file Config.h.

Referenced by Config().

int analysis::tools::Config::nmin_

Definition at line 267 of file Config.h.

Referenced by Config().

int analysis::tools::Config::nmuonsmax_
protected

Definition at line 397 of file Config.h.

Referenced by Config(), and nMuonsMax().

int analysis::tools::Config::nmuonsmin_
protected

Definition at line 396 of file Config.h.

Referenced by Config(), and nMuonsMin().

po::options_description analysis::tools::Config::opt_cfg_
protected

Definition at line 294 of file Config.h.

Referenced by Config(), loadOptions(), and optionsCFG().

po::options_description analysis::tools::Config::opt_cmd_
protected

Definition at line 293 of file Config.h.

Referenced by Config(), loadOptions(), and optionsCMD().

std::string analysis::tools::Config::outputRoot_
protected

Definition at line 488 of file Config.h.

Referenced by Config(), and outputRoot().

bool analysis::tools::Config::override_
protected

Definition at line 309 of file Config.h.

Referenced by Config(), and override().

std::string analysis::tools::Config::pfjetemul_
protected

PF jet trigger emulation.

Definition at line 439 of file Config.h.

Referenced by Config(), and triggerEmulatePFJets().

float analysis::tools::Config::pfjetemuletamax_
protected

Definition at line 442 of file Config.h.

Referenced by Config(), and triggerEmulatePFJetsEtaMax().

int analysis::tools::Config::pfjetemulnmin_
protected

Definition at line 440 of file Config.h.

Referenced by Config(), and triggerEmulatePFJetsNMin().

float analysis::tools::Config::pfjetemulptmin_
protected

Definition at line 441 of file Config.h.

Referenced by Config(), and triggerEmulatePFJetsPtMin().

int analysis::tools::Config::prescale_
protected

Definition at line 330 of file Config.h.

Referenced by Config(), and prescale().

std::string analysis::tools::Config::process_
protected

Definition at line 299 of file Config.h.

Referenced by Config(), and process().

std::vector<float> analysis::tools::Config::ptmax_

Definition at line 270 of file Config.h.

Referenced by Config().

std::vector<float> analysis::tools::Config::ptmin_

Definition at line 269 of file Config.h.

Referenced by Config().

std::string analysis::tools::Config::puweight_
protected

Definition at line 327 of file Config.h.

Referenced by Config(), and pileupWeights().

bool analysis::tools::Config::pythia8_
protected

Definition at line 320 of file Config.h.

Referenced by Config(), and pythia8().

std::vector<float> analysis::tools::Config::qgmax_
protected

Definition at line 348 of file Config.h.

Referenced by Config(), and jetsQGmax().

std::vector<float> analysis::tools::Config::qgmin_
protected

Definition at line 347 of file Config.h.

Referenced by Config(), and jetsQGmin().

int analysis::tools::Config::revbtagjet_
protected

Definition at line 376 of file Config.h.

Referenced by Config(), and revBtagJet().

std::string analysis::tools::Config::revbtagwp_
protected

Definition at line 375 of file Config.h.

Referenced by Config(), and revBtagWP().

int analysis::tools::Config::runmax_

Definition at line 254 of file Config.h.

Referenced by Config().

int analysis::tools::Config::runmin_

Definition at line 253 of file Config.h.

Referenced by Config().

float analysis::tools::Config::scale_
protected

Definition at line 322 of file Config.h.

Referenced by Config(), and scale().

int analysis::tools::Config::seed_
protected

Definition at line 317 of file Config.h.

Referenced by Config(), and seed().

std::string analysis::tools::Config::seedfile_
protected

Definition at line 318 of file Config.h.

Referenced by Config(), and seedFile().

bool analysis::tools::Config::signalregion_
protected

Definition at line 307 of file Config.h.

Referenced by Config(), and signalRegion().

float analysis::tools::Config::trgmatchdrmax_

Definition at line 260 of file Config.h.

Referenced by Config().

std::string analysis::tools::Config::trgObjsBJets_
protected

Definition at line 409 of file Config.h.

Referenced by Config(), and triggerObjectsBJets().

std::string analysis::tools::Config::trgObjsCaloJets_
protected

Definition at line 411 of file Config.h.

Referenced by Config(), and triggerObjectsCaloJets().

std::string analysis::tools::Config::trgObjsL1Jets_
protected

Definition at line 410 of file Config.h.

Referenced by Config(), and triggerObjectsL1Jets().

std::string analysis::tools::Config::trgObjsL1Muons_
protected

Definition at line 407 of file Config.h.

Referenced by Config(), and triggerObjectsL1Muons().

std::string analysis::tools::Config::trgObjsL3Muons_
protected

Definition at line 408 of file Config.h.

Referenced by Config(), and triggerObjectsL3Muons().

std::string analysis::tools::Config::trgObjsPFJets_
protected

Definition at line 412 of file Config.h.

Referenced by Config(), and triggerObjectsPFJets().

std::string analysis::tools::Config::triggerCol_
protected

Definition at line 405 of file Config.h.

Referenced by Config(), and triggerResults().

std::string analysis::tools::Config::triggerObjDir_
protected

Definition at line 406 of file Config.h.

Referenced by Config(), and triggerObjectsDir().

bool analysis::tools::Config::usejetsextflv_
protected

Definition at line 386 of file Config.h.

Referenced by Config(), and useJetsExtendedFlavour().

std::vector<std::string> analysis::tools::Config::varsf_ai_
protected

Definition at line 472 of file Config.h.

Referenced by Config(), and variablesAI().

std::vector<std::string> analysis::tools::Config::varsi_ai_
protected

Definition at line 473 of file Config.h.

Referenced by Config(), and variablesAI().

int analysis::tools::Config::workflow_
protected

Definition at line 312 of file Config.h.

Referenced by Config(), and workflow().

float analysis::tools::Config::xsection_
protected

Definition at line 303 of file Config.h.

Referenced by Config(), and crossSection().

std::string analysis::tools::Config::xsectiontree_
protected

Definition at line 301 of file Config.h.

Referenced by Config(), and crossSectionTree().

std::string analysis::tools::Config::xsectiontype_
protected

Definition at line 302 of file Config.h.

Referenced by Config(), and crossSectionType().


The documentation for this class was generated from the following files: