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(False),
9  mode = cms.int32( 1 ),
10  CreateReferenceHistos = cms.bool(True),
11  ptMin = cms.double( 0.0 ),
12  ptMax = cms.double( 999999 ),
13  etaMin = cms.double(-10),
14  etaMax = cms.double(10),
15  phiMin = cms.double(-3.14),
16  phiMax = cms.double(3.14),
17 # Histogram Parameters related to pt
18  VariablePtBins = cms.vdouble(0.,1.,2.,5.,10.,20.,50.,100.,200.,400.,1000.),
19  PtHistoParameter = cms.PSet(
20  switchOn = cms.bool(True),
21  nBin = cms.int32(50),
22  xMin = cms.double(0.0),
23  xMax = cms.double(100.0)
24  ),
25  DeltaPtHistoParameter = cms.PSet(
26  switchOn = cms.bool(True),
27  nBin = cms.int32(100),
28  xMin = cms.double(-50.0),
29  xMax = cms.double(50.0)
30  ),
31  DeltaPtOvPtHistoParameter = cms.PSet(
32  switchOn = cms.bool(True),
33  nBin = cms.int32(200),
34  xMin = cms.double(-1.0),
35  xMax = cms.double(1.0)
36  ),
37 # Histogram Parameters related to Eta
38  EtaHistoParameter = cms.PSet(
39  switchOn = cms.bool(True),
40  nBin = cms.int32(100),
41  xMin = cms.double(-5.0),
42  xMax = cms.double(5.0)
43  ),
44  DeltaEtaHistoParameter = cms.PSet(
45  switchOn = cms.bool(True),
46  nBin = cms.int32(50),
47  xMin = cms.double(-0.5),
48  xMax = cms.double(0.5)
49  ),
50 # Histogram Parameters related to Phi
51  PhiHistoParameter = cms.PSet(
52  switchOn = cms.bool(True),
53  nBin = cms.int32(100),
54  xMin = cms.double(-3.1416),
55  xMax = cms.double(3.1416)
56  ),
57  DeltaPhiHistoParameter = cms.PSet(
58  switchOn = cms.bool(True),
59  nBin = cms.int32(50),
60  xMin = cms.double(-0.5),
61  xMax = cms.double(0.5)
62  ),
63 # Histogram Parameters related to Charge
64  ChargeHistoParameter = cms.PSet(
65  switchOn = cms.bool(False),
66  nBin = cms.int32(3),
67  xMin = cms.double(-1.5),
68  xMax = cms.double(1.5)
69  ),
70 # parameter for event skim
71  SkimParameter = cms.PSet(
72  switchOn = cms.bool(False),
73  maximumNumberToBeStored = cms.int32(100),
74  lowerCutOffOnResolution = cms.double(-1.5),
75  upperCutOffOnResolution = cms.double(1.5)
76  )
77 )