CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 as _bphMonitoring
4 
5 hltBPHmonitoring = _bphMonitoring.clone()
6 
7 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
8 stage2L1Trigger.toModify(hltBPHmonitoring, stageL1Trigger = 2)
9 
10 #hltBPHmonitoring.options = cms.untracked.PSet(
11 # SkipEvent = cms.untracked.vstring('ProductNotFound')
12 #)
13 hltBPHmonitoring.FolderName = cms.string('HLT/BPH/Dimuon_10_Jpsi_Barrel/')
14 hltBPHmonitoring.tnp = cms.bool(True)
15 hltBPHmonitoring.max_dR = cms.double(1.4)
16 hltBPHmonitoring.minmass = cms.double(2.596)
17 hltBPHmonitoring.maxmass = cms.double(3.596)
18 hltBPHmonitoring.Upsilon = cms.int32(0)
19 hltBPHmonitoring.Jpsi = cms.int32(0)
20 hltBPHmonitoring.seagull = cms.int32(0)
21 hltBPHmonitoring.ptCut = cms.int32(0)
22 hltBPHmonitoring.displaced = cms.int32(0)
23 
24 hltBPHmonitoring.histoPSet.ptBinning = [-0.5, 0, 2, 4, 8, 10, 12, 16, 20, 25, 30, 35, 40, 50]
25 
26 hltBPHmonitoring.histoPSet.dMuPtBinning = [6, 8, 12, 16, 20, 25, 30, 35, 40, 50, 70]
27 
28 hltBPHmonitoring.histoPSet.phiPSet = cms.PSet(
29  nbins = cms.uint32(8),
30  xmin = cms.double(-3.2),
31  xmax = cms.double(3.2),
32 )
33 hltBPHmonitoring.histoPSet.etaPSet = cms.PSet(
34  nbins = cms.uint32(12),
35  xmin = cms.double(-2.4),
36  xmax = cms.double(2.4),
37 )
38 hltBPHmonitoring.histoPSet.d0PSet = cms.PSet(
39  nbins = cms.uint32(50),
40  xmin = cms.double(-5.),
41  xmax = cms.double(5),
42 )
43 hltBPHmonitoring.histoPSet.z0PSet = cms.PSet(
44  nbins = cms.uint32(60),
45  xmin = cms.double(-15),
46  xmax = cms.double(15),
47 )
48 
49 hltBPHmonitoring.histoPSet.dRPSet = cms.PSet(
50  nbins = cms.uint32(26),
51  xmin = cms.double(0),
52  xmax = cms.double(1.3),
53 )
54 
55 hltBPHmonitoring.histoPSet.massPSet = cms.PSet(
56  nbins = cms.uint32(140),
57  xmin = cms.double(0),
58  xmax = cms.double(7.),
59 )
60 hltBPHmonitoring.histoPSet.BmassPSet = cms.PSet(
61  nbins = cms.uint32(20),
62  xmin = cms.double(5.1),
63  xmax = cms.double(5.5),
64 )
65 
66 hltBPHmonitoring.histoPSet.dcaPSet = cms.PSet(
67  nbins = cms.uint32(10),
68  xmin = cms.double(0),
69  xmax = cms.double(0.5),
70 )
71 
72 hltBPHmonitoring.histoPSet.dsPSet = cms.PSet(
73  nbins = cms.uint32(15),
74  xmin = cms.double(0),
75  xmax = cms.double(60),
76 )
77 
78 hltBPHmonitoring.histoPSet.cosPSet = cms.PSet(
79  nbins = cms.uint32(10),
80  xmin = cms.double(0.9),
81  xmax = cms.double(1),
82 )
83 
84 hltBPHmonitoring.histoPSet.probBinning = [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]
85 
86 hltBPHmonitoring.tracks = cms.InputTag("generalTracks") # tracks??
87 hltBPHmonitoring.offlinePVs = cms.InputTag("offlinePrimaryVertices") # PVs
88 hltBPHmonitoring.beamSpot = cms.InputTag("offlineBeamSpot") #
89 
90 hltBPHmonitoring.muons = cms.InputTag("muons") #
91 hltBPHmonitoring.photons = cms.InputTag("photons") #
92 hltBPHmonitoring.hltTriggerSummaryAOD = cms.InputTag("hltTriggerSummaryAOD","","HLT")
93 #hltBPHmonitoring.DMSelection_ref = cms.string("")
94 #hltBPHmonitoring.muoSelection_ref = cms.string("")
95 #hltBPHmonitoring.muoSelection_ = cms.string("")
96 
97 hltBPHmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
98 #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 !
99 hltBPHmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
100 hltBPHmonitoring.numGenericTriggerEventPSet.andOrL1 = cms.bool(True)# True:=OR; False:=AND
101 hltBPHmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT")
102 hltBPHmonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_Dimuon0_Jpsi_L1_NoOS_v*") # HLT_ZeroBias_v*
103 #hltBPHmonitoring.numGenericTriggerEventPSet.l1Algorithms = cms.vstring("L1_DoubleMu0_SQ") # HLT_ZeroBias_v*
104 #hltBPHmonitoring.numGenericTriggerEventPSet.hltDBKey = cms.string("diMu10")
105 hltBPHmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
106 hltBPHmonitoring.numGenericTriggerEventPSet.errorReplyL1 = cms.bool( True )
107 hltBPHmonitoring.numGenericTriggerEventPSet.l1BeforeMask = cms.bool( True )
108 hltBPHmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
109 
110 hltBPHmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
111 hltBPHmonitoring.denGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
112 #hltBPHmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
113 hltBPHmonitoring.denGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
114 hltBPHmonitoring.denGenericTriggerEventPSet.hltPaths = cms.vstring( "HLT_Mu7p5_Track2_Jpsi_v*" )#reference
115 #hltBPHmonitoring.denGenericTriggerEventPSet.l1Algorithms = cms.vstring("L1_DoubleMu0_SQ") # HLT_ZeroBias_v*
116 #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
117 hltBPHmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
118 hltBPHmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
119 hltBPHmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)