3 #include "StEvent/StEnumerations.h"
4 #include "Sti/StiKalmanTrackNode.h"
12 fEvent(
nullptr), fNodes(), fEnergyLosses(0)
18 fEvent(event), fNodes(), fEnergyLosses(0)
27 for (
const StiKalmanTrackNode& stiNode : stiKTrack)
40 std::pair<std::set<TStiHit>::iterator,
bool> dummy;
60 Info(
"Print",
"node index: %d\n", nodeIdx);
73 for (
const auto& node :
fNodes)
75 node.FindClosestHit(stiHits);
86 for (
const auto& node :
fNodes)
88 node.FindCandidateHits(stiHits);
95 for (
const auto& node :
fNodes)
97 node.AssignClosestCandidateHit();
void AssignClosestCandidateHit()
TStiEvent * fEvent
Pointer to mother event containing this track.
void FindClosestHits(const std::set< TStiHit > &stiHits)
For each node of this track finds the hit closest to the mean track projection, i.e.
bool AcceptTrackNode(const StiKalmanTrackNode &node) const
ClassImp(TStiKalmanTrack) TStiKalmanTrack
double GetEnergyLosses() const
virtual void Print(Option_t *opt="") const
const TStiKalmanTrackNode & GetDcaNode() const
std::pair< std::set< TStiHit >::iterator, bool > AddToParentEvent(const TStiHit &stiHit)
void FindCandidateHits(const std::set< TStiHit > &stiHits)
For each node of this track finds hits in some proximity to the mean track projection.
std::pair< std::set< TStiHit >::iterator, bool > InsertStiHit(const TStiHit &stiHit)
double fEnergyLosses
Total track energy lost in all volumes.
std::set< TStiKalmanTrackNode > fNodes