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(
'PFJetResValidation/PFElecVsGenElec'),
8 deltaRMax = cms.double(0.1),
9 onlyTwoJets = cms.bool(
True),
10 matchCharge = cms.bool(
False),
11 mode = cms.int32( 1 ),
12 CreatePFractionHistos = cms.bool(
False),
13 CreateReferenceHistos = cms.bool(
True),
14 CreateEfficiencyHistos = cms.bool(
False),
15 ptMin = cms.double( 0.0 ),
16 ptMax = cms.double( 999999 ),
17 etaMin = cms.double(-10),
18 etaMax = cms.double(10),
19 phiMin = cms.double(-3.14),
20 phiMax = cms.double(3.14),
23 VariablePtBins = cms.vdouble(20,40,60,80,100,150,200,250,300,400,500,750),
24 PtHistoParameter = cms.PSet(
25 switchOn = cms.bool(
True),
27 xMin = cms.double(0.0),
28 xMax = cms.double(100.0)
30 DeltaPtHistoParameter = cms.PSet(
31 switchOn = cms.bool(
True),
32 nBin = cms.int32(100),
33 xMin = cms.double(-50.0),
34 xMax = cms.double(50.0)
36 DeltaPtOvPtHistoParameter = cms.PSet(
37 switchOn = cms.bool(
True),
38 BROn = cms.bool(
True), BREtaMin = cms.double(0.0), BREtaMax = cms.double(1.4),
39 EROn = cms.bool(
True), EREtaMin = cms.double(1.6), EREtaMax = cms.double(2.4),
40 slicingOn = cms.bool(
False),
41 nBin = cms.int32(160),
42 xMin = cms.double(-1.0),
43 xMax = cms.double(1.0)
46 EtaHistoParameter = cms.PSet(
47 switchOn = cms.bool(
True),
48 nBin = cms.int32(100),
49 xMin = cms.double(-5.0),
50 xMax = cms.double(5.0)
52 DeltaEtaHistoParameter = cms.PSet(
53 switchOn = cms.bool(
True),
55 xMin = cms.double(-0.5),
56 xMax = cms.double(0.5)
59 PhiHistoParameter = cms.PSet(
60 switchOn = cms.bool(
True),
61 nBin = cms.int32(100),
62 xMin = cms.double(-3.1416),
63 xMax = cms.double(3.1416)
65 DeltaPhiHistoParameter = cms.PSet(
66 switchOn = cms.bool(
True),
68 xMin = cms.double(-0.5),
69 xMax = cms.double(0.5)
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)