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.options = cms.untracked.PSet(
7 # SkipEvent = cms.untracked.vstring('ProductNotFound')
8 #)
9 hltBPHmonitoring.FolderName = cms.string('HLT/BPH/Dimuon_10_Jpsi_Barrel/')
10 hltBPHmonitoring.tnp = cms.bool(True)
11 hltBPHmonitoring.minmass = cms.double(2.596)
12 hltBPHmonitoring.maxmass = cms.double(3.596)
13 hltBPHmonitoring.Upsilon = cms.int32(0)
14 hltBPHmonitoring.Jpsi = cms.int32(0)
15 hltBPHmonitoring.seagull = cms.int32(0)
16 hltBPHmonitoring.histoPSet.ptPSet = cms.PSet(
17  edges = cms.vdouble(-0.5, 0, 2, 4, 8, 10, 12, 14, 16, 18, 20, 22, 25, 30, 35, 40, 50, 70),
18 )
19 hltBPHmonitoring.histoPSet.phiPSet = cms.PSet(
20  nbins = cms.int32 ( 64 ),
21  xmin = cms.double( -3.2),
22  xmax = cms.double(3.2),
23 )
24 hltBPHmonitoring.histoPSet.etaPSet = cms.PSet(
25  nbins = cms.int32 ( 24 ),
26  xmin = cms.double( -2.4),
27  xmax = cms.double(2.4),
28 )
29 hltBPHmonitoring.histoPSet.d0PSet = cms.PSet(
30  nbins = cms.int32 ( 50 ),
31  xmin = cms.double( -5.),
32  xmax = cms.double(5),
33 )
34 hltBPHmonitoring.histoPSet.z0PSet = cms.PSet(
35  nbins = cms.int32 ( 60 ),
36  xmin = cms.double( -15),
37  xmax = cms.double(15),
38 )
39 
40 hltBPHmonitoring.histoPSet.dRPSet = cms.PSet(
41  nbins = cms.int32 ( 20 ),
42  xmin = cms.double( 0),
43  xmax = cms.double(2.0),
44 )
45 
46 hltBPHmonitoring.histoPSet.massPSet = cms.PSet(
47  nbins = cms.int32 ( 30 ),
48  xmin = cms.double( 0),
49  xmax = cms.double(30.0),
50 )
51 hltBPHmonitoring.histoPSet.dcaPSet = cms.PSet(
52  nbins = cms.int32 ( 40 ),
53  xmin = cms.double( 0),
54  xmax = cms.double(2.),
55 )
56 
57 hltBPHmonitoring.histoPSet.dsPSet = cms.PSet(
58  nbins = cms.int32 ( 50),
59  xmin = cms.double( 0),
60  xmax = cms.double( 50),
61 )
62 
63 hltBPHmonitoring.histoPSet.cosPSet = cms.PSet(
64  nbins = cms.int32 ( 20),
65  xmin = cms.double( 0.8),
66  xmax = cms.double(1),
67 )
68 hltBPHmonitoring.histoPSet.probPSet = cms.PSet(
69  nbins = cms.int32 ( 40),
70  xmin = cms.double( 0),
71  xmax = cms.double(1),
72 )
73 
74 hltBPHmonitoring.tracks = cms.InputTag("generalTracks") # tracks??
75 hltBPHmonitoring.offlinePVs = cms.InputTag("offlinePrimaryVertices") # PVs
76 hltBPHmonitoring.beamSpot = cms.InputTag("offlineBeamSpot") #
77 hltBPHmonitoring.muons = cms.InputTag("muons") #
78 hltBPHmonitoring.photons = cms.InputTag("photons") #
79 hltBPHmonitoring.hltTriggerSummaryAOD = cms.InputTag("hltTriggerSummaryAOD","","HLT")
80 #hltBPHmonitoring.DMSelection_ref = cms.string("")
81 #hltBPHmonitoring.muoSelection_ref = cms.string("")
82 #hltBPHmonitoring.muoSelection_ = cms.string("")
83 
84 hltBPHmonitoring.PrescaleTriggerEventPSet.prescaleWeightVerbosityLevel = cms.uint32( 0 )
85 hltBPHmonitoring.PrescaleTriggerEventPSet.prescaleWeightTriggerResults = cms.InputTag( "TriggerResults::HLT" )
86 hltBPHmonitoring.PrescaleTriggerEventPSet.prescaleWeightL1GtTriggerMenuLite = cms.InputTag( "l1GtTriggerMenuLite" )
87 hltBPHmonitoring.PrescaleTriggerEventPSet.prescaleWeightHltPaths = cms.vstring( "HLT_Dimuon0_Jpsi_L1_NoOS_v*" )
88 
89 
90 hltBPHmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
91 #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 !
92 hltBPHmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
93 hltBPHmonitoring.numGenericTriggerEventPSet.andOrL1 = cms.bool(True)# True:=OR; False:=AND
94 hltBPHmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT")
95 hltBPHmonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Dimuon0_Jpsi_L1_NoOS_v*") # HLT_ZeroBias_v*
96 #hltBPHmonitoring.numGenericTriggerEventPSet.l1Algorithms = cms.vstring("L1_DoubleMu0_SQ") # HLT_ZeroBias_v*
97 #hltBPHmonitoring.numGenericTriggerEventPSet.hltDBKey = cms.string("diMu10")
98 hltBPHmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
99 hltBPHmonitoring.numGenericTriggerEventPSet.errorReplyL1 = cms.bool( True )
100 hltBPHmonitoring.numGenericTriggerEventPSet.l1BeforeMask = cms.bool( True )
101 hltBPHmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
102 
103 hltBPHmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
104 hltBPHmonitoring.denGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
105 #hltBPHmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
106 hltBPHmonitoring.denGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
107 hltBPHmonitoring.denGenericTriggerEventPSet.hltPaths = cms.vstring( "HLT_Mu7p5_Track2_Jpsi_v*" )#reference
108 #hltBPHmonitoring.denGenericTriggerEventPSet.l1Algorithms = cms.vstring("L1_DoubleMu0_SQ") # HLT_ZeroBias_v*
109 #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
110 hltBPHmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
111 hltBPHmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
112 hltBPHmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
113