- virtual ~AliPHOSRecParticle(){} ; // dtor
-
- AliPHOSTrackSegment * GetPHOSTrackSegment() const ;
- Int_t * GetPrimaries(Int_t & number) ;
-
-private:
+ virtual ~AliPHOSRecParticle(){ }
+
+ Int_t GetPHOSTSIndex()const { return fPHOSTrackSegment ; }
+ virtual Int_t GetNPrimariesToRecParticles() const ;
+ virtual Int_t GetNPrimaries() const ;
+ TVector3 GetPos() const { return fPos ; }
+ virtual const TParticle * GetPrimary(Int_t index) const ;
+ virtual const TParticle * GetPrimary() const ;
+ Int_t GetPrimaryIndex() const ;
+ const Float_t *GetPID() { return fPID ; }
+ void SetDebug() { fDebug = kTRUE ; }
+ void SetPID(Int_t type, Float_t weight) ;
+ void SetPos(TVector3 pos) { fPos.SetXYZ( pos.X(), pos.Y(), pos.Z() ); }
+ void UnsetDebug() { fDebug = kFALSE ; }
+ void SetTrackSegment(Int_t index){fPHOSTrackSegment = index; }
+
+ typedef TClonesArray RecParticlesList ;
+
+ private: