44 TClonesArray* extrapolatedTrackParams,
double z)
46 if (extrapolatedTrackParams ==
nullptr) {
47 LOG(error) <<
"CbmRichTrackExtrapolationKF::DoExtrapolation(): extrapolatedTrackParams is nullptr.";
51 if (globalTracks ==
nullptr) {
52 LOG(error) <<
"CbmRichTrackExtrapolationKF::DoExtrapolation(): globalTracks is nullptr.";
56 TMatrixFSym covMat(5);
57 for (
Int_t i = 0; i < 5; i++)
58 for (
Int_t j = 0; j <= i; j++)
60 covMat(0, 0) = covMat(1, 1) = covMat(2, 2) = covMat(3, 3) = covMat(4, 4) = 1.e-4;
64 for (
Int_t iTrack = 0; iTrack < nofGlobalTracks; iTrack++) {
67 new ((*extrapolatedTrackParams)[iTrackIndex]) FairTrackParam(0., 0., 0., 0., 0., 0., covMat);
71 if (stsInd < 0)
continue;
73 if (stsTrack ==
nullptr)
continue;
75 FairTrackParam ExTrack;
79 *(FairTrackParam*) (extrapolatedTrackParams->At(iTrackIndex)) = ExTrack;