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