diff --git a/reco/qa/CbmRecoQaTask.cxx b/reco/qa/CbmRecoQaTask.cxx index 3dab7e450ea7fc160c5e54883d98c706517784d4..c942e6ff21ef0f7558ca8d36bf1849762dc3fa71 100644 --- a/reco/qa/CbmRecoQaTask.cxx +++ b/reco/qa/CbmRecoQaTask.cxx @@ -665,14 +665,14 @@ void CbmRecoQaTask::Exec(Option_t*) else { int iprj(0); for (auto plane : fPrjPlanes) { - CbmKfTrackFitter::TrajectoryNode n = CbmKfTrackFitter::TrajectoryNode(); - n.fZ = plane.Z(); - n.fIsXySet = true; - n.fReference1 = iprj++; + CbmKfTrackFitter::TrajectoryNode n = CbmKfTrackFitter::TrajectoryNode(); + n.fZ = plane.Z(); + n.fIsXySet = true; + n.fReference1 = iprj++; trkKf.fNodes.push_back(n); } trkKf.OrderNodesInZ(); - fFitter.FitTrajectory(trkKf); + fFitter.FitTrajectory(trkKf); TVector3 xyz; for (auto& n : trkKf.fNodes) { diff --git a/reco/qa/CbmRecoQaTask.h b/reco/qa/CbmRecoQaTask.h index 54495b14fd63b3a1a9d90bf286c4a9203c07990a..e9e64d3b25737ed8c546dddac637856e93a169cf 100644 --- a/reco/qa/CbmRecoQaTask.h +++ b/reco/qa/CbmRecoQaTask.h @@ -104,7 +104,7 @@ class CbmRecoQaTask : public FairTask { bool HasAddress(const CbmHit* h, double& x, double& y, double& dx, double& dy) const; template<class Hit> bool Load(const CbmHit* h, const FairMCPoint* point, const CbmEvent* ev); - bool Load(const CbmKfTrackFitter::TrajectoryNode* n, const FairMCPoint* point); + bool Load(const CbmKfTrackFitter::TrajectoryNode* n, const FairMCPoint* point); bool Load(TVector3* p); std::string ToString() const; static std::string ToString(eProjectionType prj);