CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
hltHiggsValidator_cfi.py
Go to the documentation of this file.
2 
3 
4 hltHiggsValidator = cms.EDAnalyzer("HLTHiggsValidator",
5 
6  hltProcessName = cms.string("HLT"),
7  analysis = cms.vstring("HWW", "HZZ", "Hgg", "Htaunu", "H2tau"),
8 
9  # -- The instance name of the reco::GenParticles collection
10  genParticleLabel = cms.string("genParticles"),
11 
12  # -- The binning of the Pt efficiency plots
13  parametersTurnOn = cms.vdouble(0,
14  1, 8, 9, 10,
15  11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
16  22, 24, 26, 28, 30, 32, 34, 36, 38, 40,
17  45, 50, 55, 60, 65, 70,
18  80, 100,
19  ),
20 
21  # -- (NBins, minVal, maxValue) for the Eta and Phi efficiency plots
22  parametersEta = cms.vdouble(48, -2.400, 2.400),
23  parametersPhi = cms.vdouble(50, -3.142, 3.142),
24 
25  # TO BE DEPRECATED --------------------------------------------
26  cutsDr = cms.vdouble(0.4, 0.4, 0.015), # TO BE DEPRECATED
27  # parameters for attempting an L1 match using a propagator
28  maxDeltaPhi = cms.double(0.4), # TO BE DEPRECATED
29  maxDeltaR = cms.double(0.4), # TO BE DEPRECATED
30  # TO BE DEPRECATED --------------------------------------------
31 
32  # Definition of generic cuts on generated and reconstructed objects (note that
33  # these cuts can be overloaded inside a particular analysis)
34  # Objects recognized: Mu Ele Photon PFTau MET
35  # Syntax in the strings: valid syntax of the StringCutObjectSelector class
36  # --- Muons
37  Mu_genCut = cms.string("pt > 10 && abs(eta) < 2.4 && abs(pdgId) == 13 && status == 1"),
38  Mu_recCut = cms.string("pt > 10 && abs(eta) < 2.4 && isGlobalMuon"),
39  Mu_cutMinPt = cms.double(10), # TO BE DEPRECATED
40  Mu_cutMaxEta = cms.double(2.4), # TO BE DEPRECATED
41 
42  # --- Electrons
43  Ele_genCut = cms.string("pt > 10 && abs(eta) < 2.5 && abs(pdgId) == 11 && status == 1"),
44  Ele_recCut = cms.string("pt > 10 && abs(eta) < 2.5 && hadronicOverEm < 0.05 && eSuperClusterOverP > 0.5 && eSuperClusterOverP < 2.5"),
45  Ele_cutMinPt = cms.double(10), # TO BE DEPRECATED
46  Ele_cutMaxEta = cms.double(2.5), # TO BE DEPRECATED
47 
48  # --- Photons
49  Photon_genCut = cms.string("abs(pdgId) == 22 && status == 1"),
50  Photon_recCut = cms.string("pt > 20 && abs(eta) < 2.4 && hadronicOverEm < 0.1 && ( r9 < 0.85 || ("+\
51  " ( abs(eta) < 1.479 && sigmaIetaIeta < 0.014 || "+\
52  " abs(eta) > 1.479 && sigmaIetaIeta < 0.0035 ) && "+\
53  " ecalRecHitSumEtConeDR03 < (5.0+0.012*et) && hcalTowerSumEtConeDR03 < (5.0+0.0005*et ) && trkSumPtSolidConeDR03 < (5.0 + 0.0002*et)"+\
54  " )"+")" ),
55  Photon_cutMinPt = cms.double(20), # TO BE DEPRECATED
56  Photon_cutMaxEta = cms.double(2.4),# TO BE DEPRECATED
57 
58  # --- Taus:
59  PFTau_genCut = cms.string("pt > 20 && abs(eta) < 2.4 && abs(pdgId) == 15 && status == 3"),
60  PFTau_recCut = cms.string("pt > 20 && abs(eta) < 2.4"), # STILL MISSING THIS INFO
61  PFTau_cutMinPt = cms.double(20), # TO BE DEPRECATED
62  PFTau_cutMaxEta = cms.double(2.5),# TO BE DEPRECATED
63 
64  # --- MET (calo)
65  MET_genCut = cms.string("(abs(pdgId) == 12 || abs(pdgId)==14 || abs(pdgId) == 16 ) && status == 1"),
66  MET_recCut = cms.string("pt > 75."),
67  MET_cutMinPt = cms.double(75), # TO BE DEPRECATED
68  MET_cutMaxEta = cms.double(0), # TO BE DEPRECATED
69 
70  # The specific parameters per analysis: the name of the parameter set has to be
71  # the same as the defined ones in the 'analysis' datamember. Each analysis is a PSet
72  # with the mandatory attributes:
73  # - hltPathsToCheck (cms.vstring) : a list of all the trigger pats to be checked
74  # in this analysis. Up to the version number _v, but not including
75  # the number in order to avoid this version dependence. Example: HLT_Mu18_v
76  # - recVarLabel (cms.string): where Var can be Muon, Elec, Photon, CaloMET, PFTau. This
77  # attribute is the name of the INSTANCE LABEL for each RECO collection to
78  # be considered in the analysis. Note that the trigger paths rely on some
79  # objects which need to be defined here, otherwise the code will complain.
80  # - minCandidates (cms.uint32): the minimum number of GEN/RECO objects in the event
81  # Besides the mandatory attributes, you can redefine the generation and reconstruction cuts
82  # for any object you want.
83  # * Var_genCut, Var_recCut (cms.string): where Var=Mu, Ele, Photon, MET, PFTau (see above)
84 
85  HWW = cms.PSet(
86  hltPathsToCheck = cms.vstring(
87  "HLT_Mu17_Mu8_v",
88  "HLT_Mu17_TkMu8_v",
89  "HLT_Mu17_Ele8_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_v",
90  "HLT_Mu8_Ele17_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_v",
91  "HLT_Ele17_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_Ele8_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_v",
92  ),
93  recMuonLabel = cms.string("muons"),
94  recElecLabel = cms.string("gedGsfElectrons"),
95  # -- Analysis specific cuts
96  minCandidates = cms.uint32(2),
97  ),
98  HZZ = cms.PSet(
99  hltPathsToCheck = cms.vstring(
100  "HLT_Mu17_TkMu8_v",
101  "HLT_Ele17_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_Ele8_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_v",
102  ),
103  recMuonLabel = cms.string("muons"),
104  recElecLabel = cms.string("gedGsfElectrons"),
105  #recTrackLabel = cms.string("globalMuons"),
106  # -- Analysis specific cuts
107  minCandidates = cms.uint32(4),
108  ),
109  Hgg = cms.PSet(
110  hltPathsToCheck = cms.vstring(
111  "HLT_Photon26_R9Id85_OR_CaloId10_Iso50_Photon18_R9Id85_OR_CaloId10_Iso50_Mass70_v",
112  "HLT_Photon36_R9Id85_OR_CaloId10_Iso50_Photon22_R9Id85_OR_CaloId10_Iso50_v",
113  "HLT_Photon36_R9Id85_OR_CaloId10_Iso50_Photon10_R9Id85_OR_CaloId10_Iso50_Mass80_v",
114  ),
115  recPhotonLabel = cms.string("photons"),
116  # -- Analysis specific cuts
117  minCandidates = cms.uint32(2),
118  ),
119  Htaunu = cms.PSet(
120  hltPathsToCheck = cms.vstring(
121  "HLT_LooseIsoPFTau35_Trk20_Prong1_MET70_v",
122  "HLT_LooseIsoPFTau35_Trk20_Prong1_MET75_v",
123  ),
124  recPFTauLabel = cms.string("hpsPFTauProducer"),
125  recCaloMETLabel = cms.string("met"),
126  # -- Analysis specific cuts
127  minCandidates = cms.uint32(2),
128  ),
129  H2tau = cms.PSet(
130  hltPathsToCheck = cms.vstring(
131  "HLT_Ele22_eta2p1_WP90Rho_LooseIsoPFTau20_v",#?
132 # "HLT_Ele20_CaloIdVT_CaloIsoRhoT_TrkIdT_TrkIsoT_LooseIsoPFTau20_v",
133  "HLT_IsoMu17_eta2p1_LooseIsoPFTau20_v"
134  ),
135  recPFTauLabel = cms.string("hpsPFTauProducer"),
136  recMuonLabel = cms.string("muons"),
137  recElecLabel = cms.string("gedGsfElectrons"),
138  # -- Analysis specific cuts
139  minCandidates = cms.uint32(2),
140  ),
141 )