11 def __init__ (self) :
12 super (MetAnalysisConfig, self).__init__ ()
13 self.addOption('containerName', '', type=str,
14 noneAction='error',
15 info="the name of the output container.")
16 self.addOption ('useJVT', True, type=bool,
17 info="whether to use the JVT decision in the MET calculation.")
18 self.addOption ('useFJVT', False, type=bool,
19 info="whether to use the forward JVT decision in the MET calculation.")
20 self.addOption ('selectionNameFJVT', "", type=str,
21 info="name of the forward JVT selection to be used if `useFJVT` is activated.")
22 self.addOption ('treatPUJets', False, type=bool,
23 info="whether to treat pile-up jets in the MET significance calculation.")
24 self.addOption ('setMuonJetEMScale', True, type=bool,
25 info="enables the handling of muons in jets for the MET calculation. "
26 "Should be turned off for analyses where muons are not reconstructed "
27 "at all.")
28 self.addOption ('jets', "", type=str,
29 info="the input jet container.")
30 self.addOption ('electrons', "", type=str,
31 info="the input electron container, with a possible selection, in "
32 "the format `container` or `container.selection`.")
33 self.addOption ('muons', "", type=str,
34 info="the input muon container, with a possible selection, in the "
35 "format `container` or `container.selection`.")
36 self.addOption ('photons', "", type=str,
37 info="the input photon container, with a possible selection, in "
38 "the format `container` or `container.selection`.")
39 self.addOption ('taus', "", type=str,
40 info="the input tau-jet container, with a possible selection, in "
41 "the format `container` or `container.selection`.")
42 self.addOption ('invisible', [], type=None,
43 info="any input containers to be treated as invisible particles, "
44 "as a single string or a list of strings in the format `container` or `container.selection`.")
45 self.addOption ('metWP', "Tight", type=str,
46 info="the MET working point to use: `Loose`, `Tight`, `Tighter`, "
47 "`Tenacious`.")
48 self.addOption ('skipSystematicJetSelection', False, type=bool,
49 info="EXPERIMENTAL: whether to use simplified OR based on nominal jets "
50 "and for jet-related systematics only. "
51 "WARNING: this option is strictly for doing physics studies of the feasibility "
52 "of this OR scheme, it should not be used in a regular analysis.",
53 expertMode=True)
54 self.addOption ('saveSignificance', True, type=bool,
55 info="whether to save the MET significance.")
56 self.addOption ('jetCalibConfig', "", type=str,
57 info="config file used in jet calibration (for MET significance).")
58 self.addOption ('jetCalibSequence', "", type=str,
59 info="jet calibration sequence (for MET significance).")
60 self.addOption ('jetCalibArea', "", type=str,
61 info="name of the CalibArea used in jet calibration (for MET significance).")
62 self.addOption ('egammaESModel', "", type=str,
63 info="ESModel for EGamma calibration (for MET significance).")
64 self.addOption ('egammaDecorrelationModel', "", type=str,
65 info="decorrelation model for EGamma calibration (for MET significance).")
66 self.addOption ('tauTESConfig', "CombinedTES_R22_Round2.5_v2.root", type=str,
67 info="config file for tau energy scale calibration (for MET significance).")
68 self.addOption ('tauUseMVAResolution', True, type=bool,
69 info="whether to use MVA resolution for taus-jets (for MET significance).")
70 self.addOption ('addExtraSignificanceVars', False, type=bool,
71 info="whether to save some additional (event-based) MET significance variables.")
72 self.addOption ('useLRT', False, type=bool,
73 info="whether to use LRT MET Core and association map.")
74 self.addOption ('useCaloSoftTerm', False, type=bool,
75 info="whether to use calo- instead of track-based soft term.",
76 expertMode=True)
77 self.addOption ('softTermResolution', -1.0, type=float,
78 info="override the default soft term resolution in METSignificance.",
79 expertMode=True)
80 self.addOption ('switchTauMuOrder', False, type=bool,
81 info="whether to switch order of taus and muons",
82 expertMode=True)
83