X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TPC%2FAliTPCtrackerMI.h;h=2350e0f1505d57ad1f23ece5ddb7d954e57cdf51;hb=5e98482998d0e374b46c4e9f05929b141550fbd2;hp=aaf62f031ee90897c558d2e9f2e3a5be544be2aa;hpb=e546b023ff9f98d42ec24154cbe51f77a5b0feca;p=u%2Fmrichter%2FAliRoot.git diff --git a/TPC/AliTPCtrackerMI.h b/TPC/AliTPCtrackerMI.h index aaf62f031ee..2350e0f1505 100644 --- a/TPC/AliTPCtrackerMI.h +++ b/TPC/AliTPCtrackerMI.h @@ -30,7 +30,9 @@ class TTree; class AliESDkink; class TTreeSRedirector; class AliTrackPoint; -class AliClonesPool; +class AliDCSSensorArray; +class AliDCSSensor; + class AliTPCtrackerMI : public AliTracker { @@ -45,6 +47,7 @@ public: virtual Int_t LoadClusters (TTree * const tree); virtual Int_t LoadClusters (const TObjArray * arr); // another input virtual Int_t LoadClusters (const TClonesArray * arr); // another input + virtual Int_t PostProcess(AliESDEvent *esd); Int_t LoadClusters(); void UnloadClusters(); Int_t LoadInnerSectors(); @@ -105,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 @@ -116,6 +123,8 @@ public: Int_t AcceptCluster(AliTPCseed * seed, AliTPCclusterMI * cluster); + Bool_t IsTPCHVDipEvent(AliESDEvent const *esdEvent); + private: Bool_t IsFindable(AliTPCseed & t); AliTPCtrackerMI(const AliTPCtrackerMI& r); //dummy copy constructor @@ -194,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) };