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(0),
69  maxVertpos = cms.double(60),
70  nintVertpos = cms.int32(60),
71  #
72  # TP originating z position
73  minZpos = cms.double(-30),
74  maxZpos = cms.double(30),
75  nintZpos = cms.int32(60),
76  #
77  # dR
78  mindr = cms.double(0.001),
79  maxdr = cms.double(1),
80  nintdr = cms.int32(100),
81  #
82  # chi2/ndof
83  minChi2 = cms.double(0),
84  maxChi2 = cms.double(20),
85  nintChi2 = cms.int32(40),
86 
87  # Pileup vertices
88  minVertcount = cms.double(-0.5),
89  maxVertcount = cms.double(160.5),
90  nintVertcount = cms.int32(161),
91 
92  minTracks = cms.double(0),
93  maxTracks = cms.double(2000),
94  nintTracks = cms.int32(200),
95 
96  # PV z coordinate (to be kept in synch with PrimaryVertexAnalyzer4PUSlimmed)
97  minPVz = cms.double(-60),
98  maxPVz = cms.double(60),
99  nintPVz = cms.int32(120),
100 
101  # MVA distributions
102  minMVA = cms.double(-1),
103  maxMVA = cms.double(1),
104  nintMVA = cms.int32(100),
105 
106  #
107  #parameters for resolution plots
108  ptRes_rangeMin = cms.double(-0.1),
109  ptRes_rangeMax = cms.double(0.1),
110  ptRes_nbin = cms.int32(100),
111 
112  phiRes_rangeMin = cms.double(-0.01),
113  phiRes_rangeMax = cms.double(0.01),
114  phiRes_nbin = cms.int32(300),
115 
116  cotThetaRes_rangeMin = cms.double(-0.02),
117  cotThetaRes_rangeMax = cms.double(+0.02),
118  cotThetaRes_nbin = cms.int32(300),
119 
120  dxyRes_rangeMin = cms.double(-0.1),
121  dxyRes_rangeMax = cms.double(0.1),
122  dxyRes_nbin = cms.int32(500),
123 
124  dzRes_rangeMin = cms.double(-0.05),
125  dzRes_rangeMax = cms.double(+0.05),
126  dzRes_nbin = cms.int32(150),
127 
128 
129  maxDzpvCumulative = cms.double(0.6),
130  nintDzpvCumulative = cms.int32(240),
131 
132  maxDzpvsigCumulative = cms.double(10),
133  nintDzpvsigCumulative = cms.int32(200),
134 
135  seedingLayerSets = cms.vstring(),
136 )
137 
139  pset.minEta = -3
140  pset.maxEta = 3
141  pset.nintEta = 60
142 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
143 phase1Pixel.toModify(MTVHistoProducerAlgoForTrackerBlock, _modifyForPhase1)
144 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
145 phase2_tracker.toModify(MTVHistoProducerAlgoForTrackerBlock, minEta=-4.5, maxEta=4.5, nintEta = 90)