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 
7  generalTpSelector = generalTpSelectorBlock,
8  TpSelectorForEfficiencyVsEta = TpSelectorForEfficiencyVsEtaBlock,
9  TpSelectorForEfficiencyVsPhi = TpSelectorForEfficiencyVsPhiBlock,
10  TpSelectorForEfficiencyVsPt = TpSelectorForEfficiencyVsPtBlock,
11  TpSelectorForEfficiencyVsVTXR = TpSelectorForEfficiencyVsVTXRBlock,
12  TpSelectorForEfficiencyVsVTXZ = TpSelectorForEfficiencyVsVTXZBlock,
13 
14 
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  # dR_jet
84  mindrj = cms.double(0.001),
85  maxdrj = cms.double(0.5),
86  nintdrj = cms.int32(100),
87  #
88  # chi2/ndof
89  minChi2 = cms.double(0),
90  maxChi2 = cms.double(20),
91  nintChi2 = cms.int32(40),
92 
93  # Pileup vertices
94  minVertcount = cms.double(-0.5),
95  maxVertcount = cms.double(160.5),
96  nintVertcount = cms.int32(161),
97 
98  minTracks = cms.double(0),
99  maxTracks = cms.double(2000),
100  nintTracks = cms.int32(200),
101 
102  # PV z coordinate (to be kept in synch with PrimaryVertexAnalyzer4PUSlimmed)
103  minPVz = cms.double(-60),
104  maxPVz = cms.double(60),
105  nintPVz = cms.int32(120),
106 
107  # MVA distributions
108  minMVA = cms.double(-1),
109  maxMVA = cms.double(1),
110  nintMVA = cms.int32(100),
111 
112  #
113  #parameters for resolution plots
114  ptRes_rangeMin = cms.double(-0.1),
115  ptRes_rangeMax = cms.double(0.1),
116  ptRes_nbin = cms.int32(100),
117 
118  phiRes_rangeMin = cms.double(-0.01),
119  phiRes_rangeMax = cms.double(0.01),
120  phiRes_nbin = cms.int32(300),
121 
122  cotThetaRes_rangeMin = cms.double(-0.02),
123  cotThetaRes_rangeMax = cms.double(+0.02),
124  cotThetaRes_nbin = cms.int32(300),
125 
126  dxyRes_rangeMin = cms.double(-0.1),
127  dxyRes_rangeMax = cms.double(0.1),
128  dxyRes_nbin = cms.int32(500),
129 
130  dzRes_rangeMin = cms.double(-0.05),
131  dzRes_rangeMax = cms.double(+0.05),
132  dzRes_nbin = cms.int32(150),
133 
134 
135  maxDzpvCumulative = cms.double(0.6),
136  nintDzpvCumulative = cms.int32(240),
137 
138  maxDzpvsigCumulative = cms.double(10),
139  nintDzpvsigCumulative = cms.int32(200),
140 
141  seedingLayerSets = cms.vstring(),
142 
143  doMTDPlots = cms.untracked.bool(False), # meant to be switch on in Phase2 workflows
144  doDzPVcutPlots = cms.untracked.bool(True)
145 )
146 
148  pset.minEta = -3
149  pset.maxEta = 3
150  pset.nintEta = 60
151 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
152 #phase1Pixel.toModify(MTVHistoProducerAlgoForTrackerBlock, dict(minEta = -3, maxEta = 3, nintEta = 60) )
153 phase1Pixel.toModify(MTVHistoProducerAlgoForTrackerBlock, _modifyForPhase1)
154 
156  pset.minEta = -4.5
157  pset.maxEta = 4.5
158  pset.nintEta = 90
159 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
160 #phase2_tracker.toModify(MTVHistoProducerAlgoForTrackerBlock, dict(minEta = -4.5, maxEta = 4.5, nintEta = 90) )
161 phase2_tracker.toModify(MTVHistoProducerAlgoForTrackerBlock, _modifyForPhase2)
162 
164  pset.doMTDPlots = True
165 from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer
166 #phase2_timing_layer.toModify(MTVHistoProducerAlgoForTrackerBlock, dict(doMTDPlots = True) )
167 phase2_timing_layer.toModify(MTVHistoProducerAlgoForTrackerBlock, _modifyForPhase2wMTD)
168