1 import FWCore.ParameterSet.Config
as cms
3 from DQMOffline.Trigger.metPlusTrackMonitoring_cfi
import metPlusTrackMonitoring
5 hltMETplusTrackMonitoring = metPlusTrackMonitoring.clone()
6 hltMETplusTrackMonitoring.FolderName = cms.string(
'HLT/MET/MET105_IsoTrk50/')
7 hltMETplusTrackMonitoring.histoPSet.lsPSet = cms.PSet(
8 nbins = cms.uint32( 250 ),
9 xmin = cms.double( 0.),
10 xmax = cms.double( 2500.),
12 hltMETplusTrackMonitoring.histoPSet.metPSet = cms.PSet(
13 nbins = cms.uint32 (100),
14 xmin = cms.double(-0.5),
15 xmax = cms.double(999.5),
17 hltMETplusTrackMonitoring.histoPSet.ptPSet = cms.PSet(
18 nbins = cms.uint32 (100),
19 xmin = cms.double(-0.5),
20 xmax = cms.double(999.5),
22 hltMETplusTrackMonitoring.histoPSet.etaPSet = cms.PSet(
23 nbins = cms.uint32 (24),
24 xmin = cms.double(-2.4),
25 xmax = cms.double(2.4),
27 hltMETplusTrackMonitoring.histoPSet.phiPSet = cms.PSet(
28 nbins = cms.uint32(32),
29 xmin = cms.double(-3.2),
30 xmax = cms.double(3.2),
34 binsLogX_METplusTrack = []
35 nBinsLogX_METplusTrack = 100
36 powerLo_METplusTrack = 0.0
37 powerHi_METplusTrack = 3.0
38 binPowerWidth_METplusTrack = (powerHi_METplusTrack - powerLo_METplusTrack) / nBinsLogX_METplusTrack
39 for ibin
in range(nBinsLogX_METplusTrack + 1):
40 binsLogX_METplusTrack.append(
pow(10, powerLo_METplusTrack + ibin * binPowerWidth_METplusTrack) )
42 hltMETplusTrackMonitoring.histoPSet.metBinning = cms.vdouble(binsLogX_METplusTrack)
43 hltMETplusTrackMonitoring.histoPSet.ptBinning = cms.vdouble(binsLogX_METplusTrack)
45 hltMETplusTrackMonitoring.met = cms.InputTag(
"caloMet")
46 hltMETplusTrackMonitoring.jets = cms.InputTag(
"pfJetsEI")
47 hltMETplusTrackMonitoring.muons = cms.InputTag(
"muons")
49 hltMETplusTrackMonitoring.muonSelection = cms.string(
'pt>26 && abs(eta)<2.1 && (pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt-0.5*pfIsolationR04.sumPUPt)/pt<0.12')
50 hltMETplusTrackMonitoring.vtxSelection = cms.string(
'ndof>=4 && abs(z)<24.0 && position.Rho<2.0')
51 hltMETplusTrackMonitoring.nmuons = cms.uint32(1)
52 hltMETplusTrackMonitoring.leadJetEtaCut = cms.double(2.4)
54 hltMETplusTrackMonitoring.numGenericTriggerEventPSet.andOr = cms.bool(
False )
56 hltMETplusTrackMonitoring.numGenericTriggerEventPSet.andOrHlt = cms.bool(
True)
57 hltMETplusTrackMonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag(
"TriggerResults::HLT" )
58 hltMETplusTrackMonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring(
"HLT_MET105_IsoTrk50_v*")
60 hltMETplusTrackMonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool(
False )
61 hltMETplusTrackMonitoring.numGenericTriggerEventPSet.verbosityLevel = cms.uint32(0)
63 hltMETplusTrackMonitoring.denGenericTriggerEventPSet.andOr = cms.bool(
False )
64 hltMETplusTrackMonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag(
"scalersRawToDigi" )
65 hltMETplusTrackMonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 )
66 hltMETplusTrackMonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool(
False )
67 hltMETplusTrackMonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool(
True )
68 hltMETplusTrackMonitoring.denGenericTriggerEventPSet.verbosityLevel = cms.uint32(1)
69 hltMETplusTrackMonitoring.denGenericTriggerEventPSet.hltPaths = cms.vstring(
"HLT_IsoMu27_v*",
"HLT_IsoTkMu27_v*")
Power< A, B >::type pow(const A &a, const B &b)