1 import FWCore.ParameterSet.Config
as cms
3 pfJetResDQMAnalyzer = cms.EDAnalyzer(
"PFJetDQMAnalyzer",
4 InputCollection = cms.InputTag(
'pfAllElectrons'),
5 MatchCollection = cms.InputTag(
'gensource'),
6 BenchmarkLabel = cms.string(
'PFJetResValidation/PFElecVsGenElec'),
7 deltaRMax = cms.double(0.1),
8 onlyTwoJets = cms.bool(
True),
9 matchCharge = cms.bool(
False),
10 mode = cms.int32( 1 ),
11 CreatePFractionHistos = cms.bool(
False),
12 CreateReferenceHistos = cms.bool(
True),
13 CreateEfficiencyHistos = cms.bool(
False),
14 ptMin = cms.double( 0.0 ),
15 ptMax = cms.double( 999999 ),
16 etaMin = cms.double(-10),
17 etaMax = cms.double(10),
18 phiMin = cms.double(-3.14),
19 phiMax = cms.double(3.14),
22 VariablePtBins = cms.vdouble(20,40,60,80,100,150,200,250,300,400,500,750),
23 PtHistoParameter = cms.PSet(
24 switchOn = cms.bool(
True),
26 xMin = cms.double(0.0),
27 xMax = cms.double(100.0)
29 DeltaPtHistoParameter = cms.PSet(
30 switchOn = cms.bool(
True),
31 nBin = cms.int32(100),
32 xMin = cms.double(-50.0),
33 xMax = cms.double(50.0)
35 DeltaPtOvPtHistoParameter = cms.PSet(
36 switchOn = cms.bool(
True),
37 BROn = cms.bool(
True), BREtaMin = cms.double(0.0), BREtaMax = cms.double(1.4),
38 EROn = cms.bool(
True), 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),
54 xMin = cms.double(-0.5),
55 xMax = cms.double(0.5)
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),
67 xMin = cms.double(-0.5),
68 xMax = cms.double(0.5)
71 DeltaRHistoParameter = cms.PSet(
72 switchOn = cms.bool(
True),
73 nBin = cms.int32(150),
74 xMin = cms.double(0.0),
75 xMax = cms.double(1.0)
78 ChargeHistoParameter = cms.PSet(
79 switchOn = cms.bool(
False),
81 xMin = cms.double(-1.5),
82 xMax = cms.double(1.5)