CMS 3D CMS Logo

ObjMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.objMonitoring_cfi import objMonitoring
4 
5 hltobjmonitoring = objMonitoring.clone()
6 hltobjmonitoring.FolderName = cms.string('HLT/GENERIC/')
7 hltobjmonitoring.doMETHistos = cms.bool(True)
8 hltobjmonitoring.histoPSet.metPSet = cms.PSet(
9  nbins = cms.uint32 ( 200 ),
10  xmin = cms.double( -0.5),
11  xmax = cms.double(19999.5),
12 )
13 hltobjmonitoring.histoPSet.phiPSet = cms.PSet(
14  nbins = cms.uint32 ( 64 ),
15  xmin = cms.double( -3.1416),
16  xmax = cms.double(3.1416),
17 )
18 hltobjmonitoring.doJetHistos = cms.bool(True)
19 hltobjmonitoring.histoPSet.jetetaPSet = cms.PSet(
20  nbins = cms.uint32 ( 100 ),
21  xmin = cms.double( -5),
22  xmax = cms.double(5),
23 )
24 hltobjmonitoring.histoPSet.detajjPSet = cms.PSet(
25  nbins = cms.uint32 ( 90 ),
26  xmin = cms.double( 0),
27  xmax = cms.double(9),
28 )
29 hltobjmonitoring.histoPSet.dphijjPSet = cms.PSet(
30  nbins = cms.uint32 ( 64 ),
31  xmin = cms.double( 0),
32  xmax = cms.double(3.1416),
33 )
34 hltobjmonitoring.histoPSet.mindphijmetPSet = cms.PSet(
35  nbins = cms.uint32 ( 64 ),
36  xmin = cms.double( 0),
37  xmax = cms.double(3.1416),
38 )
39 hltobjmonitoring.doHTHistos = cms.bool(True)
40 hltobjmonitoring.histoPSet.htPSet = cms.PSet(
41  nbins = cms.uint32 ( 60 ),
42  xmin = cms.double( -0.5),
43  xmax = cms.double(1499.5),
44 )
45 hltobjmonitoring.doHMesonGammaHistos = cms.bool(False)
46 hltobjmonitoring.histoPSet.hmgetaPSet = cms.PSet(
47  nbins = cms.uint32 ( 60 ),
48  xmin = cms.double( -2.6),
49  xmax = cms.double(2.6),
50 )
51 
52 hltobjmonitoring.met = cms.InputTag("pfMet")
53 hltobjmonitoring.jets = cms.InputTag("ak4PFJetsCHS")
54 hltobjmonitoring.electrons = cms.InputTag("gedGsfElectrons")
55 hltobjmonitoring.muons = cms.InputTag("muons")
56 hltobjmonitoring.photons = cms.InputTag("gedPhotons")
57 hltobjmonitoring.tracks = cms.InputTag("generalTracks")
58 
59 hltobjmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
60 #hltobjmonitoring.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 !
61 hltobjmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
62 hltobjmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
63 hltobjmonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_PFMETNoMu120_PFMHTNoMu120_IDTight_v*") # HLT_ZeroBias_v*
64 #hltobjmonitoring.numGenericTriggerEventPSet.hltDBKey = cms.string("EXO_HLT_MET")
65 hltobjmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
66 hltobjmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
67 
68 hltobjmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
69 hltobjmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
70 hltobjmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
71 hltobjmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
72 hltobjmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
73 hltobjmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
74