]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRecParticle.h
Adding some QCD diffractive states to the PDG list
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecParticle.h
index 55bf1a40190afb6f9bacb78a683f0367c6c5b5ca..e2d5cca18a596035b9c20cd7b9df9d71b589a2b2 100644 (file)
 // --- AliRoot header files ---
 
 #include "AliPHOSFastRecParticle.h"
+class TParticle ;
 
 class AliPHOSRecParticle : public AliPHOSFastRecParticle {
 
  public:
   
-  AliPHOSRecParticle() {  }
+  AliPHOSRecParticle() { fPHOSTrackSegment = 0 ; fDebug = kFALSE ; } 
   AliPHOSRecParticle(const AliPHOSRecParticle & rp) ;  // ctor
   virtual ~AliPHOSRecParticle(){  }
 
-  Int_t  GetPHOSTSIndex()const {    return fPHOSTrackSegment ;  }
-  void   SetTraskSegment(Int_t index){fPHOSTrackSegment = index; }
+  Int_t   GetPHOSTSIndex()const {    return fPHOSTrackSegment ;  }
+  virtual const Int_t GetNPrimariesToRecParticles() const ;
+  virtual const Int_t GetNPrimaries() const ;
+  virtual const TParticle * GetPrimary(Int_t index) const ;
+  void    SetDebug() { fDebug = kTRUE ; } 
+  void    UnsetDebug() { fDebug = kFALSE ; }
+  void    SetTrackSegment(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
+  Bool_t fDebug ;           // debug flug: silent of =0
+
+  ClassDef(AliPHOSRecParticle,2)  // Reconstructed Particle
 };
 
 #endif // AliPHOSRECPARTICLE_H