1 import FWCore.ParameterSet.Config
as cms
12 doGoodTracksPlots = {}
13 doTrackerSpecific = {}
14 doHitPropertiesPlots = {}
15 doGeneralPropertiesPlots = {}
17 doSeedParameterHistos = {}
18 doRecHitVsPhiVsEtaPerTrack = {}
19 doRecHitVsPtVsEtaPerTrack = {}
20 doGoodTrackRecHitVsPhiVsEtaPerTrack = {}
21 doLayersVsPhiVsEtaPerTrack = {}
22 doGoodTrackLayersVsPhiVsEtaPerTrack = {}
25 doPlotsVsGoodPVtx = {}
26 doEffFromHitPatternVsPU = {}
27 doEffFromHitPatternVsBX = {}
32 mainfolderName [
'generalTracks'] =
'Tracking/TrackParameters/generalTracks'
33 vertexfolderName[
'generalTracks'] =
'Tracking/PrimaryVertices/generalTracks'
34 trackPtN [
'generalTracks'] = cms.int32(100)
35 trackPtMin [
'generalTracks'] = cms.double(0.)
36 trackPtMax [
'generalTracks'] = cms.double(100.)
37 doPlotsPCA [
'generalTracks'] = cms.bool(
False)
38 numCutString [
'generalTracks'] = cms.string(
"")
39 denCutString [
'generalTracks'] = cms.string(
"")
40 doGoodTracksPlots [
'generalTracks'] = cms.bool(
True)
41 doTrackerSpecific [
'generalTracks'] = cms.bool(
True)
42 doHitPropertiesPlots [
'generalTracks'] = cms.bool(
True)
43 doGeneralPropertiesPlots [
'generalTracks'] = cms.bool(
True)
44 doBeamSpotPlots [
'generalTracks'] = cms.bool(
True)
45 doSeedParameterHistos [
'generalTracks'] = cms.bool(
False)
46 doRecHitVsPhiVsEtaPerTrack [
'generalTracks'] = cms.bool(
True)
47 doRecHitVsPtVsEtaPerTrack [
'generalTracks'] = cms.bool(
True)
48 doGoodTrackRecHitVsPhiVsEtaPerTrack [
'generalTracks'] = cms.bool(
True)
49 doLayersVsPhiVsEtaPerTrack [
'generalTracks'] = cms.bool(
True)
50 doGoodTrackLayersVsPhiVsEtaPerTrack [
'generalTracks'] = cms.bool(
True)
51 doPUmonitoring [
'generalTracks'] = cms.bool(
False)
52 doPlotsVsBXlumi [
'generalTracks'] = cms.bool(
False)
53 doPlotsVsGoodPVtx [
'generalTracks'] = cms.bool(
True)
54 doEffFromHitPatternVsPU [
'generalTracks'] = cms.bool(
True)
55 doEffFromHitPatternVsBX [
'generalTracks'] = cms.bool(
True)
56 doStopSource [
'generalTracks'] = cms.bool(
True)
58 trackSelector = cms.EDFilter(
'TrackSelector',
59 src = cms.InputTag(
'generalTracks'),
64 highPurityPtRange0to1 = trackSelector.clone()
65 highPurityPtRange0to1.cut = cms.string(
"quality('highPurity') & pt >= 0 & pt < 1 ")
67 sequenceName [
'highPurityPtRange0to1'] = highPurityPtRange0to1
68 mainfolderName [
'highPurityPtRange0to1'] =
'Tracking/TrackParameters/highPurityTracks/pt_0to1'
69 vertexfolderName[
'highPurityPtRange0to1'] =
'Tracking/PrimaryVertices/highPurityTracks/pt_0to1'
70 trackPtN [
'highPurityPtRange0to1'] = cms.int32(10)
71 trackPtMin [
'highPurityPtRange0to1'] = cms.double(0.)
72 trackPtMax [
'highPurityPtRange0to1'] = cms.double(1.)
73 numCutString [
'highPurityPtRange0to1'] = cms.string(
"")
74 denCutString [
'highPurityPtRange0to1'] = cms.string(
" pt >= 0 & pt < 1 ")
75 doPlotsPCA [
'highPurityPtRange0to1'] = cms.bool(
False)
76 doGoodTracksPlots [
'highPurityPtRange0to1'] = cms.bool(
False)
77 doTrackerSpecific [
'highPurityPtRange0to1'] = cms.bool(
False)
78 doHitPropertiesPlots [
'highPurityPtRange0to1'] = cms.bool(
True)
79 doGeneralPropertiesPlots [
'highPurityPtRange0to1'] = cms.bool(
True)
80 doBeamSpotPlots [
'highPurityPtRange0to1'] = cms.bool(
True)
81 doSeedParameterHistos [
'highPurityPtRange0to1'] = cms.bool(
False)
82 doRecHitVsPhiVsEtaPerTrack [
'highPurityPtRange0to1'] = cms.bool(
True)
83 doRecHitVsPtVsEtaPerTrack [
'highPurityPtRange0to1'] = cms.bool(
True)
84 doGoodTrackRecHitVsPhiVsEtaPerTrack [
'highPurityPtRange0to1'] = cms.bool(
False)
85 doLayersVsPhiVsEtaPerTrack [
'highPurityPtRange0to1'] = cms.bool(
True)
86 doGoodTrackLayersVsPhiVsEtaPerTrack [
'highPurityPtRange0to1'] = cms.bool(
False)
87 doPUmonitoring [
'highPurityPtRange0to1'] = cms.bool(
True)
88 doPlotsVsBXlumi [
'highPurityPtRange0to1'] = cms.bool(
False)
89 doPlotsVsGoodPVtx [
'highPurityPtRange0to1'] = cms.bool(
True)
90 doEffFromHitPatternVsPU [
'highPurityPtRange0to1'] = cms.bool(
False)
91 doEffFromHitPatternVsBX [
'highPurityPtRange0to1'] = cms.bool(
False)
92 doStopSource [
'highPurityPtRange0to1'] = cms.bool(
True)
94 highPurityPtRange1to10 = trackSelector.clone()
95 highPurityPtRange1to10.cut = cms.string(
"quality('highPurity') & pt >= 1 & pt < 10 ")
97 sequenceName [
'highPurityPtRange1to10'] = highPurityPtRange1to10
98 mainfolderName [
'highPurityPtRange1to10'] =
'Tracking/TrackParameters/highPurityTracks/pt_1to10'
99 vertexfolderName[
'highPurityPtRange1to10'] =
'Tracking/PrimaryVertices/highPurityTracks/pt_1to10'
100 trackPtN [
'highPurityPtRange1to10'] = cms.int32(10)
101 trackPtMin [
'highPurityPtRange1to10'] = cms.double(1.)
102 trackPtMax [
'highPurityPtRange1to10'] = cms.double(10.)
103 numCutString [
'highPurityPtRange1to10'] = cms.string(
"")
104 denCutString [
'highPurityPtRange1to10'] = cms.string(
" pt >= 1 & pt < 10 ")
105 doGoodTracksPlots [
'highPurityPtRange1to10'] = cms.bool(
True)
106 doTrackerSpecific [
'highPurityPtRange1to10'] = cms.bool(
True)
107 doHitPropertiesPlots [
'highPurityPtRange1to10'] = cms.bool(
True)
108 doGeneralPropertiesPlots [
'highPurityPtRange1to10'] = cms.bool(
True)
109 doBeamSpotPlots [
'highPurityPtRange1to10'] = cms.bool(
True)
110 doSeedParameterHistos [
'highPurityPtRange1to10'] = cms.bool(
False)
111 doRecHitVsPhiVsEtaPerTrack [
'highPurityPtRange1to10'] = cms.bool(
True)
112 doRecHitVsPtVsEtaPerTrack [
'highPurityPtRange1to10'] = cms.bool(
True)
113 doGoodTrackRecHitVsPhiVsEtaPerTrack [
'highPurityPtRange1to10'] = cms.bool(
True)
114 doLayersVsPhiVsEtaPerTrack [
'highPurityPtRange1to10'] = cms.bool(
True)
115 doGoodTrackLayersVsPhiVsEtaPerTrack [
'highPurityPtRange1to10'] = cms.bool(
True)
116 doPUmonitoring [
'highPurityPtRange1to10'] = cms.bool(
False)
117 doPlotsVsBXlumi [
'highPurityPtRange1to10'] = cms.bool(
False)
118 doPlotsVsGoodPVtx [
'highPurityPtRange1to10'] = cms.bool(
True)
119 doEffFromHitPatternVsPU [
'highPurityPtRange1to10'] = cms.bool(
True)
120 doEffFromHitPatternVsBX [
'highPurityPtRange1to10'] = cms.bool(
True)
121 doStopSource [
'highPurityPtRange1to10'] = cms.bool(
True)
123 highPurityPt10 = trackSelector.clone()
124 highPurityPt10.cut = cms.string(
"quality('highPurity') & pt >= 10")
126 sequenceName [
'highPurityPt10'] = highPurityPt10
127 mainfolderName [
'highPurityPt10'] =
'Tracking/TrackParameters/highPurityTracks/pt_10'
128 vertexfolderName[
'highPurityPt10'] =
'Tracking/PrimaryVertices/highPurityTracks/pt_10'
129 trackPtN [
'highPurityPt10'] = cms.int32(100)
130 trackPtMin [
'highPurityPt10'] = cms.double(10.)
131 trackPtMax [
'highPurityPt10'] = cms.double(110.)
132 numCutString [
'highPurityPt10'] = cms.string(
"")
133 denCutString [
'highPurityPt10'] = cms.string(
" pt >= 10 ")
134 doGoodTracksPlots [
'highPurityPt10'] = cms.bool(
True)
135 doTrackerSpecific [
'highPurityPt10'] = cms.bool(
True)
136 doHitPropertiesPlots [
'highPurityPt10'] = cms.bool(
True)
137 doGeneralPropertiesPlots [
'highPurityPt10'] = cms.bool(
True)
138 doBeamSpotPlots [
'highPurityPt10'] = cms.bool(
True)
139 doSeedParameterHistos [
'highPurityPt10'] = cms.bool(
False)
140 doRecHitVsPhiVsEtaPerTrack [
'highPurityPt10'] = cms.bool(
True)
141 doRecHitVsPtVsEtaPerTrack [
'highPurityPt10'] = cms.bool(
True)
142 doGoodTrackRecHitVsPhiVsEtaPerTrack [
'highPurityPt10'] = cms.bool(
True)
143 doLayersVsPhiVsEtaPerTrack [
'highPurityPt10'] = cms.bool(
True)
144 doGoodTrackLayersVsPhiVsEtaPerTrack [
'highPurityPt10'] = cms.bool(
True)
145 doPUmonitoring [
'highPurityPt10'] = cms.bool(
False)
146 doPlotsVsBXlumi [
'highPurityPt10'] = cms.bool(
False)
147 doPlotsVsGoodPVtx [
'highPurityPt10'] = cms.bool(
True)
148 doEffFromHitPatternVsPU [
'highPurityPt10'] = cms.bool(
True)
149 doEffFromHitPatternVsBX [
'highPurityPt10'] = cms.bool(
True)
150 doStopSource [
'highPurityPt10'] = cms.bool(
True)
153 highPurityPt1 = trackSelector.clone()
154 highPurityPt1.cut = cms.string(
"quality('highPurity') & pt >= 1")
156 sequenceName [
'highPurityPt1'] = highPurityPt1
157 mainfolderName [
'highPurityPt1'] =
'Tracking/TrackParameters/highPurityTracks/pt_1'
158 vertexfolderName[
'highPurityPt1'] =
'Tracking/PrimaryVertices/highPurityTracks/pt_1'
159 trackPtN [
'highPurityPt1'] = cms.int32(100)
160 trackPtMin [
'highPurityPt1'] = cms.double(0.)
161 trackPtMax [
'highPurityPt1'] = cms.double(100.)
162 doPlotsPCA [
'highPurityPt1'] = cms.bool(
True)
163 numCutString [
'highPurityPt1'] = cms.string(
"")
164 denCutString [
'highPurityPt1'] = cms.string(
" pt >= 1 ")
165 doGoodTracksPlots [
'highPurityPt1'] = cms.bool(
True)
166 doTrackerSpecific [
'highPurityPt1'] = cms.bool(
True)
167 doHitPropertiesPlots [
'highPurityPt1'] = cms.bool(
True)
168 doGeneralPropertiesPlots [
'highPurityPt1'] = cms.bool(
True)
169 doBeamSpotPlots [
'highPurityPt1'] = cms.bool(
True)
170 doSeedParameterHistos [
'highPurityPt1'] = cms.bool(
False)
171 doRecHitVsPhiVsEtaPerTrack [
'highPurityPt1'] = cms.bool(
True)
172 doRecHitVsPtVsEtaPerTrack [
'highPurityPt1'] = cms.bool(
True)
173 doGoodTrackRecHitVsPhiVsEtaPerTrack [
'highPurityPt1'] = cms.bool(
True)
174 doLayersVsPhiVsEtaPerTrack [
'highPurityPt1'] = cms.bool(
True)
175 doGoodTrackLayersVsPhiVsEtaPerTrack [
'highPurityPt1'] = cms.bool(
True)
176 doPUmonitoring [
'highPurityPt1'] = cms.bool(
False)
177 doPlotsVsBXlumi [
'highPurityPt1'] = cms.bool(
False)
178 doPlotsVsGoodPVtx [
'highPurityPt1'] = cms.bool(
True)
179 doEffFromHitPatternVsPU [
'highPurityPt1'] = cms.bool(
True)
180 doEffFromHitPatternVsBX [
'highPurityPt1'] = cms.bool(
True)
181 doStopSource [
'highPurityPt1'] = cms.bool(
True)
183 selectedTracks.extend( [
'generalTracks'] )
188 selectedTracks.extend( [
'highPurityPt1'] )
189 selectedTracks.extend( [
'highPurityPtRange0to1'] )