]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSFastRecParticle.h
- Reshuffling of the particle codes in AliPID. Now the light nuclei are between the
[u/mrichter/AliRoot.git] / PHOS / AliPHOSFastRecParticle.h
index 954a7ce5358f22380bf368681f3f67f91ae21f04..d9a55e165f449f4573e0d36af61cdb0b743e5514 100644 (file)
@@ -5,6 +5,14 @@
 
 /* $Id$ */
 
+/* History of cvs commits:
+ *
+ * $Log$
+ * Revision 1.36  2005/05/28 14:19:04  schutz
+ * Compilation warnings fixed by T.P.
+ *
+ */
+
 //_________________________________________________________________________
 //  A  Particle modified by PHOS response and produced by AliPHOSvFast
 //  This is also a base class for AliPHOSRecParticle produced by AliPHOSPIDv1
@@ -17,8 +25,7 @@
 
 class TClonesArray;
 #include "TParticle.h"
-#include "AliESDtrack.h" 
-
+#include "AliPID.h"
 // --- Standard library ---
 
 // --- AliRoot header files ---
@@ -32,6 +39,7 @@ class AliPHOSFastRecParticle : public TParticle {
   AliPHOSFastRecParticle(const AliPHOSFastRecParticle & rp) ;  // ctor
   AliPHOSFastRecParticle(const TParticle & p) ;  // ctor
   virtual ~AliPHOSFastRecParticle(){ } //dtor
+  AliPHOSFastRecParticle & operator = (const AliPHOSFastRecParticle & /*rp*/);
 
   virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) ; 
   virtual void Draw(Option_t *option) ;  
@@ -40,9 +48,9 @@ class AliPHOSFastRecParticle : public TParticle {
     // returns the index of this in the list
     return fIndexInList ; 
   } 
-  virtual const Int_t GetNPrimaries() const {return 0 ;}
+  virtual Int_t GetNPrimaries() const {return 0 ;}
   virtual const TParticle * GetPrimary(Int_t) const  {return 0 ;} 
-  const Int_t GetType() const { 
+  Int_t GetType() const { 
     // returns the type of the particle
     return fType ; 
   } 
@@ -74,7 +82,7 @@ class AliPHOSFastRecParticle : public TParticle {
 
   TString Name() const ; 
   virtual void Paint(Option_t * option="");
-  virtual void Print() const ; 
+  virtual void Print(const Option_t * = "") const ; 
   
   void SetTof(Float_t tof) { fTof = tof ; } 
   Float_t ToF() const { return fTof ; } 
@@ -97,7 +105,7 @@ class AliPHOSFastRecParticle : public TParticle {
   Int_t fIndexInList ; // the index of this RecParticle in the list stored in TreeR (to be set by analysis)
   Float_t fTof ;       // time of fliht
   Int_t fType ;        // particle type obtained by "virtual" reconstruction
-  Double_t fPID[AliESDtrack::kSPECIESN] ; // PID probability densities
+  Float_t fPID[AliPID::kSPECIESCN] ; // PID probability densities
 
  private: