CMS 3D CMS Logo

METMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.metMonitoring_cfi import metMonitoring
4 
5 hltMETmonitoring = metMonitoring.clone()
6 hltMETmonitoring.FolderName = cms.string('HLT/MET/PFMETNoMu120/')
7 hltMETmonitoring.histoPSet.metPSet = cms.PSet(
8  nbins = cms.int32 ( 200 ),
9  xmin = cms.double( -0.5),
10  xmax = cms.double(19999.5),
11 )
12 hltMETmonitoring.met = cms.InputTag("pfMetEI") # pfMet
13 hltMETmonitoring.jets = cms.InputTag("pfJetsEI") # ak4PFJets, ak4PFJetsCHS
14 hltMETmonitoring.electrons = cms.InputTag("gedGsfElectrons") # while pfIsolatedElectronsEI are reco::PFCandidate !
15 hltMETmonitoring.muons = cms.InputTag("muons") # while pfIsolatedMuonsEI are reco::PFCandidate !
16 
17 hltMETmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
18 #hltMETmonitoring.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 hltMETmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
20 hltMETmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
21 hltMETmonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_PFMETNoMu120_PFMHTNoMu120_IDTight_v*") # HLT_ZeroBias_v*
22 #hltMETmonitoring.numGenericTriggerEventPSet.hltDBKey = cms.string("EXO_HLT_MET")
23 hltMETmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
24 hltMETmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
25 
26 hltMETmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
27 hltMETmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
28 hltMETmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
29 hltMETmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
30 hltMETmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
31 hltMETmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
32