Skip to content

Dead code removal

void MpdTpcKalmanFilter::Register() { /// FairTask *itsHF = (FairTask *)FairRun::Instance()->GetTask("Ideal STS hit Producer"); TClonesArray *itsP = (TClonesArray *)FairRootManager::Instance()->GetObject("StsPoint"); if (itsHF && itsP) FairRootManager::Instance()->Register("TpcKalmanTrack", "MpdKalmanTrack", fTracks, kFALSE); else FairRootManager::Instance()->Register("TpcKalmanTrack", "MpdKalmanTrack", fTracks, kTRUE);

FairRootManager::Instance()->Register("TpcKalmanHit", "KfHit", fKHits, kFALSE); }

should be void MpdTpcKalmanFilter::Register() { FairRootManager::Instance()->Register("TpcKalmanTrack", "MpdKalmanTrack", fTracks, kTRUE); FairRootManager::Instance()->Register("TpcKalmanHit", "KfHit", fKHits, kFALSE); }

actually, this method probably should be removed altogether and the two lines

FairRootManager::Instance()->Register("TpcKalmanTrack", "MpdKalmanTrack", fTracks, kTRUE); FairRootManager::Instance()->Register("TpcKalmanHit", "KfHit", fKHits, kFALSE);

should be placed inside MpdTpcKalmanFilter::Init() in place of the line

Register();
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information