CMS 3D CMS Logo

PFJetDQMAnalyzer_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 pfJetDQMAnalyzer = DQMEDAnalyzer('PFJetDQMAnalyzer',
5  InputCollection = cms.InputTag('ak4PFJets'),
6  MatchCollection = cms.InputTag('ak4CaloJets'),
7  BenchmarkLabel = cms.string('ParticleFlow/PFVsCalo'),
8  deltaRMax = cms.double(0.1),
9  onlyTwoJets = cms.bool(False),
10  matchCharge = cms.bool(False),
11  mode = cms.int32( 1 ),
12  CreatePFractionHistos = cms.bool(False),
13  ptMin = cms.double( 0.0 ),
14  ptMax = cms.double( 999999 ),
15  etaMin = cms.double(-10),
16  etaMax = cms.double(10),
17  phiMin = cms.double(-3.14),
18  phiMax = cms.double(3.14),
19 # Histogram Parameters related to pt
20  VariablePtBins = cms.vdouble(0.,1.,2.,5.,10.,20.,50.,100.,200.,400.,500.),
21  PtHistoParameter = cms.PSet(
22  switchOn = cms.bool(True),
23  nBin = cms.int32(100),
24  xMin = cms.double(0.0),
25  xMax = cms.double(200.0)
26  ),
27  DeltaPtHistoParameter = cms.PSet(
28  switchOn = cms.bool(True),
29  nBin = cms.int32(100),
30  xMin = cms.double(-100.0),
31  xMax = cms.double(100.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(200),
39  xMin = cms.double(-3.0),
40  xMax = cms.double(3.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(50),
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(64),
59  xMin = cms.double(-3.2),
60  xMax = cms.double(3.2)
61  ),
62  DeltaPhiHistoParameter = cms.PSet(
63  switchOn = cms.bool(True),
64  nBin = cms.int32(50),
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(50),
71  xMin = cms.double(0.0),
72  xMax = cms.double(0.5)
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 )