CMS 3D CMS Logo

MjjMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.htMonitoring_cfi import htMonitoring
4 
5 # config file for monitoring the trigger efficiency vs invariant dijetmass of the two leading jets
6 # see python/HTMonitor_cfi.py or plugins/HTMonitor.h or plugins/HTMonitor.cc for more details
7 
8 hltMjjmonitoring = htMonitoring.clone()
9 hltMjjmonitoring.FolderName = cms.string('HLT/HT/PFMETNoMu120/')
10 hltMjjmonitoring.quantity = cms.string('Mjj') # set quantity to invariant dijetmass
11 hltMjjmonitoring.jetSelection = cms.string("pt > 200 && eta < 2.4")
12 hltMjjmonitoring.dEtaCut = cms.double(1.3)
13 hltMjjmonitoring.histoPSet.htPSet = cms.PSet(
14  nbins = cms.uint32 ( 200 ),
15  xmin = cms.double( -0.5),
16  xmax = cms.double(19999.5),
17 )
18 hltMjjmonitoring.met = cms.InputTag("pfMetEI")
19 hltMjjmonitoring.jets = cms.InputTag("ak8PFJetsCHS")
20 hltMjjmonitoring.electrons = cms.InputTag("gedGsfElectrons")
21 hltMjjmonitoring.muons = cms.InputTag("muons")
22 
23 hltMjjmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
24 
25 hltMjjmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
26 hltMjjmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
27 hltMjjmonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_PFMETNoMu120_PFMHTNoMu120_IDTight_v*")
28 hltMjjmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
29 hltMjjmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
30 
31 hltMjjmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
32 hltMjjmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
33 hltMjjmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29
34 hltMjjmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
35 hltMjjmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
36 hltMjjmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
37 hltMjjmonitoring.denGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_IsoMu27_v*","HLT_IsoTkMu27_v*");