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