]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRecParticle.h
Corrected bug in GetRowNumber (class AliTPCSector)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecParticle.h
index 0e0c0161ccca0f18d4e0c1da3a71b156cac4c6d1..55bf1a40190afb6f9bacb78a683f0367c6c5b5ca 100644 (file)
@@ -8,47 +8,34 @@
 //_________________________________________________________________________
 //  A Reconstructed Particle in PHOS    
 //  To become a general class of AliRoot ?        
-//       
+//  why not      
 //*-- Author: Yves Schutz (SUBATECH)
 
 // --- ROOT system ---
 
-#include "TParticle.h"
-#include "TVector3.h"
-
 // --- Standard library ---
 
 // --- AliRoot header files ---
 
-#include "AliPHOSTrackSegment.h"
 #include "AliPHOSFastRecParticle.h"
 
 class AliPHOSRecParticle : public AliPHOSFastRecParticle {
 
-public:
+ public:
   
-  AliPHOSRecParticle() {
-    // ctor
-  }
-  AliPHOSRecParticle(AliPHOSTrackSegment * ts) ;  // ctor
+  AliPHOSRecParticle() {  }
   AliPHOSRecParticle(const AliPHOSRecParticle & rp) ;  // ctor
-  virtual ~AliPHOSRecParticle(){
-    // dtor
-  }
-  AliPHOSTrackSegment * GetPHOSTrackSegment() const ; 
-  Int_t                 GetPHOSTrackSegmentIndex(){
-    // Getter 
-    return fPHOSTrackSegment ;
-  }
-  Int_t *               GetPrimaries(Int_t & number) ;
-
-private:
+  virtual ~AliPHOSRecParticle(){  }
 
-  Int_t fPHOSTrackSegment ; // pointer to the associated track segment in PHOS  
+  Int_t  GetPHOSTSIndex()const {    return fPHOSTrackSegment ;  }
+  void   SetTraskSegment(Int_t index){fPHOSTrackSegment = index; }
 
   typedef TClonesArray RecParticlesList ; 
+  
+ private:
 
-
+  Int_t fPHOSTrackSegment ; // pointer to the associated track segment in PHOS  
+  
   ClassDef(AliPHOSRecParticle,1)  // Reconstructed Particle
 };