diff --git a/reco/KF/CbmKFParticleFinder.cxx b/reco/KF/CbmKFParticleFinder.cxx index 3fe4e58b7f04d77b4a3b859a0711b20cf07f5280..5430ff0b64fc3f90cc208926a617f37a158111b0 100644 --- a/reco/KF/CbmKFParticleFinder.cxx +++ b/reco/KF/CbmKFParticleFinder.cxx @@ -9,6 +9,7 @@ #include "CbmKFParticleFinder.h" #include "CbmEvent.h" +#include "CbmKF.h" #include "CbmKFParticleFinderPID.h" #include "CbmKFVertex.h" #include "CbmL1PFFitter.h" @@ -125,6 +126,11 @@ InitStatus CbmKFParticleFinder::Init() } fCbmPrimVertex = (CbmVertex*) ioman->GetObject("PrimaryVertex."); + + auto& target = CbmKF::Instance()->vTargets[0]; + const std::array<float, 3> targetXYZ {(float) target.x, (float) target.y, (float) target.z}; + fTopoReconstructor->SetTarget(targetXYZ); + return kSUCCESS; } diff --git a/reco/KF/KFQA/CbmKFTrackQa.cxx b/reco/KF/KFQA/CbmKFTrackQa.cxx index b60cab4209f35d74761cbc9a762cb33cce061de8..29805b8633d036f54b419e47f0e9814654c56131 100644 --- a/reco/KF/KFQA/CbmKFTrackQa.cxx +++ b/reco/KF/KFQA/CbmKFTrackQa.cxx @@ -231,7 +231,7 @@ CbmKFTrackQa::CbmKFTrackQa(const char* name, Int_t iVerbose, TString outFileName float yMax[NTofHisto2D] = {14., 14.}; Int_t yBins[NTofHisto2D] = {1600, 1600}; - TString profName[NTofProfiles] = {"MatchEff", "Mismatch", "No match"}; + TString profName[NTofProfiles] = {"MatchEff", "Mismatch", "NoMatch"}; TString subdirs[14] = {"AllTracks", "e", "mu", "pi", "K", "p", "Fragments", "Mismatch", "GhostTrack", "WrongTofPoint", "d", "t", "He3", "He4"};