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 
78 hltBPHmonitoring.muons = cms.InputTag("muons") #
79 hltBPHmonitoring.photons = cms.InputTag("photons") #
80 hltBPHmonitoring.hltTriggerSummaryAOD = cms.InputTag("hltTriggerSummaryAOD","","HLT")
81 #hltBPHmonitoring.DMSelection_ref = cms.string("")
82 #hltBPHmonitoring.muoSelection_ref = cms.string("")
83 #hltBPHmonitoring.muoSelection_ = cms.string("")
84 
85 
86 
87 hltBPHmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
88 #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 !
89 hltBPHmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
90 hltBPHmonitoring.numGenericTriggerEventPSet.andOrL1 = cms.bool(True)# True:=OR; False:=AND
91 hltBPHmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT")
92 hltBPHmonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Dimuon0_Jpsi_L1_NoOS_v*") # HLT_ZeroBias_v*
93 #hltBPHmonitoring.numGenericTriggerEventPSet.l1Algorithms = cms.vstring("L1_DoubleMu0_SQ") # HLT_ZeroBias_v*
94 #hltBPHmonitoring.numGenericTriggerEventPSet.hltDBKey = cms.string("diMu10")
95 hltBPHmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
96 hltBPHmonitoring.numGenericTriggerEventPSet.errorReplyL1 = cms.bool( True )
97 hltBPHmonitoring.numGenericTriggerEventPSet.l1BeforeMask = cms.bool( True )
98 hltBPHmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
99 
100 hltBPHmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
101 hltBPHmonitoring.denGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
102 #hltBPHmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
103 hltBPHmonitoring.denGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
104 hltBPHmonitoring.denGenericTriggerEventPSet.hltPaths = cms.vstring( "HLT_Mu7p5_Track2_Jpsi_v*" )#reference
105 #hltBPHmonitoring.denGenericTriggerEventPSet.l1Algorithms = cms.vstring("L1_DoubleMu0_SQ") # HLT_ZeroBias_v*
106 #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
107 hltBPHmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
108 hltBPHmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
109 hltBPHmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
110