test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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(199.5),
42  nintPu = cms.int32(100),
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  # dE/dx
61  minDeDx = cms.double(0.),
62  maxDeDx = cms.double(10.),
63  nintDeDx = cms.int32(40),
64  #
65  # TP originating vertical position
66  minVertpos = cms.double(0),
67  maxVertpos = cms.double(60),
68  nintVertpos = cms.int32(60),
69  #
70  # TP originating z position
71  minZpos = cms.double(-30),
72  maxZpos = cms.double(30),
73  nintZpos = cms.int32(60),
74  #
75  # dR
76  mindr = cms.double(0.001),
77  maxdr = cms.double(1),
78  nintdr = cms.int32(100),
79  #
80  # chi2/ndof
81  minChi2 = cms.double(0),
82  maxChi2 = cms.double(20),
83  nintChi2 = cms.int32(40),
84 
85  # Pileup vertices
86  minVertcount = cms.double(-0.5),
87  maxVertcount = cms.double(160.5),
88  nintVertcount = cms.int32(161),
89 
90  minTracks = cms.double(0),
91  maxTracks = cms.double(2000),
92  nintTracks = cms.int32(100),
93  #
94  #parameters for resolution plots
95  ptRes_rangeMin = cms.double(-0.1),
96  ptRes_rangeMax = cms.double(0.1),
97  ptRes_nbin = cms.int32(100),
98 
99  phiRes_rangeMin = cms.double(-0.01),
100  phiRes_rangeMax = cms.double(0.01),
101  phiRes_nbin = cms.int32(300),
102 
103  cotThetaRes_rangeMin = cms.double(-0.02),
104  cotThetaRes_rangeMax = cms.double(+0.02),
105  cotThetaRes_nbin = cms.int32(300),
106 
107  dxyRes_rangeMin = cms.double(-0.1),
108  dxyRes_rangeMax = cms.double(0.1),
109  dxyRes_nbin = cms.int32(500),
110 
111  dzRes_rangeMin = cms.double(-0.05),
112  dzRes_rangeMax = cms.double(+0.05),
113  dzRes_nbin = cms.int32(150),
114 
115 
116  maxDzpvCumulative = cms.double(0.6),
117  nintDzpvCumulative = cms.int32(240),
118 
119  maxDzpvsigCumulative = cms.double(10),
120  nintDzpvsigCumulative = cms.int32(200),
121 )
122 
123 from Configuration.StandardSequences.Eras import eras
125  pset.minEta = -3
126  pset.maxEta = 3
127  pset.nintEta = 60
128 eras.phase1Pixel.toModify(MTVHistoProducerAlgoForTrackerBlock, _modifyForPhase1)