CMS 3D CMS Logo

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