CMS 3D CMS Logo

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.histoPSet.metPSet = cms.PSet(
8  nbins = cms.uint32 ( 30 ),
9  xmin = cms.double( 0 ),
10  xmax = cms.double( 300 ),
11 )
12 hltHIGmonitoring.histoPSet.lsPSet = cms.PSet(
13  nbins = cms.uint32( 2500 ),
14 )
15 hltHIGmonitoring.histoPSet.ptPSet = cms.PSet(
16  nbins = cms.uint32 ( 60 ),
17  xmin = cms.double( 0 ),
18  xmax = cms.double( 300 ),
19 )
20 hltHIGmonitoring.histoPSet.phiPSet = cms.PSet(
21  nbins = cms.uint32 ( 32 ),
22  xmin = cms.double( -3.2 ),
23  xmax = cms.double( 3.2 ),
24 )
25 hltHIGmonitoring.histoPSet.etaPSet = cms.PSet(
26  nbins = cms.uint32 ( 30 ),
27  xmin = cms.double( -3.0 ),
28  xmax = cms.double( 3.0 ),
29 )
30 hltHIGmonitoring.histoPSet.htPSet = cms.PSet(
31  nbins = cms.uint32 ( 60 ),
32  xmin = cms.double( 0 ),
33  xmax = cms.double( 600 ),
34 )
35 
36 # Marina
37 hltHIGmonitoring.histoPSet.csvPSet = cms.PSet(
38  nbins = cms.uint32 ( 50 ),
39  xmin = cms.double( 0.0 ),
40  xmax = cms.double( 1.0 ),
41 )
42 
43 hltHIGmonitoring.histoPSet.DRPSet = cms.PSet(
44  nbins = cms.uint32 ( 60 ),
45  xmin = cms.double( 0.0 ),
46  xmax = cms.double( 6.0 ),
47 )
48 
49 hltHIGmonitoring.applyleptonPVcuts = cms.bool(True)
50 hltHIGmonitoring.leptonPVcuts = cms.PSet(
51  dxy = cms.double( 0.5 ),
52  dz = cms.double( 1. ),
53 )
54 hltHIGmonitoring.histoPSet.invMassPSet = cms.PSet(
55  nbins = cms.uint32( 40 ),
56  xmin = cms.double( 0.0 ),
57  xmax = cms.double( 80.0 ),
58 )
59 hltHIGmonitoring.histoPSet.MHTPSet = cms.PSet(
60  nbins = cms.uint32( 80 ),
61  xmin = cms.double( 60 ),
62  xmax = cms.double( 300 ),
63 )
64 
65 
66 #MET and HT binning
67 hltHIGmonitoring.histoPSet.metBinning = cms.vdouble(0,20,40,60,80,100,125,150,175,200)
68 hltHIGmonitoring.histoPSet.HTBinning = cms.vdouble(0,20,40,60,80,100,125,150,175,200,300,400,500,700)
69 #Eta binning
70 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)
71 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)
72 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)
73 #pt binning
74 hltHIGmonitoring.histoPSet.elePtBinning = cms.vdouble(0,3,5,8,10,15,20,25,30,40,50,60,80,120,200,400)
75 hltHIGmonitoring.histoPSet.jetPtBinning = cms.vdouble(0,3,5,8,10,15,20,25,30,40,50,60,80,120,200,400)
76 hltHIGmonitoring.histoPSet.muPtBinning = cms.vdouble(0,3,5,8,10,15,20,25,30,40,50,60,80,120,200,400)
77 #Eta binning 2D
78 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)
79 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)
80 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)
81 
82 #pt binning 2D
83 hltHIGmonitoring.histoPSet.elePtBinning2D = cms.vdouble(0,15,20,30,40,60,80,100,200,400)
84 hltHIGmonitoring.histoPSet.jetPtBinning2D = cms.vdouble(0,15,20,30,40,60,80,100,200,400)
85 hltHIGmonitoring.histoPSet.muPtBinning2D = cms.vdouble(0,15,20,30,40,60,80,100,200,400)
86 #HT and phi binning 2D
87 hltHIGmonitoring.histoPSet.HTBinning2D = cms.vdouble(0,20,40,70,100,150,200,400,700)
88 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)
89 
90 
91 hltHIGmonitoring.met = cms.InputTag("pfMetEI") # pfMet
92 hltHIGmonitoring.jets = cms.InputTag("pfJetsEI") # ak4PFJets, ak4PFJetsCHS
93 hltHIGmonitoring.electrons = cms.InputTag("gedGsfElectrons") # while pfIsolatedElectronsEI are reco::PFCandidate !
94 hltHIGmonitoring.muons = cms.InputTag("muons") # while pfIsolatedMuonsEI are reco::PFCandidate !
95 hltHIGmonitoring.vertices = cms.InputTag("offlinePrimaryVertices")
96 
97 hltHIGmonitoring.HTdefinition = cms.string('pt>30 & abs(eta)<2.5')
98 hltHIGmonitoring.leptJetDeltaRmin = cms.double(0.4)
99 hltHIGmonitoring.eleSelection = cms.string('pt > 7. && abs(eta) < 2.5')
100 hltHIGmonitoring.muoSelection = cms.string('pt > 5 && abs(eta) < 2.4 && (isGlobalMuon || (isTrackerMuon && numberOfMatches>0)) && muonBestTrackType != 2')
101 hltHIGmonitoring.vertexSelection = cms.string('!isFake && ndof > 4 && abs(z) <= 24 && position.Rho <= 2')
102 
103 hltHIGmonitoring.nmuons = cms.uint32(0)
104 hltHIGmonitoring.nelectrons = cms.uint32(0)
105 hltHIGmonitoring.njets = cms.uint32(0)
106 
107 
108 hltHIGmonitoring.numGenericTriggerEventPSet.andOr = cms.bool( False )
109 hltHIGmonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
110 hltHIGmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
111 hltHIGmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
112 hltHIGmonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
113 
114 hltHIGmonitoring.denGenericTriggerEventPSet.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.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
119 hltHIGmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
120 hltHIGmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
121 hltHIGmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
122 hltHIGmonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
123