#include <MdcTrackListCsmc.h>
|
| MdcTrackListCsmc (const MdcTrackParams &tkPar) |
|
| ~MdcTrackListCsmc () |
|
int | createFromSegs (MdcSegList *segs, const MdcHitMap *, const MdcDetector *, TrkContext &, double trackT0) |
|
int | finish3d (TrkRecoTrk &trk) |
|
void | remove (MdcTrack *atrack) |
|
| MdcTrackListCsmc (const MdcTrackParams &tkPar) |
|
| ~MdcTrackListCsmc () |
|
int | createFromSegs (MdcSegList *segs, const MdcHitMap *, const MdcDetector *, TrkContext &, double trackT0) |
|
int | finish3d (TrkRecoTrk &trk) |
|
void | remove (MdcTrack *atrack) |
|
| MdcTrackListBase (const MdcTrackParams &tkPar) |
|
virtual | ~MdcTrackListBase () |
|
int | nTrack () const |
|
void | setPlot (int plotFlag) |
|
void | newParams (const MdcTrackParams &tkPar) |
|
void | plot () const |
|
void | store (RecMdcTrackCol *, RecMdcHitCol *) |
|
virtual int | createFromSegs (MdcSegList *, const MdcHitMap *, const MdcDetector *, TrkContext &, double bunchTime)=0 |
|
int | arbitrateHits () |
|
void | dropMultiHotInLayer (const MdcTrack *tk) |
|
void | remove (MdcTrack *atrack) |
|
void | setD0Cut (double d0Cut) |
|
void | setZ0Cut (double z0Cut) |
|
void | setPtCut (double ptCut) |
|
| MdcTrackListBase (const MdcTrackParams &tkPar) |
|
virtual | ~MdcTrackListBase () |
|
int | nTrack () const |
|
void | setPlot (int plotFlag) |
|
void | newParams (const MdcTrackParams &tkPar) |
|
void | plot () const |
|
void | store (RecMdcTrackCol *, RecMdcHitCol *) |
|
virtual int | createFromSegs (MdcSegList *, const MdcHitMap *, const MdcDetector *, TrkContext &, double bunchTime)=0 |
|
int | arbitrateHits () |
|
void | dropMultiHotInLayer (const MdcTrack *tk) |
|
void | remove (MdcTrack *atrack) |
|
void | setD0Cut (double d0Cut) |
|
void | setZ0Cut (double z0Cut) |
|
void | setPtCut (double ptCut) |
|
◆ MdcTrackListCsmc() [1/2]
◆ ~MdcTrackListCsmc() [1/2]
MdcTrackListCsmc::~MdcTrackListCsmc |
( |
| ) |
|
◆ MdcTrackListCsmc() [2/2]
◆ ~MdcTrackListCsmc() [2/2]
MdcTrackListCsmc::~MdcTrackListCsmc |
( |
| ) |
|
◆ createFromSegs() [1/2]
Implements MdcTrackListBase.
Definition at line 45 of file MdcTrackListCsmc.cxx.
47 {
48
49
50 int nTracks = 0;
51
53
54
55
57 straightSegs.fillWithSegs(segs);
58
59
61 int goodOnly = 1;
63 while (1) {
64 seed = segs->
getSeed(0,goodOnly);
65 if (seed == 0 && goodOnly == 1) {
67 goodOnly = 0;
68 continue;
69 }
70 else if (seed == 0 && goodOnly == 0) {
71 break;
72 }
73 delete trialTrack;
74 trialTrack = 0;
75 int success = straightSegs.combineSegs(trialTrack, seed,
77 if (!success) {
78
79 continue;
80 }
81
84 }
85
86
87
88 stereoSegs.fillWithSegs(segs, trialTrack);
89
90 success = stereoSegs.combineSegs(trialTrack, 0, context, t0,
92 if (success) {
93
95
96 }
97 if (!success) {
98
99 continue;
100 }
101
104 }
105
106 nTracks++;
108 trialTrack = 0;
109
110 }
111 delete trialTrack;
112
113
114
115
116 return nTracks;
117}
MdcSeg * getSeed(int iview, int goodOnly)
void resetSeed(const MdcDetector *gm)
int finish3d(TrkRecoTrk &trk)
virtual void printAll(std::ostream &) const
char * append(const char *str, EvtCyclic3::Index i)
◆ createFromSegs() [2/2]
◆ finish3d() [1/2]
int MdcTrackListCsmc::finish3d |
( |
TrkRecoTrk & |
trk | ) |
|
Definition at line 120 of file MdcTrackListCsmc.cxx.
120 {
121
122 int success = 0;
123 int nParamFit = 0 ;
124
126
127
128
129
130 nParamFit = 4;
134
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
248 double chisqperDOF = 0.;
250 int nDOF = tkFit->
nActive() - nParamFit;
251 if (nDOF > nParamFit)
252 chisqperDOF = tkFit->
chisq() / nDOF;
253 else
254 chisqperDOF = tkFit->
chisq();
255 int goodMatch = 1;
258
259 if (goodMatch) success = 1;
260 }
261
262 return success;
263}
virtual double chisq() const =0
virtual int nActive() const =0
const TrkFit * fitResult() const
bool setFlipAndDrop(TrkRecoTrk &, bool allowFlips, bool allowDrops) const
virtual void changeFit(TrkRecoTrk &theTrack) const
Referenced by createFromSegs().
◆ finish3d() [2/2]
int MdcTrackListCsmc::finish3d |
( |
TrkRecoTrk & |
trk | ) |
|
◆ remove() [1/2]
void MdcTrackListCsmc::remove |
( |
MdcTrack * |
atrack | ) |
|
◆ remove() [2/2]
void MdcTrackListCsmc::remove |
( |
MdcTrack * |
atrack | ) |
|
The documentation for this class was generated from the following files: