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 hltTOPmonitoring.enableMETplot = cms.bool(False)
74 
75 #MET and HT binning
76 hltTOPmonitoring.histoPSet.metBinning = cms.vdouble(0,20,40,60,80,100,125,150,175,200)
77 hltTOPmonitoring.histoPSet.HTBinning = cms.vdouble(0,20,40,60,80,100,125,150,175,200,300,400,500,700)
78 #Eta binning
79 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)
80 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)
81 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)
82 #pt binning
83 hltTOPmonitoring.histoPSet.elePtBinning = cms.vdouble(0,5,10,20,30,40,50,70,100,200,400)
84 hltTOPmonitoring.histoPSet.jetPtBinning = cms.vdouble(0,5,10,20,30,40,50,70,100,200,400)
85 hltTOPmonitoring.histoPSet.muPtBinning = cms.vdouble(0,5,10,20,30,40,50,70,100,200,400)
86 #Eta binning 2D
87 hltTOPmonitoring.histoPSet.eleEtaBinning2D = cms.vdouble(-2.5,-1.5,-0.6,0.,0.6,1.5,2.5)
88 hltTOPmonitoring.histoPSet.jetEtaBinning2D = cms.vdouble(-2.5,-1.5,-0.6,0.,0.6,1.5,2.5)
89 hltTOPmonitoring.histoPSet.muEtaBinning2D = cms.vdouble(-2.5,-1.5,-0.6,0.,0.6,1.5,2.5)
90 hltTOPmonitoring.histoPSet.phoEtaBinning2D = cms.vdouble(-2.5,-1.5,-0.6,0.,0.6,1.5,2.5)
91 #pt binning 2D
92 hltTOPmonitoring.histoPSet.elePtBinning2D = cms.vdouble(0,20,30,50,100,200,400)
93 hltTOPmonitoring.histoPSet.jetPtBinning2D = cms.vdouble(0,20,30,50,100,200,400)
94 hltTOPmonitoring.histoPSet.muPtBinning2D = cms.vdouble(0,20,30,50,100,200,400)
95 hltTOPmonitoring.histoPSet.phoPtBinning2D = cms.vdouble(0,20,30,50,100,200,400)
96 #HT and phi binning 2D
97 hltTOPmonitoring.histoPSet.HTBinning2D = cms.vdouble(0,20,40,70,100,150,200,400,700)
98 hltTOPmonitoring.histoPSet.phiBinning2D = cms.vdouble(-3.1416,-1.8849,-0.6283,0.6283,1.8849,3.1416)
99 
100 
101 hltTOPmonitoring.met = cms.InputTag("pfMetEI") # pfMet
102 hltTOPmonitoring.jets = cms.InputTag("ak4PFJetsCHS") # ak4PFJets, ak4PFJetsCHS, pfJetsEI
103 hltTOPmonitoring.electrons = cms.InputTag("gedGsfElectrons") # while pfIsolatedElectronsEI are reco::PFCandidate !
104 hltTOPmonitoring.elecID = cms.InputTag("egmGsfElectronIDsForDQM:cutBasedElectronID-Fall17-94X-V1-tight") #Electron ID
105 
106 hltTOPmonitoring.muons = cms.InputTag("muons") # while pfIsolatedMuonsEI are reco::PFCandidate !
107 hltTOPmonitoring.photons = cms.InputTag("photons") #reco::Photon
108 #Suvankar
109 hltTOPmonitoring.vertices = cms.InputTag("offlinePrimaryVertices")
110 
111 # Marina
112 hltTOPmonitoring.btagalgo = cms.InputTag("pfCombinedSecondaryVertexV2BJetTags")
113 hltTOPmonitoring.workingpoint = cms.double(0.8484) # Medium
114 hltTOPmonitoring.bbtagalgo = cms.InputTag("pfDeepCSVJetTags:probbb")
115 
116 hltTOPmonitoring.HTdefinition = cms.string('pt>30 & abs(eta)<2.5')
117 hltTOPmonitoring.leptJetDeltaRmin = cms.double(0.4)
118 hltTOPmonitoring.bJetMuDeltaRmax = cms.double(9999.)
119 hltTOPmonitoring.bJetDeltaEtaMax = cms.double(9999.)
120 
121 hltTOPmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
122 hltTOPmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
123 hltTOPmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
124 hltTOPmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
125 hltTOPmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
126 
127 hltTOPmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
128 hltTOPmonitoring.denGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
129 hltTOPmonitoring.denGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
130 hltTOPmonitoring.denGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
131 hltTOPmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
132 hltTOPmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
133 hltTOPmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
134 hltTOPmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
135 hltTOPmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
136 #george
137 hltTOPmonitoring.MHTdefinition = cms.string('pt>30 & abs(eta)<2.5')
138 hltTOPmonitoring.MHTcut = cms.double(-1)
139 hltTOPmonitoring.invMassUppercut=cms.double(-1.0)
140 hltTOPmonitoring.invMassLowercut=cms.double(-1.0)
141 hltTOPmonitoring.oppositeSignMuons=cms.bool(False)
142 hltTOPmonitoring.invMassCutInAllMuPairs=cms.bool(False)