//_________________________________________________________________________
// A Reconstructed Particle in PHOS
// To become a general class of AliRoot ?
-//
+// why not
//*-- Author: Yves Schutz (SUBATECH)
// --- ROOT system ---
-#include "TParticle.h"
-#include "TVector3.h"
-
// --- Standard library ---
// --- AliRoot header files ---
-#include "AliPHOSTrackSegment.h"
#include "AliPHOSFastRecParticle.h"
+class TParticle ;
class AliPHOSRecParticle : public AliPHOSFastRecParticle {
-public:
+ public:
- AliPHOSRecParticle() {
- // ctor
- }
- AliPHOSRecParticle(AliPHOSTrackSegment * ts) ; // ctor
+ AliPHOSRecParticle() { fPHOSTrackSegment = 0 ; fDebug = kFALSE ; }
AliPHOSRecParticle(const AliPHOSRecParticle & rp) ; // ctor
- virtual ~AliPHOSRecParticle(){
- // dtor
- }
- AliPHOSTrackSegment * GetPHOSTrackSegment() const ;
- Int_t GetPHOSTrackSegmentIndex(){
- // Getter
- return fPHOSTrackSegment ;
- }
- Int_t * GetPrimaries(Int_t & number) ;
+ 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:
Int_t fPHOSTrackSegment ; // pointer to the associated track segment in PHOS
-
- ClassDef(AliPHOSRecParticle,1) // Reconstructed Particle
+ Bool_t fDebug ;
+
+ ClassDef(AliPHOSRecParticle,2) // Reconstructed Particle
};
#endif // AliPHOSRECPARTICLE_H