]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSFastRecParticle.h
Removed global's to comply with Coding Conventions
[u/mrichter/AliRoot.git] / PHOS / AliPHOSFastRecParticle.h
index fc4124f1be2221c5a28d60050279d312e37730d4..9d57dc39b92fddcaca9cf90caf8d38fbbf3a98a4 100644 (file)
 
 // --- 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:
@@ -71,6 +60,9 @@ class AliPHOSFastRecParticle : public TParticle {
     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)