147 |
|
/// global tracks. If the global track is present these should |
148 |
|
/// not be set, but the "getters" will return the appropriate |
149 |
|
/// value. The exception is dB which requires the beamline |
150 |
< |
/// as external input. |
151 |
< |
|
152 |
< |
// FIXME: modified by Gena Kukartsev |
153 |
< |
// embed various impact parameters with errors |
150 |
> |
// as external input. |
151 |
> |
|
152 |
> |
// ---- embed various impact parameters with errors ---- |
153 |
|
// |
154 |
|
// example: |
155 |
|
// |
172 |
|
{ |
173 |
|
None = 0, PV2D = 1, PV3D = 2, BS2D = 3, BS3D = 4 |
174 |
|
} IpType; |
175 |
< |
void init(void); // init defaults in a constructor |
175 |
> |
void initImpactParameters(void); // init IP defaults in a constructor |
176 |
|
double dB(IpType type = None) const; |
177 |
|
double edB(IpType type = None) const; |
178 |
|
void setDB ( double dB, double edB, IpType type = None ) |
237 |
|
bool cachedNormChi2_; /// has the normalized chi2 been cached? |
238 |
|
bool cachedDB_; /// has the dB been cached? |
239 |
|
|
241 |
– |
// FIXME: added by Gena Kukartsev |
242 |
– |
bool cachedIP_[5]; /// has the IP (former dB) been cached? |
243 |
– |
|
240 |
|
bool cachedNumberOfValidHits_;/// has the numberOfValidHits been cached? |
241 |
|
double normChi2_; /// globalTrack->chi2() / globalTrack->ndof() |
242 |
|
double dB_; /// dB and edB are the impact parameter at the primary vertex, |
243 |
< |
double edB_; /// and its uncertainty as recommended by the tracking group |
243 |
> |
double edB_; // and its uncertainty as recommended by the tracking group |
244 |
|
|
245 |
< |
// FIXME: added by Gena Kukartsev |
246 |
< |
double ip_[5]; /// dB and edB are the impact parameter at the primary vertex, |
247 |
< |
double eip_[5]; /// and its uncertainty as recommended by the tracking group |
245 |
> |
// ---- cached impact parameters ---- |
246 |
> |
std::vector<bool> cachedIP_; // has the IP (former dB) been cached? |
247 |
> |
std::vector<double> ip_; // dB and edB are the impact parameter at the primary vertex, |
248 |
> |
std::vector<double> eip_; // and its uncertainty as recommended by the tracking group |
249 |
|
|
250 |
|
unsigned int numberOfValidHits_;/// globalTrack->numberOfValidHits() |
251 |
|
|