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