CMS 3D CMS Logo

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