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