CMS 3D CMS Logo

PhotonMonitor_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.PhotonMonitor_cfi import hltPhotonmonitoring
4 
5 #HLT_SinglePhoton200_IDTight
6 SinglePhoton300_monitoring = hltPhotonmonitoring.clone(
7  FolderName = 'HLT/EGM/Photon/Photon300/',
8  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon300_NoHE_v*"])
9 )
10 
11 
12 # HLT_SinglePhoton200_IDTight
13 SinglePhoton200_monitoring = hltPhotonmonitoring.clone(
14  FolderName = 'HLT/EGM/Photon/Photon200/',
15  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon200_v*"])
16 )
17 
18 SinglePhoton50_R9Id90_HE10_IsoM_monitoring = hltPhotonmonitoring.clone(
19  FolderName = 'HLT/EGM/Photon/Photon50_R9Id90_HE10_IsoM/',
20  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon50_R9Id90_HE10_IsoM_v*"])
21 )
22 
23 
24 SinglePhoton75_R9Id90_HE10_IsoM_monitoring = hltPhotonmonitoring.clone(
25  FolderName = 'HLT/EGM/Photon/Photon75_R9Id90_HE10_IsoM/',
26  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon75_R9Id90_HE10_IsoM_v*"])
27 )
28 
29 
30 SinglePhoton90_R9Id90_HE10_IsoM_monitoring = hltPhotonmonitoring.clone(
31  FolderName = 'HLT/EGM/Photon/Photon90_R9Id90_HE10_IsoM/',
32  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon90_R9Id90_HE10_IsoM_v*"])
33 )
34 
35 SinglePhoton120_R9Id90_HE10_IsoM_monitoring = hltPhotonmonitoring.clone(
36  FolderName = 'HLT/EGM/Photon/Photon120_R9Id90_HE10_IsoM/',
37  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon120_R9Id90_HE10_IsoM_v*"])
38 )
39 
40 SinglePhoton165_R9Id90_HE10_IsoM_monitoring = hltPhotonmonitoring.clone(
41  FolderName = 'HLT/EGM/Photon/Photon165_R9Id90_HE10_IsoM/',
42  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon165_R9Id90_HE10_IsoM_v*"])
43 )
44 
45 Photon60_monitoring = hltPhotonmonitoring.clone(
46  FolderName = 'HLT/EGM/Photon/Photon60/',
47  photonSelection = "pt > 20 && r9() < 0.1 && ((eta<1.4442 && hadTowOverEm<0.0597 && full5x5_sigmaIetaIeta()<0.01031 && chargedHadronIso<1.295) || (eta<2.5 && eta>1.566 && hadTowOverEm<0.0481 && full5x5_sigmaIetaIeta()<0.03013 && chargedHadronIso<1.011))",
48  denGenericTriggerEventPSet = dict(hltPaths = []),
49  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon60_R9Id90_CaloIdL_IsoL_v*"])
50 )
51 
52 
53 Photon60_DisplacedIdL_monitoring = Photon60_monitoring.clone(
54  FolderName = 'HLT/EXO/DisplacedPhoton/Photon60_DisplacedIdL/',
55  denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon60_R9Id90_CaloIdL_IsoL_v*"]),
56  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon60_R9Id90_CaloIdL_IsoL_DisplacedIdL_v*"])
57 )
58 
59 
60 Photon60_DisplacedIdL_PFJet350MinPFJet15_monitoring = Photon60_DisplacedIdL_monitoring.clone(
61  FolderName = 'HLT/EXO/DisplacedPhoton/Photon60_DisplacedIdL_PFJet350MinPFJet15/',
62  denGenericTriggerEventPSet = dict(andOrHlt = False,
63  hltPaths = ["HLT_Photon60_R9Id90_CaloIdL_IsoL_v*","HLT_PFHT350MinPFJet15_v*"]),
64  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon60_R9Id90_CaloIdL_IsoL_DisplacedIdL_PFHT350MinPFJet15_v*"])
65 )
66 
67 
68 from DQMOffline.Trigger.ObjMonitor_cfi import hltobjmonitoring
69 
70 Photon50_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_PFMET50_monitoring = hltobjmonitoring.clone(
71  #FolderName = 'HLT/Photon/Photon50_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_PFMET50/',
72  FolderName = 'HLT/EXO/Photon/Photon50_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_PFMET50/',
73  denGenericTriggerEventPSet = hltobjmonitoring.numGenericTriggerEventPSet.clone(
74  hltPaths = ["HLT_Photon50_R9Id90_HE10_IsoM_v*"]
75  ),
76  numGenericTriggerEventPSet = hltobjmonitoring.numGenericTriggerEventPSet.clone(
77  hltPaths = ["HLT_Photon50_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_PFMET50_v*"]
78  ),
79  phoSelection = 'pt > 80 & abs(eta) < 1.44',
80  nphotons = 1,
81  jetSelection = "pt > 30 & abs(eta) < 5.0",
82  jetId = "tight",
83  njets = 2,
84  doHTHistos = False,
85  histoPSet = dict(
86  mjjBinning = [20. * x for x in range(30)],
87  metPSet = dict(
88  nbins = 20,
89  xmin = -0.5,
90  xmax = 200.)
91  )
92 )
93 
94 
95 Photon75_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_monitoring = hltobjmonitoring.clone(
96 # FolderName = 'HLT/Photon/Photon75_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3/',
97  FolderName = 'HLT/EXO/Photon/Photon75_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3/',
98  denGenericTriggerEventPSet = hltobjmonitoring.numGenericTriggerEventPSet.clone(
99  hltPaths = ["HLT_Photon75_R9Id90_HE10_IsoM_v*"]
100  ),
101  numGenericTriggerEventPSet = hltobjmonitoring.numGenericTriggerEventPSet.clone(
102  hltPaths = ["HLT_Photon75_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_v*"]
103  ),
104  phoSelection = 'pt > 80 & abs(eta) < 1.44',
105  nphotons = 1,
106  jetSelection = "pt > 30 & abs(eta) < 5.0",
107  jetId = "tight",
108  njets = 2,
109  doMETHistos = False,
110  doHTHistos = False,
111  histoPSet = dict(mjjBinning = [20. * x for x in range(30)])
112 )
113 
114 exoHLTPhotonmonitoring = cms.Sequence(
115  SinglePhoton300_monitoring
116  + SinglePhoton200_monitoring
117  + Photon60_monitoring
118  + Photon60_DisplacedIdL_monitoring
119  + Photon60_DisplacedIdL_PFJet350MinPFJet15_monitoring
120  + SinglePhoton50_R9Id90_HE10_IsoM_monitoring
121  + SinglePhoton75_R9Id90_HE10_IsoM_monitoring
122  + SinglePhoton90_R9Id90_HE10_IsoM_monitoring
123  + SinglePhoton120_R9Id90_HE10_IsoM_monitoring
124  + SinglePhoton165_R9Id90_HE10_IsoM_monitoring
125  + Photon50_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_PFMET50_monitoring
126  + Photon75_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_monitoring
127 )
128 
129 
130 DiphotonMass90_monitoring = hltPhotonmonitoring.clone(
131  FolderName = 'HLT/HIG/DiPhoton/diphotonMass90/',
132  nphotons = 2,
133  photonSelection = "(pt > 20 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)||(pt > 20 && abs(eta)<2.5 && abs(eta)>1.5556 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.035 && full5x5_r9>.8)",
134  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton30_22_R9Id_OR_IsoCaloId_AND_HE_R9Id_Mass90_v*"])
135 )
136 
137 DiphotonMass95_monitoring = hltPhotonmonitoring.clone(
138  FolderName = 'HLT/HIG/DiPhoton/diphotonMass95/',
139  nphotons = 2,
140  photonSelection = "(pt > 20 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)||(pt > 20 && abs(eta)<2.5 && abs(eta)>1.5556 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.035 && full5x5_r9>.8)",
141  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton30_22_R9Id_OR_IsoCaloId_AND_HE_R9Id_Mass95_v*"])
142 )
143 DiphotonMass55AND_monitoring = hltPhotonmonitoring.clone(
144  FolderName = 'HLT/HIG/DiPhoton/diphotonMass55AND/',
145  nphotons = 2,
146  photonSelection = "(pt > 20 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)||(pt > 20 && abs(eta)<2.5 && abs(eta)>1.5556 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.035 && full5x5_r9>.8)",
147  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton30PV_18PV_R9Id_AND_IsoCaloId_AND_HE_R9Id_PixelVeto_Mass55_v*"]),
148  histoPSet = dict(massBinning = [50.,51.,52.,53.,54.,55.,56.,57.,58.,59.,60.,61.,62.,63.,64.,65.,66.,67.,68.,69.,70.,75.,80.,90.,110.,150.])
149 )
150 
151 
152 DiphotonMass55EB_monitoring = hltPhotonmonitoring.clone(
153  FolderName = 'HLT/HIG/DiPhoton/diphotonMass55EB/',
154  nphotons = 2,
155  photonSelection = "(pt > 20 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)",
156  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton30EB_18EB_R9Id_OR_IsoCaloId_AND_HE_R9Id_PixelVeto_Mass55_v*"]),
157  histoPSet = dict(massBinning = [50.,51.,52.,53.,54.,55.,56.,57.,58.,59.,60.,61.,62.,63.,64.,65.,66.,67.,68.,69.,70.,75.,80.,90.,110.,150.])
158 )
159 
160 DiphotonMass55ANDnoPV_monitoring = hltPhotonmonitoring.clone(
161  FolderName = 'HLT/HIG/DiPhoton/diphotonMass55ANDnoPV/',
162  nphotons = 2,
163  photonSelection = "(pt > 20 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)||(pt > 20 && abs(eta)<2.5 && abs(eta)>1.5556 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.035 && full5x5_r9>.8)",
164  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton30PV_18PV_R9Id_AND_IsoCaloId_AND_HE_R9Id_NoPixelVeto_Mass55_v*"]),
165  histoPSet = dict(massBinning = [50.,51.,52.,53.,54.,55.,56.,57.,58.,59.,60.,61.,62.,63.,64.,65.,66.,67.,68.,69.,70.,75.,80.,90.,110.,150.])
166 )
167 
168 
169 DiphotonMass55EBnoPV_monitoring = hltPhotonmonitoring.clone(
170  FolderName = 'HLT/HIG/DiPhoton/diphotonMass55EBnoPV/',
171  nphotons = 2,
172  photonSelection = "(pt > 20 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)",
173  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton30EB_18EB_R9Id_OR_IsoCaloId_AND_HE_R9Id_NoPixelVeto_Mass55_v*"]),
174  histoPSet = dict(massBinning = [50.,51.,52.,53.,54.,55.,56.,57.,58.,59.,60.,61.,62.,63.,64.,65.,66.,67.,68.,69.,70.,75.,80.,90.,110.,150.])
175 )
176 
177 
178 DiphotonMass55NewAND_monitoring = hltPhotonmonitoring.clone(
179  #FolderName = 'HLT/Photon/diphotonMass55NewAND/',
180  FolderName = 'HLT/HIG/DiPhoton/diphotonMass55NewAND/',
181  nphotons = 2,
182  photonSelection = "(pt > 20 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)||(pt > 20 && abs(eta)<2.5 && abs(eta)>1.5556 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.035 && full5x5_r9>.8)",
183  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton30_18_PVrealAND_R9Id_AND_IsoCaloId_AND_HE_R9Id_PixelVeto_Mass55_v*"]),
184  histoPSet = dict(massBinning = [50.,51.,52.,53.,54.,55.,56.,57.,58.,59.,60.,61.,62.,63.,64.,65.,66.,67.,68.,69.,70.,75.,80.,90.,110.,150.])
185 )
186 
187 
188 DiphotonMass55NewANDnoPV_monitoring = hltPhotonmonitoring.clone(
189 #DiphotonMass55NewANDnoPV_monitoring.FolderName = cms.string('HLT/Photon/diphotonMass55NewANDnoPV/')
190  FolderName = 'HLT/HIG/DiPhoton/diphotonMass55NewANDnoPV/',
191  nphotons = 2,
192  photonSelection = "(pt > 20 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)||(pt > 20 && abs(eta)<2.5 && abs(eta)>1.5556 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.035 && full5x5_r9>.8)",
193  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton30_18_PVrealAND_R9Id_AND_IsoCaloId_AND_HE_R9Id_NoPixelVeto_Mass55_v*"]),
194  histoPSet = dict(massBinning = [50.,51.,52.,53.,54.,55.,56.,57.,58.,59.,60.,61.,62.,63.,64.,65.,66.,67.,68.,69.,70.,75.,80.,90.,110.,150.])
195 )
196 
197 
198 higgsHLTDiphotonMonitoring = cms.Sequence(
199  DiphotonMass90_monitoring
200  +DiphotonMass95_monitoring
201  +DiphotonMass55AND_monitoring
202  +DiphotonMass55EB_monitoring
203  +DiphotonMass55ANDnoPV_monitoring
204  +DiphotonMass55EBnoPV_monitoring
205  +DiphotonMass55NewAND_monitoring
206  +DiphotonMass55NewANDnoPV_monitoring
207 )