1 import FWCore.ParameterSet.Config
as cms
3 pfMuonDQMAnalyzer = cms.EDAnalyzer(
"PFMuonDQMAnalyzer",
4 InputCollection = cms.InputTag(
'muons'),
5 MatchCollection = cms.InputTag(
'gensource'),
6 BenchmarkLabel = cms.string(
'PFMuonValidation/PFMuonVsGenMuon'),
7 deltaRMax = cms.double(0.2),
8 matchCharge = cms.bool(
True),
10 CreateReferenceHistos = cms.bool(
True),
11 CreateEfficiencyHistos = cms.bool(
False),
12 ptMin = cms.double( 0.0 ),
13 ptMax = cms.double( 999999 ),
14 etaMin = cms.double(-2.5),
15 etaMax = cms.double(2.5),
16 phiMin = cms.double(-3.14),
17 phiMax = cms.double(3.14),
19 slimmedLikeSelection = cms.bool(
True),
20 ptBase = cms.double(5.0),
21 ptNotPF = cms.double(3.0),
24 VariablePtBins = cms.vdouble(0.),
25 PtHistoParameter = cms.PSet(
26 switchOn = cms.bool(
True),
28 xMin = cms.double(0.0),
29 xMax = cms.double(120.0)
31 DeltaPtHistoParameter = cms.PSet(
32 switchOn = cms.bool(
True),
33 nBin = cms.int32(100),
34 xMin = cms.double(-30.0),
35 xMax = cms.double(30.0)
37 DeltaPtOvPtHistoParameter = cms.PSet(
38 switchOn = cms.bool(
True),
39 BROn = cms.bool(
False), BREtaMin = cms.double(0.0), BREtaMax = cms.double(1.4),
40 EROn = cms.bool(
False), EREtaMin = cms.double(1.6), EREtaMax = cms.double(2.4),
41 slicingOn = cms.bool(
False),
42 nBin = cms.int32(160),
43 xMin = cms.double(-1.0),
44 xMax = cms.double(1.0)
47 EtaHistoParameter = cms.PSet(
48 switchOn = cms.bool(
True),
49 nBin = cms.int32(100),
50 xMin = cms.double(-5.0),
51 xMax = cms.double(5.0)
53 DeltaEtaHistoParameter = cms.PSet(
54 switchOn = cms.bool(
True),
55 nBin = cms.int32(400),
56 xMin = cms.double(-0.2),
57 xMax = cms.double(0.2)
60 PhiHistoParameter = cms.PSet(
61 switchOn = cms.bool(
True),
62 nBin = cms.int32(100),
63 xMin = cms.double(-3.1416),
64 xMax = cms.double(3.1416)
66 DeltaPhiHistoParameter = cms.PSet(
67 switchOn = cms.bool(
True),
68 nBin = cms.int32(400),
69 xMin = cms.double(-0.2),
70 xMax = cms.double(0.2)
72 DeltaRHistoParameter = cms.PSet(
73 switchOn = cms.bool(
True),
74 nBin = cms.int32(150),
75 xMin = cms.double(0.0),
76 xMax = cms.double(1.0)
79 ChargeHistoParameter = cms.PSet(
80 switchOn = cms.bool(
False),
82 xMin = cms.double(-1.5),
83 xMax = cms.double(1.5)