CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFMETDQMAnalyzer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 pfMETDQMAnalyzer = cms.EDAnalyzer("PFMETDQMAnalyzer",
4  InputCollection = cms.InputTag('pfMet'),
5  MatchCollection = cms.InputTag('met'),
6  BenchmarkLabel = cms.string('PFMET/CompWithCaloMET'),
7  mode = cms.int32( 1 ),
8  CreateMETSpecificHistos = cms.bool(True),
9  ptMin = cms.double( 0.0 ),
10  ptMax = cms.double( 999999 ),
11  etaMin = cms.double(-10),
12  etaMax = cms.double(10),
13  phiMin = cms.double(-3.14),
14  phiMax = cms.double(3.14),
15 # Histogram Parameters related to pt
16  #VariablePtBins = cms.vdouble(0.,1.,2.,5.,10.,15.,20.,30.,50.,100.,500.),
17  VariablePtBins = cms.vdouble(0.,1.,2.,5.,10.,20.,50.,100.,200.,400.,500.),
18  PtHistoParameter = cms.PSet(
19  switchOn = cms.bool(True),
20  nBin = cms.int32(100),
21  xMin = cms.double(0.0),
22  xMax = cms.double(200.0)
23  ),
24  DeltaPtHistoParameter = cms.PSet(
25  switchOn = cms.bool(True),
26  nBin = cms.int32(50),
27  xMin = cms.double(-300.0),
28  xMax = cms.double(300.0)
29  ),
30  DeltaPtOvPtHistoParameter = cms.PSet(
31  switchOn = cms.bool(True),
32  BROn = cms.bool(False), BREtaMin = cms.double(0.0), BREtaMax = cms.double(1.4),
33  EROn = cms.bool(False), EREtaMin = cms.double(1.6), EREtaMax = cms.double(2.4),
34  slicingOn = cms.bool(False),
35  nBin = cms.int32(100),
36  xMin = cms.double(-3.0),
37  xMax = cms.double(3.0)
38  ),
39 # Histogram Parameters related to Eta
40  EtaHistoParameter = cms.PSet(
41  switchOn = cms.bool(False),
42  nBin = cms.int32(100),
43  xMin = cms.double(-5.0),
44  xMax = cms.double(5.0)
45  ),
46  DeltaEtaHistoParameter = cms.PSet(
47  switchOn = cms.bool(False),
48  nBin = cms.int32(50),
49  xMin = cms.double(-0.2),
50  xMax = cms.double(0.2)
51  ),
52 # Histogram Parameters related to Phi
53  PhiHistoParameter = cms.PSet(
54  switchOn = cms.bool(True),
55  nBin = cms.int32(64),
56  xMin = cms.double(-3.2),
57  xMax = cms.double(3.2)
58  ),
59  DeltaPhiHistoParameter = cms.PSet(
60  switchOn = cms.bool(True),
61  nBin = cms.int32(64),
62  xMin = cms.double(-3.2),
63  xMax = cms.double(3.2)
64  ),
65 # Histogram Parameters related to Px and Py
66  PxHistoParameter = cms.PSet(
67  switchOn = cms.bool(True),
68  nBin = cms.int32(50),
69  xMin = cms.double(0.0),
70  xMax = cms.double(200.0)
71  ),
72  DeltaPxHistoParameter = cms.PSet(
73  switchOn = cms.bool(True),
74  nBin = cms.int32(50),
75  xMin = cms.double(-300.0),
76  xMax = cms.double(300.0)
77  ),
78 # Histogram Parameters related to Sum Et
79  SumEtHistoParameter = cms.PSet(
80  switchOn = cms.bool(True),
81  nBin = cms.int32(100),
82  xMin = cms.double(0.0),
83  xMax = cms.double(1000.0)
84  ),
85  DeltaSumEtHistoParameter = cms.PSet(
86  switchOn = cms.bool(True),
87  nBin = cms.int32(100),
88  xMin = cms.double(-300.0),
89  xMax = cms.double(500.0)
90  ),
91  DeltaSumEtOvSumEtHistoParameter = cms.PSet(
92  switchOn = cms.bool(True),
93  nBin = cms.int32(100),
94  xMin = cms.double(-1.0),
95  xMax = cms.double(3.0),
96  ),
97  DeltaRHistoParameter = cms.PSet(
98  switchOn = cms.bool(True),
99  nBin = cms.int32(50),
100  xMin = cms.double(0.0),
101  xMax = cms.double(0.5)
102  ),
103 # Histogram Parameters related to Charge
104  ChargeHistoParameter = cms.PSet(
105  switchOn = cms.bool(False),
106  nBin = cms.int32(3),
107  xMin = cms.double(-1.5),
108  xMax = cms.double(1.5)
109  )
110 )