CMS 3D CMS Logo

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