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/Photon/Photon300/')
8 SinglePhoton300_monitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Photon300_NoHE_v")
9 
10 
11 # HLT_SinglePhoton175_IDTight
12 SinglePhoton175_monitoring = hltPhotonmonitoring.clone()
13 SinglePhoton175_monitoring.FolderName = cms.string('HLT/Photon/Photon175/')
14 SinglePhoton175_monitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Photon175_v*")
15 
16 SinglePhoton50_R9Id90_HE10_IsoM_monitoring = hltPhotonmonitoring.clone()
17 SinglePhoton50_R9Id90_HE10_IsoM_monitoring.FolderName = cms.string('HLT/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/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/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/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/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/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/Photon/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/Photon/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 
57 exoHLTPhotonmonitoring = cms.Sequence(
58  SinglePhoton300_monitoring
59  + SinglePhoton175_monitoring
60  + Photon60_monitoring
61  + Photon60_DisplacedIdL_monitoring
62  + Photon60_DisplacedIdL_PFJet350MinPFJet15_monitoring
63  + SinglePhoton50_R9Id90_HE10_IsoM_monitoring
64  + SinglePhoton75_R9Id90_HE10_IsoM_monitoring
65  + SinglePhoton90_R9Id90_HE10_IsoM_monitoring
66  + SinglePhoton120_R9Id90_HE10_IsoM_monitoring
67  + SinglePhoton165_R9Id90_HE10_IsoM_monitoring
68 
69 )
70 
71 
72 DiphotonMass90_monitoring = hltPhotonmonitoring.clone()
73 DiphotonMass90_monitoring.FolderName = cms.string('HLT/Photon/diphotonMass90/')
74 DiphotonMass90_monitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Diphoton30_22_R9Id_OR_IsoCaloId_AND_HE_R9Id_Mass90_v*")
75 DiphotonMass90_monitoring.nphotons = cms.uint32(2)
76 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)")
77 
78 DiphotonMass95_monitoring = hltPhotonmonitoring.clone()
79 DiphotonMass95_monitoring.FolderName = cms.string('HLT/Photon/diphotonMass95/')
80 DiphotonMass95_monitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Diphoton30_22_R9Id_OR_IsoCaloId_AND_HE_R9Id_Mass95_v*")
81 DiphotonMass95_monitoring.nphotons = cms.uint32(2)
82 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)")
83 
84 DiphotonMass55AND_monitoring = hltPhotonmonitoring.clone()
85 DiphotonMass55AND_monitoring.FolderName = cms.string('HLT/Photon/diphotonMass55AND/')
86 DiphotonMass55AND_monitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Diphoton30PV_18PV_R9Id_AND_IsoCaloId_AND_HE_R9Id_PixelVeto_Mass55_v*")
87 DiphotonMass55AND_monitoring.nphotons = cms.uint32(2)
88 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)")
89 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.)
90 
91 DiphotonMass55EB_monitoring = hltPhotonmonitoring.clone()
92 DiphotonMass55EB_monitoring.FolderName = cms.string('HLT/Photon/diphotonMass55EB/')
93 DiphotonMass55EB_monitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Diphoton30EB_18EB_R9Id_OR_IsoCaloId_AND_HE_R9Id_PixelVeto_Mass55_v*")
94 DiphotonMass55EB_monitoring.nphotons = cms.uint32(2)
95 DiphotonMass55EB_monitoring.photonSelection = cms.string("(pt > 20 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)")
96 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.)
97 
98 DiphotonMass55ANDnoPV_monitoring = hltPhotonmonitoring.clone()
99 DiphotonMass55ANDnoPV_monitoring.FolderName = cms.string('HLT/Photon/diphotonMass55ANDnoPV/')
100 DiphotonMass55ANDnoPV_monitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Diphoton30PV_18PV_R9Id_AND_IsoCaloId_AND_HE_R9Id_NoPixelVeto_Mass55_v*")
101 DiphotonMass55ANDnoPV_monitoring.nphotons = cms.uint32(2)
102 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)")
103 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.)
104 
105 DiphotonMass55EBnoPV_monitoring = hltPhotonmonitoring.clone()
106 DiphotonMass55EBnoPV_monitoring.FolderName = cms.string('HLT/Photon/diphotonMass55EBnoPV/')
107 DiphotonMass55EBnoPV_monitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Diphoton30EB_18EB_R9Id_OR_IsoCaloId_AND_HE_R9Id_NoPixelVeto_Mass55_v*")
108 DiphotonMass55EBnoPV_monitoring.nphotons = cms.uint32(2)
109 DiphotonMass55EBnoPV_monitoring.photonSelection = cms.string("(pt > 20 && abs(eta)<1.4442 && hadTowOverEm<0.12 && full5x5_sigmaIetaIeta()<0.015 && full5x5_r9>.5)")
110 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.)
111 
112 
113 
114 higgsHLTDiphotonMonitoring = cms.Sequence(
115  DiphotonMass90_monitoring
116  +DiphotonMass95_monitoring
117  +DiphotonMass55AND_monitoring
118  +DiphotonMass55EB_monitoring
119  +DiphotonMass55ANDnoPV_monitoring
120  +DiphotonMass55EBnoPV_monitoring
121 )