]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRecParticle.h
Protection against gMinuit deletion by third party added
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecParticle.h
index 32195b88d66715690ff8c65304c31a9c0c116d12..297e5b36b1dc4d9dd4d4b87d78a76f97968175fa 100644 (file)
@@ -18,7 +18,6 @@
 // --- AliRoot header files ---
 
 #include "AliPHOSFastRecParticle.h"
-#include "AliESDtrack.h" 
 
 class TParticle ;
 #include  "TVector3.h"  
@@ -32,13 +31,15 @@ class AliPHOSRecParticle : public AliPHOSFastRecParticle {
   virtual ~AliPHOSRecParticle(){  }
 
   Int_t   GetPHOSTSIndex()const {    return fPHOSTrackSegment ;  }
-  virtual const Int_t GetNPrimariesToRecParticles() const ;
-  virtual const Int_t GetNPrimaries() const ;
+  virtual Int_t GetNPrimariesToRecParticles() const ;
+  virtual Int_t GetNPrimaries() const ;
   TVector3 GetPos() const { return fPos ; } 
   virtual const TParticle * GetPrimary(Int_t index) const ;
   virtual const TParticle * GetPrimary() const ;
-  const Double_t *GetPID();
+  Int_t GetPrimaryIndex() const ;
+  const Float_t *GetPID() { return fPID ; }
   void    SetDebug() { fDebug = kTRUE ; } 
+  void    SetPID(Int_t type, Float_t weight) ; 
   void    SetPos(TVector3 pos) { fPos.SetXYZ( pos.X(), pos.Y(), pos.Z() ); } 
   void    UnsetDebug() { fDebug = kFALSE ; }
   void    SetTrackSegment(Int_t index){fPHOSTrackSegment = index; }
@@ -50,7 +51,6 @@ class AliPHOSRecParticle : public AliPHOSFastRecParticle {
   Int_t fPHOSTrackSegment ; // pointer to the associated track segment in PHOS  
   Bool_t fDebug ; // to steer debug output
   TVector3 fPos ; // position in the global alice coordinate system 
-  Double_t fPID[AliESDtrack::kSPECIESN] ; // PID probability densities
 
   ClassDef(AliPHOSRecParticle,3)  // Reconstructed Particle
 };