CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFJetResDQMAnalyzer_cfi.py
Go to the documentation of this file.
2 
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),
20 # Histogram Parameters related to pt
21  #VariablePtBins = cms.vdouble(0.,1.,2.,5.,10.,20.,50.,100.,200.,400.,1000.),
22  VariablePtBins = cms.vdouble(20,40,60,80,100,150,200,250,300,400,500,750), # must be = to the one in PFClient_cfi if you want to slice the TH2
23  PtHistoParameter = cms.PSet(
24  switchOn = cms.bool(True),
25  nBin = cms.int32(50),
26  xMin = cms.double(0.0),
27  xMax = cms.double(100.0)
28  ),
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)
34  ),
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), #200
41  xMin = cms.double(-1.0),
42  xMax = cms.double(1.0)
43  ),
44 # Histogram Parameters related to Eta
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)
50  ),
51  DeltaEtaHistoParameter = cms.PSet(
52  switchOn = cms.bool(True),
53  nBin = cms.int32(50),
54  xMin = cms.double(-0.5),
55  xMax = cms.double(0.5)
56  ),
57 # Histogram Parameters related to Phi
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)
63  ),
64  DeltaPhiHistoParameter = cms.PSet(
65  switchOn = cms.bool(True),
66  nBin = cms.int32(50),
67  xMin = cms.double(-0.5),
68  xMax = cms.double(0.5)
69  ),
70 # Histogram Parameters related to DeltaR
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)
76  ),
77 # Histogram Parameters related to Charge
78  ChargeHistoParameter = cms.PSet(
79  switchOn = cms.bool(False),
80  nBin = cms.int32(3),
81  xMin = cms.double(-1.5),
82  xMax = cms.double(1.5)
83  ),
84 # parameter for event skim
85  SkimParameter = cms.PSet(
86  switchOn = cms.bool(False),
87  maximumNumberToBeStored = cms.int32(100),
88  minimumJetpT = cms.double(100),
89  lowerCutOffOnResolution = cms.double(-0.2),
90  upperCutOffOnResolution = cms.double(0.2)
91  )
92 )