FairRoot/PandaRoot
PndTrkTrackList.h
Go to the documentation of this file.
1 
8 #ifndef PNDTRKTRACKLIST_H
9 #define PNDTRKTRACKLIST_H 1
10 
11 #include "TVector3.h"
12 #include "PndTrkTrack.h"
13 
14 class TClonesArray;
15 class PndTrkTrackList : public TObject
16 {
17 
18  public:
19 
21  // copy ctor
22  PndTrkTrackList(const PndTrkTrackList& tlist);
25 
26  void AddTrack(PndTrkTrack *track) ;
27  void DeleteTrack(Int_t index) ;
28  void Reset();
29  void Clear(Option_t* opt = "");
30 
31  inline Int_t GetNofTracks() { return fTrackList.GetEntriesFast(); }
32 
33  PndTrkTrack * GetTrack(Int_t index) { return (PndTrkTrack*) fTrackList.At(index); }
34 
35 /* void ReplaceTrack(Int_t index, PndTrkTrack *track); */
36 
37  protected:
38 
39  TClonesArray fTrackList;
40  // std::vector< PndTrkTrack > tracklist;
41 
43 };
44 
45 
46 #endif
void DeleteTrack(Int_t index)
PndRiemannTrack track
Definition: RiemannTest.C:33
TClonesArray fTrackList
PndTrkTrack * GetTrack(Int_t index)
void AddTrack(PndTrkTrack *track)
PndTrkTrackList & operator=(const PndTrkTrackList &tlist)
void Clear(Option_t *opt="")
ClassDef(PndTrkTrackList, 1)