star-travex
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TStiKalmanTrack.h
Go to the documentation of this file.
1 #ifndef TStiKalmanTrack_h
2 #define TStiKalmanTrack_h
3 
4 #include <set>
5 
6 #include "TObject.h"
7 
8 #include "StEvent/StEnumerations.h"
9 #include "Sti/StiKalmanTrack.h"
11 
12 class TStiEvent;
13 
14 
15 class TStiKalmanTrack : public TObject
16 {
17 public:
18 
20  explicit TStiKalmanTrack(TStiEvent* event);
21  TStiKalmanTrack(const StiKalmanTrack& stiKTrack, TStiEvent* event=nullptr);
22  const TStiEvent* GetParentEvent() const { return fEvent; }
23  std::pair<std::set<TStiHit>::iterator, bool> AddToParentEvent(const TStiHit& stiHit);
24  const std::set<TStiKalmanTrackNode>& GetNodes() const { return fNodes; }
25  void FindClosestHits(const std::set<TStiHit>& stiHits);
26  void FindCandidateHits(const std::set<TStiHit>& stiHits);
28  const TStiKalmanTrackNode& GetDcaNode() const;
29  double GetEnergyLosses() const;
30  virtual void Print(Option_t *opt = "") const;
31 
32 protected:
33 
35  std::set<TStiKalmanTrackNode> fNodes;
36  double fEnergyLosses;
37 
38  ClassDef(TStiKalmanTrack, 2)
39 };
40 
41 #endif
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.
double GetEnergyLosses() const
virtual void Print(Option_t *opt="") const
const TStiKalmanTrackNode & GetDcaNode() const
const TStiEvent * GetParentEvent() const
const std::set< TStiKalmanTrackNode > & GetNodes() 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.
double fEnergyLosses
Total track energy lost in all volumes.
std::set< TStiKalmanTrackNode > fNodes