/* $Id$ */
-////////////////////////////////////////////////
-// A Reconstructed Particle in PHOS //
-// Yves Schutz SUBATECH //
-// To become a general class of AliRoot ? //
-// //
-////////////////////////////////////////////////
+//_________________________________________________________________________
+// A Reconstructed Particle in PHOS
+// To become a general class of AliRoot ?
+// why not
+//*-- Author: Yves Schutz (SUBATECH)
// --- ROOT system ---
// --- AliRoot header files ---
#include "AliPHOSTrackSegment.h"
+#include "AliPHOSFastRecParticle.h"
-class AliPHOSRecParticle : public TParticle {
+class AliPHOSRecParticle : public AliPHOSFastRecParticle {
public:
- AliPHOSRecParticle() {}; // ctor
+ AliPHOSRecParticle() {
+ // ctor
+ }
AliPHOSRecParticle(AliPHOSTrackSegment * ts) ; // ctor
+ AliPHOSRecParticle(const AliPHOSRecParticle & rp) ; // ctor
+ virtual ~AliPHOSRecParticle(){
+ // dtor
+ }
+ AliPHOSTrackSegment * GetPHOSTrackSegment() const ;
+ Int_t GetPHOSTrackSegmentIndex(){
+ // Getter
+ return fPHOSTrackSegment ;
+ }
+ Int_t * GetPrimaries(Int_t & number) ;
+
+ typedef TClonesArray RecParticlesList ;
+
+ private:
- virtual ~AliPHOSRecParticle(){} ; // dtor
-
- AliPHOSTrackSegment * GetPHOSTrackSegment() { return fPHOSTrackSegment ; }
- Int_t GetType() { return fType ; }
- TString Name() ;
- void Print() ;
-
-private:
-
- AliPHOSTrackSegment * fPHOSTrackSegment ; // pointer to the associated track segment in PHOS
- Int_t fType ; // guessed particle type
-
- ClassDef(AliPHOSRecParticle,1) // Reconstructed Particle, version 1
-
+ Int_t fPHOSTrackSegment ; // pointer to the associated track segment in PHOS
+
+ ClassDef(AliPHOSRecParticle,1) // Reconstructed Particle
};
#endif // AliPHOSRECPARTICLE_H