1 #ifndef ALIPHOSRECPARTICLE_H
2 #define ALIPHOSRECPARTICLE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //_________________________________________________________________________
9 // A Reconstructed Particle in PHOS
10 // To become a general class of AliRoot ?
12 //*-- Author: Yves Schutz (SUBATECH)
14 // --- ROOT system ---
16 // --- Standard library ---
18 // --- AliRoot header files ---
20 #include "AliPHOSFastRecParticle.h"
23 class AliPHOSRecParticle : public AliPHOSFastRecParticle {
27 AliPHOSRecParticle() { fPHOSTrackSegment = 0 ; fDebug = kFALSE ; }
28 AliPHOSRecParticle(const AliPHOSRecParticle & rp) ; // ctor
29 virtual ~AliPHOSRecParticle(){ }
31 Int_t GetPHOSTSIndex()const { return fPHOSTrackSegment ; }
32 virtual const Int_t GetNPrimariesToRecParticles() const ;
33 virtual const Int_t GetNPrimaries() const ;
34 virtual const TParticle * GetPrimary(Int_t index) const ;
35 void SetDebug() { fDebug = kTRUE ; }
36 void UnsetDebug() { fDebug = kFALSE ; }
37 void SetTrackSegment(Int_t index){fPHOSTrackSegment = index; }
39 typedef TClonesArray RecParticlesList ;
43 Int_t fPHOSTrackSegment ; // pointer to the associated track segment in PHOS
46 ClassDef(AliPHOSRecParticle,2) // Reconstructed Particle
49 #endif // AliPHOSRECPARTICLE_H