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