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_DisplacedIdL_PFHT350_monitoring = hltPhotonmonitoring.clone(
47  FolderName = 'HLT/EXO/DisplacedPhoton/Photon60_DisplacedIdL_PFHT350/',
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(andOrHlt = False,
50  hltPaths = ["HLT_Photon50_R9Id90_HE10_IsoM_v*","HLT_PFHT350_v*"]),
51  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Photon60_R9Id90_CaloIdL_IsoL_DisplacedIdL_PFHT350_v*"])
52 )
53 
54 
55 from DQMOffline.Trigger.ObjMonitor_cfi import hltobjmonitoring
56 
57 Photon50_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_PFMET50_monitoring = hltobjmonitoring.clone(
58  #FolderName = 'HLT/Photon/Photon50_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_PFMET50/',
59  FolderName = 'HLT/EXO/Photon/Photon50_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_PFMET50/',
60  denGenericTriggerEventPSet = hltobjmonitoring.numGenericTriggerEventPSet.clone(
61  hltPaths = ["HLT_Photon50_R9Id90_HE10_IsoM_v*"]
62  ),
63  numGenericTriggerEventPSet = hltobjmonitoring.numGenericTriggerEventPSet.clone(
64  hltPaths = ["HLT_Photon50_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_PFMET50_v*"]
65  ),
66  phoSelection = 'pt > 80 & abs(eta) < 1.44',
67  nphotons = 1,
68  jetSelection = "pt > 30 & abs(eta) < 5.0",
69  jetId = "tight",
70  njets = 2,
71  doHTHistos = False,
72  histoPSet = dict(
73  mjjBinning = [20. * x for x in range(30)],
74  metPSet = dict(
75  nbins = 20,
76  xmin = -0.5,
77  xmax = 200.)
78  )
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  histoPSet = dict(mjjBinning = [20. * x for x in range(30)])
98 )
99 
100 exoHLTPhotonmonitoring = cms.Sequence(
101  SinglePhoton300_monitoring
102  + SinglePhoton200_monitoring
103  + Photon60_DisplacedIdL_PFHT350_monitoring
104  + SinglePhoton50_R9Id90_HE10_IsoM_monitoring
105  + SinglePhoton75_R9Id90_HE10_IsoM_monitoring
106  + SinglePhoton90_R9Id90_HE10_IsoM_monitoring
107  + SinglePhoton120_R9Id90_HE10_IsoM_monitoring
108  + SinglePhoton165_R9Id90_HE10_IsoM_monitoring
109  + Photon50_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_PFMET50_monitoring
110  + Photon75_R9Id90_HE10_IsoM_EBOnly_PFJetsMJJ300DEta3_monitoring
111 )
112 
113 
114 DiphotonMass90_monitoring = hltPhotonmonitoring.clone(
115  FolderName = 'HLT/HIG/DiPhoton/diphoton3022Mass90/',
116  nphotons = 2,
117  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)",
118  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton30_22_R9Id_OR_IsoCaloId_AND_HE_R9Id_Mass90_v*"])
119 )
120 
121 DiphotonMass95_monitoring = hltPhotonmonitoring.clone(
122  FolderName = 'HLT/HIG/DiPhoton/diphoton3022Mass95/',
123  nphotons = 2,
124  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)",
125  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton30_22_R9Id_OR_IsoCaloId_AND_HE_R9Id_Mass95_v*"])
126 )
127 
128 DiphotonMass55_monitoring = hltPhotonmonitoring.clone(
129  FolderName = 'HLT/HIG/DiPhoton/diphoton3018Mass55/',
130  nphotons = 2,
131  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)",
132  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton30_18_R9IdL_AND_HE_AND_IsoCaloId_Mass55_v*"]),
133  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.])
134 )
135 
136 Diphoton3018_monitoring = hltPhotonmonitoring.clone(
137  FolderName = 'HLT/EXO/DiPhoton/DiPhoton3018/',
138  nphotons = 2,
139  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)",
140  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton30_18_R9IdL_AND_HE_AND_IsoCaloId_v*"]),
141  histoPSet = dict(massBinning = [10.,15.,20.,25.,30.,35.,40.,45.,50.,55.,60.,65.,70.,75.,80.,90.,110.,150.])
142 )
143 
144 Diphoton2214_monitoring = hltPhotonmonitoring.clone(
145  FolderName = 'HLT/EXO/DiPhoton/DiPhoton2214/',
146  nphotons = 2,
147  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)",
148  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_Diphoton22_14_eta1p5_R9IdL_AND_HET_AND_IsoTCaloIdT_v*"]),
149  histoPSet = dict(massBinning = [10.,15.,20.,25.,30.,35.,40.,45.,50.,55.,60.,65.,70.,75.,80.,90.,110.,150.])
150 )
151 
152 
153 DiPhoton10Time1p4ns_monitoring = hltPhotonmonitoring.clone(
154  FolderName = 'HLT/EXO/DiPhoton/DiPhoton10Time1p4ns/',
155  nphotons = 2,
156  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)",
157  numGenericTriggerEventPSet = dict(hltPaths = ["HLT_DiPhoton10Time1p4ns_v*"]),
158 )
159 
160 DiPhoton10sminlt0p1_monitoring = hltPhotonmonitoring.clone(
161  FolderName = 'HLT/EXO/DiPhoton/DiPhoton10sminlt0p1/',
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_DiPhoton10sminlt0p1_v*"]),
165 )
166 
167 higgsHLTDiphotonMonitoring = cms.Sequence(
168  DiphotonMass90_monitoring
169  +DiphotonMass95_monitoring
170  +DiphotonMass55_monitoring
171  +Diphoton3018_monitoring
172  +Diphoton2214_monitoring
173  +DiPhoton10Time1p4ns_monitoring
174  +DiPhoton10sminlt0p1_monitoring
175 )