1 from builtins
import range
2 import FWCore.ParameterSet.Config
as cms
7 effVsPtBins=list(itertools.chain(
range(0, 30, 1),
range(30, 50, 2),
11 range(700, 1000, 300)))
12 effVsPtBins.append(1000)
18 effVsPhiBins = [i*(phiMax-phiMin)/nPhiBins + phiMin
for i
in range(nPhiBins+1)]
24 effVsEtaBins = [i*(etaMax-etaMin)/nEtaBins + etaMin
for i
in range(nEtaBins+1)]
30 ptQualCuts = [[22, 12], [15, 8], [3, 4]]
32 for ptQualCut
in ptQualCuts:
33 cutsPSets.append(cms.untracked.PSet(ptCut = cms.untracked.int32(ptQualCut[0]),
34 qualCut = cms.untracked.int32(ptQualCut[1])))
36 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
38 histFolder = cms.untracked.string(
'L1T/L1TPhase2/Muons/'),
39 cuts = cms.untracked.VPSet(cutsPSets),
40 useL1AtVtxCoord = cms.untracked.bool(
False),
42 genParticlesInputTag = cms.untracked.InputTag(
"genParticles"),
43 gmtMuonToken = cms.InputTag(
"l1tSAMuonsGmt",
"prompt"),
44 gmtTkMuonToken = cms.InputTag(
"l1tTkMuonsGmt",
""),
46 efficiencyVsPtBins = cms.untracked.vdouble(effVsPtBins),
47 efficiencyVsPhiBins = cms.untracked.vdouble(effVsPhiBins),
48 efficiencyVsEtaBins = cms.untracked.vdouble(effVsEtaBins),
49 efficiencyVsVtxBins = cms.untracked.vdouble(effVsVtxBins),
51 maxDR = cms.untracked.double(0.3),