CMS 3D CMS Logo

PhotonMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.photonMonitoring_cfi import photonMonitoring
4 
5 hltPhotonmonitoring = photonMonitoring.clone()
6 hltPhotonmonitoring.FolderName = cms.string('HLT/Photon/Photon200/')
7 hltPhotonmonitoring.histoPSet.photonPSet = cms.PSet(
8  nbins = cms.uint32( 500 ),
9  xmin = cms.double( 0.0),
10  xmax = cms.double(5000),
11 )
12 hltPhotonmonitoring.met = cms.InputTag("pfMetEI") # pfMet
13 hltPhotonmonitoring.jets = cms.InputTag("pfJetsEI") # ak4PFJets, ak4PFJetsCHS
14 hltPhotonmonitoring.electrons = cms.InputTag("gedGsfElectrons") # while pfIsolatedElectronsEI are reco::PFCandidate !
15 hltPhotonmonitoring.photons = cms.InputTag("gedPhotons") # while pfIsolatedElectronsEI are reco::PFCandidate !
16 
17 hltPhotonmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
18 #hltPhotonmonitoring.numGenericTriggerEventPSet.dbLabel = cms.string("ExoDQMTrigger") # it does not exist yet, we should consider the possibility of using the DB, but as it is now it will need a label per path !
19 hltPhotonmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
20 hltPhotonmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
21 hltPhotonmonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Photon175_v*") # HLT_ZeroBias_v*
22 #hltPhotonmonitoring.numGenericTriggerEventPSet.hltDBKey = cms.string("EXO_HLT_MET")
23 hltPhotonmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
24 hltPhotonmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
25 
26 hltPhotonmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
27 hltPhotonmonitoring.denGenericTriggerEventPSet.andOrHlt = cms.bool( True )
28 hltPhotonmonitoring.denGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
29 hltPhotonmonitoring.denGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_PFJet40_v*","HLT_PFJet60_v*","HLT_PFJet80_v*") # HLT_ZeroBias_v*
30 hltPhotonmonitoring.denGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
31 hltPhotonmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
32 hltPhotonmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
33 hltPhotonmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
34 hltPhotonmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
35 hltPhotonmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)