]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRecParticle.h
Added GetPrimary method to retrieve the primary particle associated to the SDigits...
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecParticle.h
index 7801503e50f12bd10e4b36efef9ad4505f871c92..32195b88d66715690ff8c65304c31a9c0c116d12 100644 (file)
@@ -36,6 +36,7 @@ class AliPHOSRecParticle : public AliPHOSFastRecParticle {
   virtual const 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();
   void    SetDebug() { fDebug = kTRUE ; } 
   void    SetPos(TVector3 pos) { fPos.SetXYZ( pos.X(), pos.Y(), pos.Z() ); }