CMS 3D CMS Logo

TopMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Trigger.topMonitoring_cfi import topMonitoring
4 
5 hltTOPmonitoring = topMonitoring.clone()
6 hltTOPmonitoring.FolderName = cms.string('HLT/TOP/default/')
7 hltTOPmonitoring.histoPSet.lsPSet = cms.PSet(
8  nbins = cms.uint32 ( 250 ),
9  xmin = cms.double( 0.),
10  xmax = cms.double( 2500.),
11 )
12 hltTOPmonitoring.histoPSet.metPSet = cms.PSet(
13  nbins = cms.uint32( 30 ),
14  xmin = cms.double( 0 ),
15  xmax = cms.double( 300 ),
16 )
17 hltTOPmonitoring.histoPSet.ptPSet = cms.PSet(
18  nbins = cms.uint32( 60 ),
19  xmin = cms.double( 0 ),
20  xmax = cms.double( 300 ),
21 )
22 hltTOPmonitoring.histoPSet.lsPSet = cms.PSet(
23  nbins = cms.uint32( 2500 ),
24 )
25 hltTOPmonitoring.histoPSet.phiPSet = cms.PSet(
26  nbins = cms.uint32( 32 ),
27  xmin = cms.double( -3.2 ),
28  xmax = cms.double( 3.2 ),
29 )
30 hltTOPmonitoring.histoPSet.etaPSet = cms.PSet(
31  nbins = cms.uint32( 24 ),
32  xmin = cms.double( -2.4 ),
33  xmax = cms.double( 2.4 ),
34 )
35 hltTOPmonitoring.histoPSet.htPSet = cms.PSet(
36  nbins = cms.uint32( 60 ),
37  xmin = cms.double( 0 ),
38  xmax = cms.double( 600 ),
39 )
40 # Marina
41 hltTOPmonitoring.histoPSet.csvPSet = cms.PSet(
42  nbins = cms.uint32( 50 ),
43  xmin = cms.double( 0.0 ),
44  xmax = cms.double( 1.0 ),
45 )
46 #BTV
47 hltTOPmonitoring.histoPSet.DRPSet = cms.PSet(
48  nbins = cms.uint32( 60 ),
49  xmin = cms.double( 0.0 ),
50  xmax = cms.double( 6.0 ),
51 )
52 
53 #Suvankar
54 hltTOPmonitoring.applyleptonPVcuts = cms.bool(False)
55 hltTOPmonitoring.leptonPVcuts = cms.PSet(
56  dxy = cms.double( 9999. ),
57  dz = cms.double( 9999. ),
58 )
59 #george
60 hltTOPmonitoring.histoPSet.invMassPSet = cms.PSet(
61  nbins = cms.uint32( 40 ),
62  xmin = cms.double( 0.0 ),
63  xmax = cms.double( 80.0 ),
64 )
65 hltTOPmonitoring.histoPSet.MHTPSet = cms.PSet(
66  nbins = cms.uint32( 80 ),
67  xmin = cms.double( 60 ),
68  xmax = cms.double( 300 ),
69 )
70 
71 
72 hltTOPmonitoring.enablePhotonPlot = cms.bool(False)
73 
74 #MET and HT binning
75 hltTOPmonitoring.histoPSet.metBinning = cms.vdouble(0,20,40,60,80,100,125,150,175,200)
76 hltTOPmonitoring.histoPSet.HTBinning = cms.vdouble(0,20,40,60,80,100,125,150,175,200,300,400,500,700)
77 #Eta binning
78 hltTOPmonitoring.histoPSet.eleEtaBinning = cms.vdouble(-2.4,-2.1,-1.5,-0.9,-0.3,0.,0.3,0.9,1.5,2.1,2.4)
79 hltTOPmonitoring.histoPSet.jetEtaBinning = cms.vdouble(-2.4,-2.1,-1.5,-0.9,-0.3,0.,0.3,0.9,1.5,2.1,2.4)
80 hltTOPmonitoring.histoPSet.muEtaBinning = cms.vdouble(-2.4,-2.1,-1.5,-0.9,-0.3,0.,0.3,0.9,1.5,2.1,2.4)
81 #pt binning
82 hltTOPmonitoring.histoPSet.elePtBinning = cms.vdouble(0,5,10,20,30,40,50,70,100,200,400)
83 hltTOPmonitoring.histoPSet.jetPtBinning = cms.vdouble(0,5,10,20,30,40,50,70,100,200,400)
84 hltTOPmonitoring.histoPSet.muPtBinning = cms.vdouble(0,5,10,20,30,40,50,70,100,200,400)
85 #Eta binning 2D
86 hltTOPmonitoring.histoPSet.eleEtaBinning2D = cms.vdouble(-2.5,-1.5,-0.6,0.,0.6,1.5,2.5)
87 hltTOPmonitoring.histoPSet.jetEtaBinning2D = cms.vdouble(-2.5,-1.5,-0.6,0.,0.6,1.5,2.5)
88 hltTOPmonitoring.histoPSet.muEtaBinning2D = cms.vdouble(-2.5,-1.5,-0.6,0.,0.6,1.5,2.5)
89 hltTOPmonitoring.histoPSet.phoEtaBinning2D = cms.vdouble(-2.5,-1.5,-0.6,0.,0.6,1.5,2.5)
90 #pt binning 2D
91 hltTOPmonitoring.histoPSet.elePtBinning2D = cms.vdouble(0,20,30,50,100,200,400)
92 hltTOPmonitoring.histoPSet.jetPtBinning2D = cms.vdouble(0,20,30,50,100,200,400)
93 hltTOPmonitoring.histoPSet.muPtBinning2D = cms.vdouble(0,20,30,50,100,200,400)
94 hltTOPmonitoring.histoPSet.phoPtBinning2D = cms.vdouble(0,20,30,50,100,200,400)
95 #HT and phi binning 2D
96 hltTOPmonitoring.histoPSet.HTBinning2D = cms.vdouble(0,20,40,70,100,150,200,400,700)
97 hltTOPmonitoring.histoPSet.phiBinning2D = cms.vdouble(-3.1416,-1.8849,-0.6283,0.6283,1.8849,3.1416)
98 
99 
100 hltTOPmonitoring.met = cms.InputTag("pfMetEI") # pfMet
101 hltTOPmonitoring.jets = cms.InputTag("ak4PFJetsCHS") # ak4PFJets, ak4PFJetsCHS, pfJetsEI
102 hltTOPmonitoring.electrons = cms.InputTag("gedGsfElectrons") # while pfIsolatedElectronsEI are reco::PFCandidate !
103 hltTOPmonitoring.muons = cms.InputTag("muons") # while pfIsolatedMuonsEI are reco::PFCandidate !
104 hltTOPmonitoring.photons = cms.InputTag("photons") #reco::Photon
105 #Suvankar
106 hltTOPmonitoring.vertices = cms.InputTag("offlinePrimaryVertices")
107 
108 # Marina
109 hltTOPmonitoring.btagalgo = cms.InputTag("pfCombinedSecondaryVertexV2BJetTags")
110 hltTOPmonitoring.workingpoint = cms.double(0.8484) # Medium
111 
112 hltTOPmonitoring.HTdefinition = cms.string('pt>30 & abs(eta)<2.5')
113 hltTOPmonitoring.leptJetDeltaRmin = cms.double(0.4)
114 hltTOPmonitoring.bJetMuDeltaRmax = cms.double(9999.)
115 hltTOPmonitoring.bJetDeltaEtaMax = cms.double(9999.)
116 
117 hltTOPmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
118 hltTOPmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
119 hltTOPmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
120 hltTOPmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
121 hltTOPmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
122 
123 hltTOPmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
124 hltTOPmonitoring.denGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
125 hltTOPmonitoring.denGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
126 hltTOPmonitoring.denGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
127 hltTOPmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
128 hltTOPmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
129 hltTOPmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
130 hltTOPmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
131 hltTOPmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
132 #george
133 hltTOPmonitoring.MHTdefinition = cms.string('pt>30 & abs(eta)<2.5')
134 hltTOPmonitoring.MHTcut = cms.double(-1)
135 hltTOPmonitoring.invMassUppercut=cms.double(-1.0)
136 hltTOPmonitoring.invMassLowercut=cms.double(-1.0)
137 hltTOPmonitoring.oppositeSignMuons=cms.bool(False)
138 hltTOPmonitoring.invMassCutInAllMuPairs=cms.bool(False)