CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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.lsPSet = cms.PSet(
8  nbins = cms.uint32 ( 250 ),
9  xmin = cms.double( 0.),
10  xmax = cms.double( 2500.),
11 )
12 hltPhotonmonitoring.histoPSet.photonPSet = cms.PSet(
13  nbins = cms.uint32( 500 ),
14  xmin = cms.double( 0.0),
15  xmax = cms.double(5000),
16 )
17 hltPhotonmonitoring.met = cms.InputTag("pfMetEI") # pfMet
18 hltPhotonmonitoring.jets = cms.InputTag("pfJetsEI") # ak4PFJets, ak4PFJetsCHS
19 hltPhotonmonitoring.electrons = cms.InputTag("gedGsfElectrons") # while pfIsolatedElectronsEI are reco::PFCandidate !
20 hltPhotonmonitoring.photons = cms.InputTag("gedPhotons") # while pfIsolatedElectronsEI are reco::PFCandidate !
21 
22 hltPhotonmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
23 #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 !
24 hltPhotonmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
25 hltPhotonmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
26 hltPhotonmonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Photon175_v*") # HLT_ZeroBias_v*
27 #hltPhotonmonitoring.numGenericTriggerEventPSet.hltDBKey = cms.string("EXO_HLT_MET")
28 hltPhotonmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
29 hltPhotonmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
30 
31 hltPhotonmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
32 hltPhotonmonitoring.denGenericTriggerEventPSet.andOrHlt = cms.bool( True )
33 hltPhotonmonitoring.denGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
34 hltPhotonmonitoring.denGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_PFJet40_v*","HLT_PFJet60_v*","HLT_PFJet80_v*") # HLT_ZeroBias_v*
35 hltPhotonmonitoring.denGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
36 hltPhotonmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
37 hltPhotonmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
38 hltPhotonmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
39 hltPhotonmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
40 hltPhotonmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)