]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSFastRecParticle.h
enable to read TreeQA
[u/mrichter/AliRoot.git] / PHOS / AliPHOSFastRecParticle.h
index 7ea48297e130628d11a1973181dd10f7cd08497c..d754271cdc9bf8f3437283de8b204f50439b1c96 100644 (file)
@@ -27,6 +27,7 @@ class AliPHOSFastRecParticle : public TParticle {
   AliPHOSFastRecParticle() {
     // ctor 
   };         
+
   AliPHOSFastRecParticle(const AliPHOSFastRecParticle & rp) ;  // ctor
   AliPHOSFastRecParticle(const TParticle & p) ;  // ctor
   virtual ~AliPHOSFastRecParticle(){
@@ -39,16 +40,15 @@ class AliPHOSFastRecParticle : public TParticle {
     // returns the index of this in the list
     return fIndexInList ; 
   } 
-  virtual Int_t * GetPrimaries(Int_t & number) ;
-  Int_t GetType() { 
+  Int_t GetPrimary(){return fPrimary;}
+  const Int_t GetType() const { 
     // returns the type of the particle
     return fType ; 
   } 
   TString Name() ; 
   virtual void Paint(Option_t * option="");
   virtual void Print(const char * opt) ; 
-  void SetPrimary(Int_t index) { 
-    // sets the primary particle index
+  void SetPrimary(Int_t index) { // sets the primary particle index
     fPrimary = index ; 
   }
   void SetType(Int_t type) { 
@@ -68,7 +68,7 @@ class AliPHOSFastRecParticle : public TParticle {
  protected:
 
   Int_t fIndexInList ; // the index of this RecParticle in the list stored in TreeR (to be set by analysis)
-  Int_t fPrimary ;     // (unique) primary particle index 
+  Int_t fPrimary ;  //  primary particle index 
   Int_t fType ;        // particle type obtained by "virtual" reconstruction
 
  private: