1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
5 folder = cms.string(
"Muons/EfficiencyAnalyzer"),
6 phiMin = cms.double(-3.2),
7 etaMin = cms.double(-2.5),
8 ptMin = cms.double(10),
10 ptBin = cms.int32(10),
11 phiBin = cms.int32(8),
12 etaMax = cms.double(2.5),
13 phiMax = cms.double(3.2),
14 ptMax = cms.double(100),
15 vtxBin = cms.int32(30),
16 vtxMin = cms.double(0.5),
17 vtxMax = cms.double(149.5),
18 MuonID = cms.string(
"Loose")
23 folder = cms.string(
"Muons/EfficiencyAnalyzer"),
24 phiMin = cms.double(-3.2),
25 etaMin = cms.double(-2.5),
26 ptMin = cms.double(10),
27 etaBin = cms.int32(8),
28 ptBin = cms.int32(10),
29 phiBin = cms.int32(8),
30 etaMax = cms.double(2.5),
31 phiMax = cms.double(3.2),
32 ptMax = cms.double(100),
33 vtxBin = cms.int32(30),
34 vtxMin = cms.double(0.5),
35 vtxMax = cms.double(149.5),
36 MuonID = cms.string(
"Medium")
41 folder = cms.string(
"Muons/EfficiencyAnalyzer"),
42 phiMin = cms.double(-3.2),
43 etaMin = cms.double(-2.5),
44 ptMin = cms.double(10),
45 etaBin = cms.int32(8),
46 ptBin = cms.int32(10),
47 phiBin = cms.int32(8),
48 etaMax = cms.double(2.5),
49 phiMax = cms.double(3.2),
50 ptMax = cms.double(100),
51 vtxBin = cms.int32(30),
52 vtxMin = cms.double(0.5),
53 vtxMax = cms.double(149.5),
54 MuonID = cms.string(
"Tight")
57 folder = cms.string(
"Muons_miniAOD/EfficiencyAnalyzer"),
58 phiMin = cms.double(-3.2),
59 etaMin = cms.double(-2.5),
60 ptMin = cms.double(10),
61 etaBin = cms.int32(8),
62 ptBin = cms.int32(10),
63 phiBin = cms.int32(8),
64 etaMax = cms.double(2.5),
65 phiMax = cms.double(3.2),
66 ptMax = cms.double(100),
67 vtxBin = cms.int32(30),
68 vtxMin = cms.double(0.5),
69 vtxMax = cms.double(149.5),
70 MuonID = cms.string(
"Loose")
75 folder = cms.string(
"Muons_miniAOD/EfficiencyAnalyzer"),
76 phiMin = cms.double(-3.2),
77 etaMin = cms.double(-2.5),
78 ptMin = cms.double(10),
79 etaBin = cms.int32(8),
80 ptBin = cms.int32(10),
81 phiBin = cms.int32(8),
82 etaMax = cms.double(2.5),
83 phiMax = cms.double(3.2),
84 ptMax = cms.double(100),
85 vtxBin = cms.int32(30),
86 vtxMin = cms.double(0.5),
87 vtxMax = cms.double(149.5),
88 MuonID = cms.string(
"Medium")
93 folder = cms.string(
"Muons_miniAOD/EfficiencyAnalyzer"),
94 phiMin = cms.double(-3.2),
95 etaMin = cms.double(-2.5),
96 ptMin = cms.double(10),
97 etaBin = cms.int32(8),
98 ptBin = cms.int32(10),
99 phiBin = cms.int32(8),
100 etaMax = cms.double(2.5),
101 phiMax = cms.double(3.2),
102 ptMax = cms.double(100),
103 vtxBin = cms.int32(30),
104 vtxMin = cms.double(0.5),
105 vtxMax = cms.double(149.5),
106 MuonID = cms.string(
"Tight")
110 effPlotter=cms.Sequence(effPlotterLoose*effPlotterMedium*effPlotterTight)
111 effPlotter_miniAOD=cms.Sequence(effPlotterLooseMiniAOD*effPlotterMediumMiniAOD*effPlotterTightMiniAOD)
113 effPlotterLoose_Phase2=effPlotterLoose.clone(
118 effPlotterMedium_Phase2=effPlotterMedium.clone(
123 effPlotterTight_Phase2=effPlotterTight.clone(
128 effPlotterLooseMiniAOD_Phase2=effPlotterLooseMiniAOD.clone(
133 effPlotterMediumMiniAOD_Phase2=effPlotterMediumMiniAOD.clone(
138 effPlotterTightMiniAOD_Phase2=effPlotterTightMiniAOD.clone(
144 effPlotter_Phase2=cms.Sequence(effPlotterLoose_Phase2*effPlotterMedium_Phase2*effPlotterTight_Phase2)
145 effPlotter_miniAOD_Phase2=cms.Sequence(effPlotterLooseMiniAOD_Phase2*effPlotterMediumMiniAOD_Phase2*effPlotterTightMiniAOD_Phase2)
146 from Configuration.Eras.Modifier_phase2_muon_cff
import phase2_muon
147 phase2_muon.toReplaceWith(effPlotter,effPlotter_Phase2)
148 phase2_muon.toReplaceWith(effPlotter_miniAOD,effPlotter_miniAOD_Phase2)