CMS 3D CMS Logo

BPHMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.bphMonitoring_cfi import bphMonitoring
4 
5 hltBPHmonitoring = bphMonitoring.clone()
6 hltBPHmonitoring.FolderName = cms.string('HLT/BPH/Dimuon_10_Jpsi_Barrel/')
7 hltBPHmonitoring.histoPSet.ptPSet = cms.PSet(
8  nbins = cms.int32 ( 200 ),
9  xmin = cms.double( -0.5),
10  xmax = cms.double(200),
11 )
12 hltBPHmonitoring.histoPSet.phiPSet = cms.PSet(
13  nbins = cms.int32 ( 64 ),
14  xmin = cms.double( -3.2),
15  xmax = cms.double(3.2),
16 )
17 hltBPHmonitoring.histoPSet.etaPSet = cms.PSet(
18  nbins = cms.int32 ( 24 ),
19  xmin = cms.double( -2.4),
20  xmax = cms.double(2.4),
21 )
22 hltBPHmonitoring.histoPSet.d0PSet = cms.PSet(
23  nbins = cms.int32 ( 200 ),
24  xmin = cms.double( -5.),
25  xmax = cms.double(5),
26 )
27 hltBPHmonitoring.histoPSet.z0PSet = cms.PSet(
28  nbins = cms.int32 ( 300 ),
29  xmin = cms.double( -15),
30  xmax = cms.double(15),
31 )
32 
33 hltBPHmonitoring.tracks = cms.InputTag("generalTracks") # tracks??
34 hltBPHmonitoring.offlinePVs = cms.InputTag("offlinePrimaryVertices") # PVs
35 hltBPHmonitoring.beamSpot = cms.InputTag("offlineBeamSpot") #
36 hltBPHmonitoring.muons = cms.InputTag("muons") #
37 
38 hltBPHmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
39 hltBPHmonitoring.numGenericTriggerEventPSet.dbLabel = cms.string("BPHDQMTrigger") # 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 !
40 hltBPHmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
41 hltBPHmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
42 hltBPHmonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Dimuon10_Jpsi_Barrel") # HLT_ZeroBias_v*
43 hltBPHmonitoring.numGenericTriggerEventPSet.hltDBKey = cms.string("diMu10")
44 hltBPHmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
45 hltBPHmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
46 
47 hltBPHmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
48 hltBPHmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
49 hltBPHmonitoring.denGenericTriggerEventPSet.hltPaths = cms.vstring( "HLT_Dimuon6_Jpsi_NoVertexing" )#reference
50 hltBPHmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 0,1,2,3,5,6,7,8,9,12,13,14,15,16,17,20,22,24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !TODO
51 hltBPHmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
52 hltBPHmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
53 hltBPHmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
54