test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFMuonDQMAnalyzer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 pfMuonDQMAnalyzer = cms.EDAnalyzer("PFMuonDQMAnalyzer",
4  InputCollection = cms.InputTag('muons'),
5  MatchCollection = cms.InputTag('gensource'),
6  BenchmarkLabel = cms.string('PFMuonValidation/PFMuonVsGenMuon'),
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(False),
12  ptMin = cms.double( 0.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  # slimmed muons selection
19  slimmedLikeSelection = cms.bool(True),
20  ptBase = cms.double(5.0),
21  ptNotPF = cms.double(3.0),
22  # Histogram Parameters related to pt
23  #VariablePtBins = cms.vdouble(0.,1.,2.,5.,10.,20.,50.,100.,200.,400.,1000.),
24  VariablePtBins = cms.vdouble(0.), # if only one entry PtHistoParameter used
25  PtHistoParameter = cms.PSet(
26  switchOn = cms.bool(True),
27  nBin = cms.int32(60),
28  xMin = cms.double(0.0),
29  xMax = cms.double(120.0)
30  ),
31  DeltaPtHistoParameter = cms.PSet(
32  switchOn = cms.bool(True),
33  nBin = cms.int32(100),
34  xMin = cms.double(-30.0),
35  xMax = cms.double(30.0)
36  ),
37  DeltaPtOvPtHistoParameter = cms.PSet(
38  switchOn = cms.bool(True),
39  BROn = cms.bool(False), BREtaMin = cms.double(0.0), BREtaMax = cms.double(1.4),
40  EROn = cms.bool(False), EREtaMin = cms.double(1.6), EREtaMax = cms.double(2.4),
41  slicingOn = cms.bool(False),
42  nBin = cms.int32(160), #200
43  xMin = cms.double(-1.0),
44  xMax = cms.double(1.0)
45  ),
46 # Histogram Parameters related to Eta
47  EtaHistoParameter = cms.PSet(
48  switchOn = cms.bool(True),
49  nBin = cms.int32(100),
50  xMin = cms.double(-5.0),
51  xMax = cms.double(5.0)
52  ),
53  DeltaEtaHistoParameter = cms.PSet(
54  switchOn = cms.bool(True),
55  nBin = cms.int32(400),
56  xMin = cms.double(-0.2),
57  xMax = cms.double(0.2)
58  ),
59 # Histogram Parameters related to Phi
60  PhiHistoParameter = cms.PSet(
61  switchOn = cms.bool(True),
62  nBin = cms.int32(100),
63  xMin = cms.double(-3.1416),
64  xMax = cms.double(3.1416)
65  ),
66  DeltaPhiHistoParameter = cms.PSet(
67  switchOn = cms.bool(True),
68  nBin = cms.int32(400),
69  xMin = cms.double(-0.2),
70  xMax = cms.double(0.2)
71  ),
72  DeltaRHistoParameter = cms.PSet(
73  switchOn = cms.bool(True),
74  nBin = cms.int32(150),
75  xMin = cms.double(0.0),
76  xMax = cms.double(1.0)
77  ),
78 # Histogram Parameters related to Charge
79  ChargeHistoParameter = cms.PSet(
80  switchOn = cms.bool(False),
81  nBin = cms.int32(3),
82  xMin = cms.double(-1.5),
83  xMax = cms.double(1.5)
84  )
85  )