1 import FWCore.ParameterSet.Config
as cms
3 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
5 InputCollection = cms.InputTag(
'muons'),
6 MatchCollection = cms.InputTag(
'gensource'),
7 BenchmarkLabel = cms.string(
'PFMuonValidation/PFMuonVsGenMuon'),
8 deltaRMax = cms.double(0.2),
9 matchCharge = cms.bool(
True),
10 mode = cms.int32( 1 ),
11 CreateReferenceHistos = cms.bool(
True),
12 CreateEfficiencyHistos = cms.bool(
False),
13 ptMin = cms.double( 0.0 ),
14 ptMax = cms.double( 999999 ),
15 etaMin = cms.double(-2.5),
16 etaMax = cms.double(2.5),
17 phiMin = cms.double(-3.14),
18 phiMax = cms.double(3.14),
20 slimmedLikeSelection = cms.bool(
True),
21 ptBase = cms.double(5.0),
22 ptNotPF = cms.double(3.0),
25 VariablePtBins = cms.vdouble(0.),
26 PtHistoParameter = cms.PSet(
27 switchOn = cms.bool(
True),
29 xMin = cms.double(0.0),
30 xMax = cms.double(120.0)
32 DeltaPtHistoParameter = cms.PSet(
33 switchOn = cms.bool(
True),
34 nBin = cms.int32(100),
35 xMin = cms.double(-30.0),
36 xMax = cms.double(30.0)
38 DeltaPtOvPtHistoParameter = cms.PSet(
39 switchOn = cms.bool(
True),
40 BROn = cms.bool(
False), BREtaMin = cms.double(0.0), BREtaMax = cms.double(1.4),
41 EROn = cms.bool(
False), EREtaMin = cms.double(1.6), EREtaMax = cms.double(2.4),
42 slicingOn = cms.bool(
False),
43 nBin = cms.int32(160),
44 xMin = cms.double(-1.0),
45 xMax = cms.double(1.0)
48 EtaHistoParameter = cms.PSet(
49 switchOn = cms.bool(
True),
50 nBin = cms.int32(100),
51 xMin = cms.double(-5.0),
52 xMax = cms.double(5.0)
54 DeltaEtaHistoParameter = cms.PSet(
55 switchOn = cms.bool(
True),
56 nBin = cms.int32(400),
57 xMin = cms.double(-0.2),
58 xMax = cms.double(0.2)
61 PhiHistoParameter = cms.PSet(
62 switchOn = cms.bool(
True),
63 nBin = cms.int32(100),
64 xMin = cms.double(-3.1416),
65 xMax = cms.double(3.1416)
67 DeltaPhiHistoParameter = cms.PSet(
68 switchOn = cms.bool(
True),
69 nBin = cms.int32(400),
70 xMin = cms.double(-0.2),
71 xMax = cms.double(0.2)
73 DeltaRHistoParameter = cms.PSet(
74 switchOn = cms.bool(
True),
75 nBin = cms.int32(150),
76 xMin = cms.double(0.0),
77 xMax = cms.double(1.0)
80 ChargeHistoParameter = cms.PSet(
81 switchOn = cms.bool(
False),
83 xMin = cms.double(-1.5),
84 xMax = cms.double(1.5)