CMS 3D CMS Logo

MssmHbbMonitoring_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 mssmHbbMonitoring = topMonitoring.clone()
6 #mssmHbbMonitoring.FolderName = cms.string('HLT/Higgs/default/')
7 mssmHbbMonitoring.FolderName = cms.string('HLT/HIG/default/')
8 mssmHbbMonitoring.histoPSet.lsPSet = cms.PSet(
9  nbins = cms.uint32 ( 250 ),
10  xmin = cms.double( 0.),
11  xmax = cms.double( 2500.),
12 )
13 mssmHbbMonitoring.histoPSet.metPSet = cms.PSet(
14  nbins = cms.uint32( 30 ),
15  xmin = cms.double( 0 ),
16  xmax = cms.double( 300 ),
17 )
18 mssmHbbMonitoring.histoPSet.ptPSet = cms.PSet(
19  nbins = cms.uint32( 100 ), #60
20  xmin = cms.double( 0 ),
21  xmax = cms.double( 1000 ), #300
22 )
23 mssmHbbMonitoring.histoPSet.lsPSet = cms.PSet(
24  nbins = cms.uint32( 2500 ),
25 )
26 mssmHbbMonitoring.histoPSet.phiPSet = cms.PSet(
27  nbins = cms.uint32( 32 ),
28  xmin = cms.double( -3.2 ),
29  xmax = cms.double( 3.2 ),
30 )
31 mssmHbbMonitoring.histoPSet.etaPSet = cms.PSet(
32  nbins = cms.uint32( 24 ),
33  xmin = cms.double( -2.4 ),
34  xmax = cms.double( 2.4 ),
35 )
36 mssmHbbMonitoring.histoPSet.htPSet = cms.PSet(
37  nbins = cms.uint32( 100 ), #60
38  xmin = cms.double( 0 ),
39  xmax = cms.double( 1000 ), #600
40 )
41 # Marina
42 mssmHbbMonitoring.histoPSet.csvPSet = cms.PSet(
43  nbins = cms.uint32( 50 ),
44  xmin = cms.double( 0.0 ),
45  xmax = cms.double( 1.0 ),
46 )
47 #BTV
48 mssmHbbMonitoring.histoPSet.DRPSet = cms.PSet(
49  nbins = cms.uint32( 60 ),
50  xmin = cms.double( 0.0 ),
51  xmax = cms.double( 6.0 ),
52 )
53 
54 #Suvankar
55 mssmHbbMonitoring.applyleptonPVcuts = cms.bool(False)
56 mssmHbbMonitoring.leptonPVcuts = cms.PSet(
57  dxy = cms.double( 9999. ),
58  dz = cms.double( 9999. ),
59 )
60 mssmHbbMonitoring.histoPSet.invMassPSet = cms.PSet(
61  nbins = cms.uint32( 40 ),
62  xmin = cms.double( 0.0 ),
63  xmax = cms.double( 80.0 ),
64 )
65 mssmHbbMonitoring.histoPSet.MHTPSet = cms.PSet(
66  nbins = cms.uint32( 80 ),
67  xmin = cms.double( 60 ),
68  xmax = cms.double( 300 ),
69 )
70 
71 #MET and HT binning
72 mssmHbbMonitoring.histoPSet.metBinning = cms.vdouble(0,20,40,60,80,100,125,150,175,200)
73 mssmHbbMonitoring.histoPSet.HTBinning = cms.vdouble(0,20,40,60,80,100,125,150,175,200,300,400,500,700)
74 #Eta binning
75 mssmHbbMonitoring.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)
76 mssmHbbMonitoring.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)
77 mssmHbbMonitoring.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)
78 #pt binning
79 #mssmHbbMonitoring.histoPSet.elePtBinning = cms.vdouble(0,5,10,20,30,40,50,70,100,200,400)
80 #mssmHbbMonitoring.histoPSet.jetPtBinning = cms.vdouble(0,5,10,20,30,40,50,70,100,200,400)
81 #mssmHbbMonitoring.histoPSet.muPtBinning = cms.vdouble(0,5,10,20,30,40,50,70,100,200,400)
82 mssmHbbMonitoring.histoPSet.elePtBinning = cms.vdouble(0,3,5,8,15,20,25,30,40,50,60,80,120,200,400,700)
83 mssmHbbMonitoring.histoPSet.jetPtBinning = cms.vdouble(0,3,5,8,15,20,25,30,40,50,70,100,150,200,400,700,1000,1500)
84 mssmHbbMonitoring.histoPSet.muPtBinning = cms.vdouble(0,3,5,7,10,15,20,30,40,50,70,100,150,200,400,700)
85 #Eta binning 2D
86 mssmHbbMonitoring.histoPSet.eleEtaBinning2D = cms.vdouble(-2.5,-1.5,-0.6,0.,0.6,1.5,2.5)
87 mssmHbbMonitoring.histoPSet.jetEtaBinning2D = cms.vdouble(-2.5,-1.5,-0.6,0.,0.6,1.5,2.5)
88 mssmHbbMonitoring.histoPSet.muEtaBinning2D = cms.vdouble(-2.5,-1.5,-0.6,0.,0.6,1.5,2.5)
89 #pt binning 2D
90 #mssmHbbMonitoring.histoPSet.elePtBinning2D = cms.vdouble(0,20,30,50,100,200,400)
91 #mssmHbbMonitoring.histoPSet.jetPtBinning2D = cms.vdouble(0,20,30,50,100,200,400)
92 #mssmHbbMonitoring.histoPSet.muPtBinning2D = cms.vdouble(0,20,30,50,100,200,400)
93 mssmHbbMonitoring.histoPSet.elePtBinning2D = cms.vdouble(0,15,20,30,40,60,80,100,200,400)
94 mssmHbbMonitoring.histoPSet.jetPtBinning2D = cms.vdouble(0,15,20,30,40,60,80,100,200,400)
95 mssmHbbMonitoring.histoPSet.muPtBinning2D = cms.vdouble(0,15,20,30,40,60,80,100,200,400)
96 #HT and phi binning 2D
97 mssmHbbMonitoring.histoPSet.HTBinning2D = cms.vdouble(0,20,40,70,100,150,200,400,700)
98 mssmHbbMonitoring.histoPSet.phiBinning2D = cms.vdouble(-3.1416,-1.8849,-0.6283,0.6283,1.8849,3.1416)
99 
100 
101 mssmHbbMonitoring.met = cms.InputTag("pfMetEI") # pfMet
102 mssmHbbMonitoring.jets = cms.InputTag("ak4PFJetsCHS") # ak4PFJets, ak4PFJetsCHS, pfJetsEI
103 mssmHbbMonitoring.electrons = cms.InputTag("gedGsfElectrons") # while pfIsolatedElectronsEI are reco::PFCandidate !
104 mssmHbbMonitoring.muons = cms.InputTag("muons") # while pfIsolatedMuonsEI are reco::PFCandidate !
105 #Suvankar
106 mssmHbbMonitoring.vertices = cms.InputTag("offlinePrimaryVertices")
107 
108 # Marina
109 mssmHbbMonitoring.btagalgo = cms.InputTag("pfCombinedSecondaryVertexV2BJetTags")
110 mssmHbbMonitoring.workingpoint = cms.double(0.92) # tight
111 
112 
113 mssmHbbMonitoring.HTdefinition = cms.string('pt>30 & abs(eta)<2.5')
114 #mssmHbbMonitoring.leptJetDeltaRmin = cms.double(0.4) # MuonJet dRcone
115 
116 #always monitor CSV score for one jet if set DeltaRmin = 0.0 and WP to -1
117 #mssmHbbMonitoring.nbjets = cms.uint32(1)
118 #mssmHbbMonitoring.bjetSelection = cms.string('pt>30 & abs(eta)<2.4')
119 
120 mssmHbbMonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
121 mssmHbbMonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
122 mssmHbbMonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" ) #change to HLT for PR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
123 mssmHbbMonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
124 mssmHbbMonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
125 
126 mssmHbbMonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
127 mssmHbbMonitoring.denGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
128 mssmHbbMonitoring.denGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" ) #change to HLT for PR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
129 mssmHbbMonitoring.denGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
130 mssmHbbMonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
131 mssmHbbMonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
132 mssmHbbMonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
133 mssmHbbMonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
134 mssmHbbMonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
135