CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HiggsMonitoring_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 hltHIGmonitoring = topMonitoring.clone()
6 #hltHIGmonitoring.FolderName = cms.string('HLT/Higgs/default/')
7 hltHIGmonitoring.FolderName = cms.string('HLT/HIG/default/')
8 hltHIGmonitoring.histoPSet.lsPSet = cms.PSet(
9  nbins = cms.uint32 ( 250 ),
10  xmin = cms.double( 0.),
11  xmax = cms.double( 2500.),
12 )
13 hltHIGmonitoring.histoPSet.metPSet = cms.PSet(
14  nbins = cms.uint32 ( 30 ),
15  xmin = cms.double( 0 ),
16  xmax = cms.double( 300 ),
17 )
18 hltHIGmonitoring.histoPSet.lsPSet = cms.PSet(
19  nbins = cms.uint32( 2500 ),
20 )
21 hltHIGmonitoring.histoPSet.ptPSet = cms.PSet(
22  nbins = cms.uint32 ( 60 ),
23  xmin = cms.double( 0 ),
24  xmax = cms.double( 300 ),
25 )
26 hltHIGmonitoring.histoPSet.phiPSet = cms.PSet(
27  nbins = cms.uint32 ( 32 ),
28  xmin = cms.double( -3.2 ),
29  xmax = cms.double( 3.2 ),
30 )
31 hltHIGmonitoring.histoPSet.etaPSet = cms.PSet(
32  nbins = cms.uint32 ( 30 ),
33  xmin = cms.double( -3.0 ),
34  xmax = cms.double( 3.0 ),
35 )
36 hltHIGmonitoring.histoPSet.htPSet = cms.PSet(
37  nbins = cms.uint32 ( 60 ),
38  xmin = cms.double( 0 ),
39  xmax = cms.double( 600 ),
40 )
41 
42 # Marina
43 hltHIGmonitoring.histoPSet.csvPSet = cms.PSet(
44  nbins = cms.uint32 ( 50 ),
45  xmin = cms.double( 0.0 ),
46  xmax = cms.double( 1.0 ),
47 )
48 
49 hltHIGmonitoring.histoPSet.DRPSet = cms.PSet(
50  nbins = cms.uint32 ( 60 ),
51  xmin = cms.double( 0.0 ),
52  xmax = cms.double( 6.0 ),
53 )
54 
55 hltHIGmonitoring.applyLeptonPVcuts = True
56 hltHIGmonitoring.leptonPVcuts = cms.PSet(
57  dxy = cms.double( 0.5 ),
58  dz = cms.double( 1. ),
59 )
60 hltHIGmonitoring.histoPSet.invMassPSet = cms.PSet(
61  nbins = cms.uint32( 40 ),
62  xmin = cms.double( 0.0 ),
63  xmax = cms.double( 80.0 ),
64 )
65 hltHIGmonitoring.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 hltHIGmonitoring.histoPSet.metBinning = cms.vdouble(0,20,40,60,80,100,125,150,175,200)
74 hltHIGmonitoring.histoPSet.HTBinning = cms.vdouble(0,20,40,60,80,100,125,150,175,200,300,400,500,700)
75 #Eta binning
76 hltHIGmonitoring.histoPSet.eleEtaBinning = cms.vdouble(-2.5,-2.4,-2.3,-2.2,-2.1,-2.0,-1.9,-1.8,-1.7,-1.566,-1.4442,-1.3,-1.2,-1.1,-1.0,-0.9,-0.8,-0.7,-0.6,-0.5,-0.4,-0.3,-0.2,-0.1,0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.1,1.2,1.3,1.4442,1.566,1.7,1.8,1.9,2.0,2.1,2.2,2.3,2.4,2.5)
77 hltHIGmonitoring.histoPSet.jetEtaBinning = cms.vdouble(-4.7,-3.2,-3.0,-2.5,-2.1,-1.8,-1.5,-1.2,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.2,1.5,1.8,2.1,2.5,3.0,3.2,4.7)
78 hltHIGmonitoring.histoPSet.muEtaBinning = cms.vdouble(-2.4,-2.1,-1.7,-1.2,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.2,1.7,2.1,2.4)
79 #pt binning
80 hltHIGmonitoring.histoPSet.elePtBinning = cms.vdouble(0,3,5,8,10,15,20,25,30,40,50,60,80,120,200,400)
81 hltHIGmonitoring.histoPSet.jetPtBinning = cms.vdouble(0,3,5,8,10,15,20,25,30,40,50,60,80,120,200,400)
82 hltHIGmonitoring.histoPSet.muPtBinning = cms.vdouble(0,3,5,8,10,15,20,25,30,40,50,60,80,120,200,400)
83 #Eta binning 2D
84 hltHIGmonitoring.histoPSet.eleEtaBinning2D = cms.vdouble(-2.5,-2.4,-2.3,-2.2,-2.1,-2.0,-1.9,-1.8,-1.7,-1.566,-1.4442,-1.3,-1.2,-1.1,-1.0,-0.9,-0.8,-0.7,-0.6,-0.5,-0.4,-0.3,-0.2,-0.1,0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.1,1.2,1.3,1.4442,1.566,1.7,1.8,1.9,2.0,2.1,2.2,2.3,2.4,2.5)
85 hltHIGmonitoring.histoPSet.jetEtaBinning2D = cms.vdouble(-4.7,-3.2,-3.0,-2.5,-2.1,-1.8,-1.5,-1.2,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.2,1.5,1.8,2.1,2.5,3.0,3.2,4.7)
86 hltHIGmonitoring.histoPSet.muEtaBinning2D = cms.vdouble(-2.4,-2.1,-1.7,-1.2,-0.9,-0.6,-0.3,-0.1,0,0.1,0.3,0.6,0.9,1.2,1.7,2.1,2.4)
87 
88 #pt binning 2D
89 hltHIGmonitoring.histoPSet.elePtBinning2D = cms.vdouble(0,15,20,30,40,60,80,100,200,400)
90 hltHIGmonitoring.histoPSet.jetPtBinning2D = cms.vdouble(0,15,20,30,40,60,80,100,200,400)
91 hltHIGmonitoring.histoPSet.muPtBinning2D = cms.vdouble(0,15,20,30,40,60,80,100,200,400)
92 #HT and phi binning 2D
93 hltHIGmonitoring.histoPSet.HTBinning2D = cms.vdouble(0,20,40,70,100,150,200,400,700)
94 hltHIGmonitoring.histoPSet.phiBinning2D = cms.vdouble(-3.1416,-2.5132,-1.8849,-1.2566,-0.6283,0,0.6283,1.2566,1.8849,2.5132,3.1416)
95 
96 
97 hltHIGmonitoring.met = cms.InputTag("pfMetEI") # pfMet
98 hltHIGmonitoring.jets = cms.InputTag("pfJetsEI") # ak4PFJets, ak4PFJetsCHS
99 hltHIGmonitoring.electrons = cms.InputTag("gedGsfElectrons") # while pfIsolatedElectronsEI are reco::PFCandidate !
100 hltHIGmonitoring.muons = cms.InputTag("muons") # while pfIsolatedMuonsEI are reco::PFCandidate !
101 hltHIGmonitoring.vertices = cms.InputTag("offlinePrimaryVertices")
102 
103 hltHIGmonitoring.HTdefinition = cms.string('pt>30 & abs(eta)<2.5')
104 hltHIGmonitoring.leptJetDeltaRmin = cms.double(0.4)
105 hltHIGmonitoring.eleSelection = cms.string('pt > 7. && abs(eta) < 2.5')
106 hltHIGmonitoring.muoSelection = cms.string('pt > 5 && abs(eta) < 2.4 && (isGlobalMuon || (isTrackerMuon && numberOfMatches>0)) && muonBestTrackType != 2')
107 hltHIGmonitoring.vertexSelection = cms.string('!isFake && ndof > 4 && abs(z) <= 24 && position.Rho <= 2')
108 
109 hltHIGmonitoring.nmuons = cms.uint32(0)
110 hltHIGmonitoring.nelectrons = cms.uint32(0)
111 hltHIGmonitoring.njets = cms.uint32(0)
112 
113 
114 hltHIGmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
115 hltHIGmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
116 hltHIGmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
117 hltHIGmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
118 hltHIGmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
119 
120 hltHIGmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
121 hltHIGmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
122 hltHIGmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
123 hltHIGmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
124 hltHIGmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
125 hltHIGmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
126 hltHIGmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
127 hltHIGmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
128 hltHIGmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
129