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