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