CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFElectronDQMAnalyzer_cfi.py
Go to the documentation of this file.
2 
3 pfElectronDQMAnalyzer = cms.EDAnalyzer("PFCandidateDQMAnalyzer",
4  InputCollection = cms.InputTag('pfAllElectrons'),
5  MatchCollection = cms.InputTag('gensource'),
6  BenchmarkLabel = cms.string('PFElectronValidation/PFElecVsGenElec'),
7  deltaRMax = cms.double(0.2),
8  matchCharge = cms.bool(True),
9  mode = cms.int32( 1 ),
10  CreateReferenceHistos = cms.bool(True),
11  CreateEfficiencyHistos = cms.bool(True),
12  ptMin = cms.double( 2.0 ), # since pT_reco seem to have this threshold
13  ptMax = cms.double( 999999 ),
14  etaMin = cms.double(-2.5),
15  etaMax = cms.double(2.5),
16  phiMin = cms.double(-3.14),
17  phiMax = cms.double(3.14),
18  # Histogram Parameters related to pt
19  #VariablePtBins = cms.vdouble(0.,1.,2.,5.,10.,20.,50.,100.,200.,400.,1000.),
20  VariablePtBins = cms.vdouble(0.), # if only one entry PtHistoParameter used
21  PtHistoParameter = cms.PSet(
22  switchOn = cms.bool(True),
23  nBin = cms.int32(60),
24  xMin = cms.double(0.0),
25  xMax = cms.double(120.0)
26  ),
27  DeltaPtHistoParameter = cms.PSet(
28  switchOn = cms.bool(True),
29  nBin = cms.int32(100),
30  xMin = cms.double(-30.0),
31  xMax = cms.double(30.0)
32  ),
33  DeltaPtOvPtHistoParameter = cms.PSet(
34  switchOn = cms.bool(True),
35  BROn = cms.bool(False), BREtaMin = cms.double(0.0), BREtaMax = cms.double(1.4),
36  EROn = cms.bool(False), EREtaMin = cms.double(1.6), EREtaMax = cms.double(2.4),
37  slicingOn = cms.bool(False),
38  nBin = cms.int32(160), #200
39  xMin = cms.double(-1.0),
40  xMax = cms.double(1.0)
41  ),
42 # Histogram Parameters related to Eta
43  EtaHistoParameter = cms.PSet(
44  switchOn = cms.bool(True),
45  nBin = cms.int32(100),
46  xMin = cms.double(-5.0),
47  xMax = cms.double(5.0)
48  ),
49  DeltaEtaHistoParameter = cms.PSet(
50  switchOn = cms.bool(True),
51  nBin = cms.int32(400),
52  xMin = cms.double(-0.2),
53  xMax = cms.double(0.2)
54  ),
55 # Histogram Parameters related to Phi
56  PhiHistoParameter = cms.PSet(
57  switchOn = cms.bool(True),
58  nBin = cms.int32(100),
59  xMin = cms.double(-3.1416),
60  xMax = cms.double(3.1416)
61  ),
62  DeltaPhiHistoParameter = cms.PSet(
63  switchOn = cms.bool(True),
64  nBin = cms.int32(400),
65  xMin = cms.double(-0.2),
66  xMax = cms.double(0.2)
67  ),
68  DeltaRHistoParameter = cms.PSet(
69  switchOn = cms.bool(True),
70  nBin = cms.int32(150),
71  xMin = cms.double(0.0),
72  xMax = cms.double(1.0)
73  ),
74 # Histogram Parameters related to Charge
75  ChargeHistoParameter = cms.PSet(
76  switchOn = cms.bool(False),
77  nBin = cms.int32(3),
78  xMin = cms.double(-1.5),
79  xMax = cms.double(1.5)
80  ),
81 # parameter for event skim
82  SkimParameter = cms.PSet(
83  switchOn = cms.bool(False),
84  maximumNumberToBeStored = cms.int32(100),
85  lowerCutOffOnResolution = cms.double(-1.5),
86  upperCutOffOnResolution = cms.double(1.5)
87  )
88 )