]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCtrackerMI.h
Reverting the full pools implementation
[u/mrichter/AliRoot.git] / TPC / AliTPCtrackerMI.h
index 51fb0eb79a48750e1085e2bbc81806c46320d29c..2350e0f1505d57ad1f23ece5ddb7d954e57cdf51 100644 (file)
@@ -30,11 +30,11 @@ class TTree;
 class AliESDkink;
 class TTreeSRedirector;
 class AliTrackPoint;
-class AliClonesPool;
 class AliDCSSensorArray;
 class AliDCSSensor;
 
 
+
 class AliTPCtrackerMI : public AliTracker {
 public:
   AliTPCtrackerMI();
@@ -108,6 +108,10 @@ public:
                 Double_t c) const; 
    Bool_t GetProlongation(Double_t x1, Double_t x2, Double_t x[5], Double_t &y, Double_t &z) const;
    //
+   void ResetSeedsPool();
+   void MarkSeedFree( TObject* seed );
+   TObject *&NextFreeSeed();
+   //
  public:
    void SetUseHLTClusters(Int_t useHLTClusters) {fUseHLTClusters = useHLTClusters;} // set usage from HLT clusters from rec.C options
 
@@ -199,9 +203,10 @@ private:
    TTreeSRedirector *fDebugStreamer;     //!debug streamer
    Int_t  fUseHLTClusters;              // use HLT clusters instead of offline clusters
    //
-   AliClonesPool* fSeedsPool;            //! pool of seeds. Note: Owned by reconstruction pools (if exist)
-   AliClonesPool* fKinksPool;            //! pool of kinks. Note: Owned by reconstruction pools (if exist)
-
+   TClonesArray* fSeedsPool;            //! pool of seeds
+   TArrayI fFreeSeedsID;                //! array of ID's of freed seeds
+   Int_t fNFreeSeeds;                   //! number of seeds freed in the pool
+   Int_t fLastSeedID;                   //! id of the pool seed on which is returned by the NextFreeSeed method
    //
    ClassDef(AliTPCtrackerMI,3) 
 };