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