47 TClonesArray* extrapolatedTrackParams,
double z)
49 if (extrapolatedTrackParams ==
nullptr) {
50 LOG(error) <<
"CbmRichTrackExtrapolationLittrack::DoExtrapolation(): extrapolatedTrackParams is nullptr.";
54 if (globalTracks ==
nullptr) {
55 LOG(error) <<
"CbmRichTrackExtrapolationLittrack::DoExtrapolation(): globalTracks is nullptr.";
59 TMatrixFSym covMat(5);
60 for (Int_t i = 0; i < 5; i++)
61 for (Int_t j = 0; j <= i; j++)
63 covMat(0, 0) = covMat(1, 1) = covMat(2, 2) = covMat(3, 3) = covMat(4, 4) = 1.e-4;
66 for (Int_t iT0 = 0; iT0 < nofGlobalTracks; iT0++) {
69 new ((*extrapolatedTrackParams)[iT]) FairTrackParam(0., 0., 0., 0., 0., 0., covMat);
73 if (stsInd < 0)
continue;
75 if (stsTrack ==
nullptr)
continue;
79 std::vector<litfloat> F(36, 0.);
82 fLitPropagator->Propagate(&litInParam, &litOutParam, z, 11, &F, &length);
84 FairTrackParam outParam(0., 0., 0., 0., 0., 0., covMat);
87 *(FairTrackParam*) (extrapolatedTrackParams->At(iT)) = outParam;