CMS 3D CMS Logo

MTVHistoProducerAlgoForTrackerBlock_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
4 
5 MTVHistoProducerAlgoForTrackerBlock = cms.PSet(
6  ### tp selectors for efficiency
7  generalTpSelector = generalTpSelectorBlock,
8  TpSelectorForEfficiencyVsEta = TpSelectorForEfficiencyVsEtaBlock,
9  TpSelectorForEfficiencyVsPhi = TpSelectorForEfficiencyVsPhiBlock,
10  TpSelectorForEfficiencyVsPt = TpSelectorForEfficiencyVsPtBlock,
11  TpSelectorForEfficiencyVsVTXR = TpSelectorForEfficiencyVsVTXRBlock,
12  TpSelectorForEfficiencyVsVTXZ = TpSelectorForEfficiencyVsVTXZBlock,
13 
14  ### gp selectors for efficiency
15  generalGpSelector = generalGpSelectorBlock,
16  GpSelectorForEfficiencyVsEta = GpSelectorForEfficiencyVsEtaBlock,
17  GpSelectorForEfficiencyVsPhi = GpSelectorForEfficiencyVsPhiBlock,
18  GpSelectorForEfficiencyVsPt = GpSelectorForEfficiencyVsPtBlock,
19  GpSelectorForEfficiencyVsVTXR = GpSelectorForEfficiencyVsVTXRBlock,
20  GpSelectorForEfficiencyVsVTXZ = GpSelectorForEfficiencyVsVTXZBlock,
21 
22  # to be added here all the other histogram settings
23 
24  #
25  minEta = cms.double(-2.5),
26  maxEta = cms.double(2.5),
27  nintEta = cms.int32(50),
28  useFabsEta = cms.bool(False),
29  #
30  minPt = cms.double(0.1),
31  maxPt = cms.double(1000),
32  nintPt = cms.int32(40),
33  useInvPt = cms.bool(False),
34  useLogPt=cms.untracked.bool(True),
35  #
36  minHit = cms.double(-0.5),
37  maxHit = cms.double(80.5),
38  nintHit = cms.int32(81),
39  #
40  minPu = cms.double(-0.5),
41  maxPu = cms.double(259.5),
42  nintPu = cms.int32(130),
43  #
44  minLayers = cms.double(-0.5),
45  maxLayers = cms.double(25.5),
46  nintLayers = cms.int32(26),
47  #
48  minPhi = cms.double(-3.1416),
49  maxPhi = cms.double(3.1416),
50  nintPhi = cms.int32(36),
51  #
52  minDxy = cms.double(-25),
53  maxDxy = cms.double(25),
54  nintDxy = cms.int32(100),
55  #
56  minDz = cms.double(-30),
57  maxDz = cms.double(30),
58  nintDz = cms.int32(60),
59  #
60  dxyDzZoom = cms.double(25),
61  #
62  # dE/dx
63  minDeDx = cms.double(0.),
64  maxDeDx = cms.double(10.),
65  nintDeDx = cms.int32(40),
66  #
67  # TP originating vertical position
68  minVertpos = cms.double(1e-2),
69  maxVertpos = cms.double(100),
70  nintVertpos = cms.int32(40),
71  useLogVertpos = cms.untracked.bool(True),
72  #
73  # TP originating z position
74  minZpos = cms.double(-30),
75  maxZpos = cms.double(30),
76  nintZpos = cms.int32(60),
77  #
78  # dR
79  mindr = cms.double(0.001),
80  maxdr = cms.double(1),
81  nintdr = cms.int32(100),
82  #
83  # chi2/ndof
84  minChi2 = cms.double(0),
85  maxChi2 = cms.double(20),
86  nintChi2 = cms.int32(40),
87 
88  # Pileup vertices
89  minVertcount = cms.double(-0.5),
90  maxVertcount = cms.double(160.5),
91  nintVertcount = cms.int32(161),
92 
93  minTracks = cms.double(0),
94  maxTracks = cms.double(2000),
95  nintTracks = cms.int32(200),
96 
97  # PV z coordinate (to be kept in synch with PrimaryVertexAnalyzer4PUSlimmed)
98  minPVz = cms.double(-60),
99  maxPVz = cms.double(60),
100  nintPVz = cms.int32(120),
101 
102  # MVA distributions
103  minMVA = cms.double(-1),
104  maxMVA = cms.double(1),
105  nintMVA = cms.int32(100),
106 
107  #
108  #parameters for resolution plots
109  ptRes_rangeMin = cms.double(-0.1),
110  ptRes_rangeMax = cms.double(0.1),
111  ptRes_nbin = cms.int32(100),
112 
113  phiRes_rangeMin = cms.double(-0.01),
114  phiRes_rangeMax = cms.double(0.01),
115  phiRes_nbin = cms.int32(300),
116 
117  cotThetaRes_rangeMin = cms.double(-0.02),
118  cotThetaRes_rangeMax = cms.double(+0.02),
119  cotThetaRes_nbin = cms.int32(300),
120 
121  dxyRes_rangeMin = cms.double(-0.1),
122  dxyRes_rangeMax = cms.double(0.1),
123  dxyRes_nbin = cms.int32(500),
124 
125  dzRes_rangeMin = cms.double(-0.05),
126  dzRes_rangeMax = cms.double(+0.05),
127  dzRes_nbin = cms.int32(150),
128 
129 
130  maxDzpvCumulative = cms.double(0.6),
131  nintDzpvCumulative = cms.int32(240),
132 
133  maxDzpvsigCumulative = cms.double(10),
134  nintDzpvsigCumulative = cms.int32(200),
135 
136  seedingLayerSets = cms.vstring(),
137 )
138 
140  pset.minEta = -3
141  pset.maxEta = 3
142  pset.nintEta = 60
143 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
144 phase1Pixel.toModify(MTVHistoProducerAlgoForTrackerBlock, _modifyForPhase1)
145 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
146 phase2_tracker.toModify(MTVHistoProducerAlgoForTrackerBlock, minEta=-4.5, maxEta=4.5, nintEta = 90)