@@ -120,23 +120,22 @@ struct TrackDcaCovFillerRun2 {
120120 setTrackPar (track, mTrackPar );
121121 }
122122
123- bool isPropagationOK = true ;
124123 if (track.has_collision ()) {
125124 auto const & collision = track.collision ();
126125 if constexpr (fillCovMat) {
127126 mVtx .setPos ({collision.posX (), collision.posY (), collision.posZ ()});
128127 mVtx .setCov (collision.covXX (), collision.covXY (), collision.covYY (), collision.covXZ (), collision.covYZ (), collision.covZZ ());
129- isPropagationOK = o2::base::Propagator::Instance ()->propagateToDCABxByBz (mVtx , mTrackParCov , 2 .f , matCorr, &mDcaInfoCov );
128+ o2::base::Propagator::Instance ()->propagateToDCABxByBz (mVtx , mTrackParCov , 2 .f , matCorr, &mDcaInfoCov );
130129 } else {
131- isPropagationOK = o2::base::Propagator::Instance ()->propagateToDCABxByBz ({collision.posX (), collision.posY (), collision.posZ ()}, mTrackPar , 2 .f , matCorr, &mDcaInfo );
130+ o2::base::Propagator::Instance ()->propagateToDCABxByBz ({collision.posX (), collision.posY (), collision.posZ ()}, mTrackPar , 2 .f , matCorr, &mDcaInfo );
132131 }
133132 } else {
134133 if constexpr (fillCovMat) {
135134 mVtx .setPos ({mMeanVtx ->getX (), mMeanVtx ->getY (), mMeanVtx ->getZ ()});
136135 mVtx .setCov (mMeanVtx ->getSigmaX () * mMeanVtx ->getSigmaX (), 0 .0f , mMeanVtx ->getSigmaY () * mMeanVtx ->getSigmaY (), 0 .0f , 0 .0f , mMeanVtx ->getSigmaZ () * mMeanVtx ->getSigmaZ ());
137- isPropagationOK = o2::base::Propagator::Instance ()->propagateToDCABxByBz (mVtx , mTrackParCov , 2 .f , matCorr, &mDcaInfoCov );
136+ o2::base::Propagator::Instance ()->propagateToDCABxByBz (mVtx , mTrackParCov , 2 .f , matCorr, &mDcaInfoCov );
138137 } else {
139- isPropagationOK = o2::base::Propagator::Instance ()->propagateToDCABxByBz ({mMeanVtx ->getX (), mMeanVtx ->getY (), mMeanVtx ->getZ ()}, mTrackPar , 2 .f , matCorr, &mDcaInfo );
138+ o2::base::Propagator::Instance ()->propagateToDCABxByBz ({mMeanVtx ->getX (), mMeanVtx ->getY (), mMeanVtx ->getZ ()}, mTrackPar , 2 .f , matCorr, &mDcaInfo );
140139 }
141140 }
142141
0 commit comments