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.uint32 (200),
9  xmin = cms.double(-0.5),
10  xmax = cms.double(19999.5),
11 )
12 
13 hltMETmonitoring.met = cms.InputTag("pfMetEI") # pfMet
14 hltMETmonitoring.jets = cms.InputTag("pfJetsEI") # ak4PFJets, ak4PFJetsCHS
15 hltMETmonitoring.electrons = cms.InputTag("gedGsfElectrons") # while pfIsolatedElectronsEI are reco::PFCandidate !
16 hltMETmonitoring.muons = cms.InputTag("muons") # while pfIsolatedMuonsEI are reco::PFCandidate !
17 
18 hltMETmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
19 #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 !
20 hltMETmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
21 hltMETmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
22 hltMETmonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_PFMETNoMu120_PFMHTNoMu120_IDTight_v") # HLT_ZeroBias_v
23 #hltMETmonitoring.numGenericTriggerEventPSet.hltDBKey = cms.string("EXO_HLT_MET")
24 hltMETmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
25 hltMETmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
26 
27 hltMETmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
28 hltMETmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
29 hltMETmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
30 hltMETmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
31 hltMETmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
32 hltMETmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
33 hltMETmonitoring.denGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_IsoMu27_v","HLT_IsoTkMu27_v");