// --- AliRoot header files ---
-const static Int_t kUNDEFINED =-1 ;
-const static Int_t kNEUTRALEM = 0 ;
-const static Int_t kNEUTRALHA = 1 ;
-const static Int_t kGAMMA = 2 ;
-const static Int_t kGAMMAHA = 3 ;
-const static Int_t kABSURDEM = 4 ;
-const static Int_t kABSURDHA = 5 ;
-const static Int_t kELECTRON = 6 ;
-const static Int_t kCHARGEDHA = 7 ;
-
-
class AliPHOSFastRecParticle : public TParticle {
public:
fIndexInList = val ;
}
+ enum EParticleType { kUNDEFINED=-1, kNEUTRALEM, kNEUTRALHA, kGAMMA , kGAMMAHA ,
+ kABSURDEM, kABSURDHA , kELECTRON, kCHARGEDHA } ;
+
protected:
Int_t fIndexInList ; // the index of this RecParticle in the list stored in TreeR (to be set by analysis)