//_HADES_CLASS_DESCRIPTION /////////////////////////////////////////////////////////////////////////////// // // Data container holding all information from the Kalman filter. // /////////////////////////////////////////////////////////////////////////////// #include "hkaltrack.h" ClassImp(HKalTrack) HKalTrack::HKalTrack() { bAccepted = kFALSE; ndf = -1.F; trackLength = -1.F; pid = -1.F; doMultScat = kFALSE; doEnerLoss = kFALSE; isSegHit = kFALSE; isWireHit = kFALSE; idxFirst = -1; idxLast = -1; dafChi2Cut = -1.F; for(Int_t i = 0; i < nDafs; i++) { dafT[i] = -1.F; } } Int_t HKalTrack::getNdafs() const { Int_t n = 0; while(dafT[n] > 0.F && n < nDafs) { n++; } return n; }