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