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_SinglePhoton300_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 
19 SinglePhoton50_R9Id90_HE10_IsoM_monitoring = hltPhotonmonitoring.clone(
20  FolderName = 'HLT/EGM/Photon/Photon50_R9Id90_HE10_IsoM/',
21  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon50_R9Id90_HE10_IsoM_v*"])
22 )
23 
24 
25 SinglePhoton75_R9Id90_HE10_IsoM_monitoring = hltPhotonmonitoring.clone(
26  FolderName = 'HLT/EGM/Photon/Photon75_R9Id90_HE10_IsoM/',
27  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon75_R9Id90_HE10_IsoM_v*"])
28 )
29 
30 
31 SinglePhoton90_R9Id90_HE10_IsoM_monitoring = hltPhotonmonitoring.clone(
32  FolderName = 'HLT/EGM/Photon/Photon90_R9Id90_HE10_IsoM/',
33  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon90_R9Id90_HE10_IsoM_v*"])
34 )
35 
36 SinglePhoton120_R9Id90_HE10_IsoM_monitoring = hltPhotonmonitoring.clone(
37  FolderName = 'HLT/EGM/Photon/Photon120_R9Id90_HE10_IsoM/',
38  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon120_R9Id90_HE10_IsoM_v*"])
39 )
40 
41 SinglePhoton165_R9Id90_HE10_IsoM_monitoring = hltPhotonmonitoring.clone(
42  FolderName = 'HLT/EGM/Photon/Photon165_R9Id90_HE10_IsoM/',
43  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon165_R9Id90_HE10_IsoM_v*"])
44 )
45 
46 Photon60_monitoring = hltPhotonmonitoring.clone(
47  FolderName = 'HLT/EGM/Photon/Photon60/',
48  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))",
49  denGenericTriggerEventPSet = dict(hltPaths = []),
50  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon60_R9Id90_CaloIdL_IsoL_v*"])
51 )
52 
53 
54 Photon60_DisplacedIdL_monitoring = Photon60_monitoring.clone(
55  FolderName = 'HLT/EXO/DisplacedPhoton/Photon60_DisplacedIdL/',
56  denGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon60_R9Id90_CaloIdL_IsoL_v*"]),
57  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon60_R9Id90_CaloIdL_IsoL_DisplacedIdL_v*"])
58 )
59 
60 
61 Photon60_DisplacedIdL_PFJet350MinPFJet15_monitoring = Photon60_DisplacedIdL_monitoring.clone(
62  FolderName = 'HLT/EXO/DisplacedPhoton/Photon60_DisplacedIdL_PFJet350MinPFJet15/',
63  denGenericTriggerEventPSet = dict(andOrHlt = False,
64  hltPaths = ["HLT_Photon60_R9Id90_CaloIdL_IsoL_v*","HLT_PFHT350MinPFJet15_v*"]),
65  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon60_R9Id90_CaloIdL_IsoL_DisplacedIdL_PFHT350MinPFJet15_v*"])
66 )
67 
68 
69 from DQMOffline.Trigger.ObjMonitor_cfi import hltobjmonitoring
70 
71 Photon50_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_PFMET50_monitoring = hltobjmonitoring.clone(
72  #FolderName = 'HLT/Photon/Photon50_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_PFMET50/',
73  FolderName = 'HLT/EXO/Photon/Photon50_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_PFMET50/',
74  denGenericTriggerEventPSet = hltobjmonitoring.numGenericTriggerEventPSet.clone(
75  hltPaths = ["HLT_Photon50_R9Id90_HE10_IsoM_v*"]
76  ),
77  numGenericTriggerEventPSet = hltobjmonitoring.numGenericTriggerEventPSet.clone(
78  hltPaths = ["HLT_Photon50_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_PFMET50_v*"]
79  ),
80  phoSelection = 'pt > 80 & abs(eta) < 1.44',
81  nphotons = 1,
82  jetSelection = "pt > 30 & abs(eta) < 5.0",
83  jetId = "tight",
84  njets = 2,
85  doHTHistos = False,
86  histoPSet = dict(
87  mjjBinning = [20. * x for x in range(30)],
88  metPSet = dict(
89  nbins = 20,
90  xmin = -0.5,
91  xmax = 200.)
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/diphoton3022Mass90/',
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/diphoton3022Mass95/',
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 
144 DiphotonMass55_monitoring = hltPhotonmonitoring.clone(
145  FolderName = 'HLT/HIG/DiPhoton/diphoton3018Mass55/',
146  nphotons = 2,
147  photonSelection = "(pt > 15 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)||(pt > 15 && abs(eta)<2.5 && abs(eta)>1.5556 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.035 && full5x5_r9>.8)",
148  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton30_18_R9IdL_AND_HE_AND_IsoCaloId_Mass55_v*"]),
149  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.])
150 )
151 
152 Diphoton3018_monitoring = hltPhotonmonitoring.clone(
153  FolderName = 'HLT/EXO/DiPhoton/DiPhoton3018/',
154  nphotons = 2,
155  photonSelection = "(pt > 15 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)||(pt > 15 && abs(eta)<2.5 && abs(eta)>1.5556 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.035 && full5x5_r9>.8)",
156  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton30_18_R9IdL_AND_HE_AND_IsoCaloId_v*"]),
157  histoPSet = dict(massBinning = [10.,15.,20.,25.,30.,35.,40.,45.,50.,55.,60.,65.,70.,75.,80.,90.,110.,150.])
158 )
159 
160 Diphoton2214_monitoring = hltPhotonmonitoring.clone(
161  FolderName = 'HLT/EXO/DiPhoton/DiPhoton2214/',
162  nphotons = 2,
163  photonSelection = "(pt > 10 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)||(pt > 10 && abs(eta)<2.5 && abs(eta)>1.5556 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.035 && full5x5_r9>.8)",
164  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton22_14_eta1p5_R9IdL_AND_HET_AND_IsoTCaloIdT_v*"]),
165  histoPSet = dict(massBinning = [10.,15.,20.,25.,30.,35.,40.,45.,50.,55.,60.,65.,70.,75.,80.,90.,110.,150.])
166 )
167 
168 
169 DiPhoton10Time1p4ns_monitoring = hltPhotonmonitoring.clone(
170  FolderName = 'HLT/EXO/DiPhoton/DiPhoton10Time1p4ns/',
171  nphotons = 2,
172  photonSelection = "(pt > 10 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)||(pt > 10 && abs(eta)<2.5 && abs(eta)>1.5556 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.035 && full5x5_r9>.8)",
173  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DiPhoton10Time1p4ns_v*"]),
174 )
175 
176 DiPhoton10sminlt0p1_monitoring = hltPhotonmonitoring.clone(
177  FolderName = 'HLT/EXO/DiPhoton/DiPhoton10sminlt0p1/',
178  nphotons = 2,
179  photonSelection = "(pt > 10 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)||(pt > 10 && abs(eta)<2.5 && abs(eta)>1.5556 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.035 && full5x5_r9>.8)",
180  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DiPhoton10sminlt0p1_v*"]),
181 )
182 
183 higgsHLTDiphotonMonitoring = cms.Sequence(
184  DiphotonMass90_monitoring
185  +DiphotonMass95_monitoring
186  +DiphotonMass55_monitoring
187  +Diphoton3018_monitoring
188  +Diphoton2214_monitoring
189  +DiPhoton10Time1p4ns_monitoring
190  +DiPhoton10sminlt0p1_monitoring
191 )