1 import FWCore.ParameterSet.Config
as cms
3 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
5 InputCollection = cms.InputTag(
'pfAllElectrons'),
6 MatchCollection = cms.InputTag(
'gensource'),
7 BenchmarkLabel = cms.string(
'PFElectronValidation/PFElecVsGenElec'),
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(
True),
13 ptMin = cms.double( 2.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),
19 slimmedLikeSelection = cms.bool(
False),
22 VariablePtBins = cms.vdouble(0.),
23 PtHistoParameter = cms.PSet(
24 switchOn = cms.bool(
True),
26 xMin = cms.double(0.0),
27 xMax = cms.double(120.0)
29 DeltaPtHistoParameter = cms.PSet(
30 switchOn = cms.bool(
True),
31 nBin = cms.int32(100),
32 xMin = cms.double(-30.0),
33 xMax = cms.double(30.0)
35 DeltaPtOvPtHistoParameter = cms.PSet(
36 switchOn = cms.bool(
True),
37 BROn = cms.bool(
False), BREtaMin = cms.double(0.0), BREtaMax = cms.double(1.4),
38 EROn = cms.bool(
False), EREtaMin = cms.double(1.6), EREtaMax = cms.double(2.4),
39 slicingOn = cms.bool(
False),
40 nBin = cms.int32(160),
41 xMin = cms.double(-1.0),
42 xMax = cms.double(1.0)
45 EtaHistoParameter = cms.PSet(
46 switchOn = cms.bool(
True),
47 nBin = cms.int32(100),
48 xMin = cms.double(-5.0),
49 xMax = cms.double(5.0)
51 DeltaEtaHistoParameter = cms.PSet(
52 switchOn = cms.bool(
True),
53 nBin = cms.int32(400),
54 xMin = cms.double(-0.2),
55 xMax = cms.double(0.2)
58 PhiHistoParameter = cms.PSet(
59 switchOn = cms.bool(
True),
60 nBin = cms.int32(100),
61 xMin = cms.double(-3.1416),
62 xMax = cms.double(3.1416)
64 DeltaPhiHistoParameter = cms.PSet(
65 switchOn = cms.bool(
True),
66 nBin = cms.int32(400),
67 xMin = cms.double(-0.2),
68 xMax = cms.double(0.2)
70 DeltaRHistoParameter = cms.PSet(
71 switchOn = cms.bool(
True),
72 nBin = cms.int32(150),
73 xMin = cms.double(0.0),
74 xMax = cms.double(1.0)
77 ChargeHistoParameter = cms.PSet(
78 switchOn = cms.bool(
False),
80 xMin = cms.double(-1.5),
81 xMax = cms.double(1.5)