- AliPHOSRecParticle() {}; // ctor
- AliPHOSRecParticle(AliPHOSTrackSegment * ts) ; // ctor
-
- virtual ~AliPHOSRecParticle(){} ; // dtor
-
- AliPHOSTrackSegment * GetPHOSTrackSegment() { return fPHOSTrackSegment ; }
- Int_t GetType() { return fType ; }
- TString Name() ;
- void Print() ;
- void SetType(Int_t type) { fType = type ; }
-
-private:
-
- AliPHOSTrackSegment * fPHOSTrackSegment ; // pointer to the associated track segment in PHOS
- Int_t fType ; // identified particle type
+ AliPHOSRecParticle() { fPHOSTrackSegment = 0 ; fDebug = kFALSE ; }
+ AliPHOSRecParticle(const AliPHOSRecParticle & rp) ; // ctor
+ virtual ~AliPHOSRecParticle(){ }
+
+ Int_t GetPHOSTSIndex()const { return fPHOSTrackSegment ; }
+ virtual const Int_t GetNPrimariesToRecParticles() const ;
+ virtual const Int_t GetNPrimaries() const ;
+ virtual const TParticle * GetPrimary(Int_t index) const ;
+ void SetDebug() { fDebug = kTRUE ; }
+ void UnsetDebug() { fDebug = kFALSE ; }
+ void SetTrackSegment(Int_t index){fPHOSTrackSegment = index; }
+
+ typedef TClonesArray RecParticlesList ;
+
+ private: