]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDtrackerV1.h
Small update (number of bins)
[u/mrichter/AliRoot.git] / TRD / AliTRDtrackerV1.h
index 213d9a5bd904a32856ff029dff3cf19f0b6d0cc7..d8a9069604ddd6e5a5893b6285c1f1f90c919a4b 100644 (file)
@@ -50,7 +50,8 @@ class AliTRDtrackerV1 : public AliTracker
 {
 public:
   enum{
-    kOwner = BIT(14)
+    kOwner            = BIT(14) // owner of clusters
+   ,kRemoveContainers = BIT(15) // delete containers after usage
   };
   enum{
     kMaxLayersPerSector   = 1000
@@ -91,7 +92,9 @@ public:
   static Double_t FitKalman(AliTRDtrackV1 *trk, AliTRDseedV1 *tracklets = 0x0, Bool_t up=0, Int_t np = 0, AliTrackPoint *points = 0x0);
 
   Bool_t          IsClustersOwner() const    { return TestBit(kOwner);}
+  Bool_t          HasRemoveContainers() const    { return TestBit(kRemoveContainers);}
   void            SetClustersOwner(Bool_t own=kTRUE) {SetBit(kOwner, own); if(!own) fClusters = 0x0;}
+  void            SetRemoveContainers(Bool_t rm=kTRUE) {SetBit(kRemoveContainers, rm);}
 
   Int_t           FollowBackProlongation(AliTRDtrackV1 &t);
   Int_t           FollowProlongation(AliTRDtrackV1 &t);
@@ -104,7 +107,6 @@ public:
   static void     SetNTimeBins(Int_t nTimeBins){fgNTimeBins = nTimeBins; }
   void            SetReconstructor(const AliTRDReconstructor *rec){ fReconstructor = rec; }
   void            UnloadClusters();
-//   void            UseClusters(const AliKalmanTrack *t, Int_t from = 0) const;
 
   class AliTRDLeastSquare{
   public: