CMS 3D CMS Logo

JetMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.jetMonitoring_cfi import jetMonitoring
4 
5 hltJetMETmonitoring = jetMonitoring.clone()
6 hltJetMETmonitoring.FolderName = cms.string('HLT/JME/Jets/AK4/PFJet/HLT_PFJet450/')
7 hltJetMETmonitoring.histoPSet.lsPSet = cms.PSet(
8  nbins = cms.uint32(250),
9  xmin = cms.double(0.),
10  xmax = cms.double(2500.),
11 )
12 hltJetMETmonitoring.histoPSet.jetPSet = cms.PSet(
13  nbins = cms.uint32(200),
14  xmin = cms.double(-0.5),
15  xmax = cms.double(999.5),
16 )
17 hltJetMETmonitoring.histoPSet.jetPtThrPSet = cms.PSet(
18  nbins = cms.uint32(180),
19  xmin = cms.double(0.),
20  xmax = cms.double(900),
21 )
22 hltJetMETmonitoring.jetSrc = 'ak4PFJets' # ak4PFJets, ak4PFJetsCHS
23 hltJetMETmonitoring.ptcut = 20.
24 hltJetMETmonitoring.ispfjettrg = True # is PFJet Trigger ?
25 hltJetMETmonitoring.iscalojettrg = False # is CaloJet Trigger ?
26 
27 hltJetMETmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
28 hltJetMETmonitoring.numGenericTriggerEventPSet.dbLabel = cms.string("JetMETDQMTrigger") # 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 !
29 hltJetMETmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
30 hltJetMETmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
31 hltJetMETmonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_PFJet450_v*") # HLT_ZeroBias_v*
32 hltJetMETmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
33 hltJetMETmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
34 
35 hltJetMETmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
36 hltJetMETmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
37 hltJetMETmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
38 hltJetMETmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
39 hltJetMETmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
40 hltJetMETmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
41