]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRecParticle.h
coverity fix (Prabhat Pujahari <p.pujahari@gmail.com>)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecParticle.h
index 8fb07df141b4cff294dfc45c0d01b6187d52eb53..337131432baff256d5477a6d4bbe09be1b67fb4b 100644 (file)
@@ -36,16 +36,20 @@ class AliPHOSRecParticle : public AliPHOSFastRecParticle {
   TVector3 GetPos() const { return fPos ; } 
   virtual const TParticle * GetPrimary(Int_t index) const ;
   virtual const TParticle * GetPrimary() const ;
-  const Double_t *GetPID() { return fPID ; }
+  Int_t GetPrimaryIndex() const ;
+  const Float_t *GetPID() { return fPID ; }
   void    SetDebug() { fDebug = kTRUE ; } 
-  void    SetPID(Int_t type, Double_t weight) ; 
+  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; }
 
   typedef TClonesArray RecParticlesList ; 
   
- private:
+private:
+  AliPHOSRecParticle & operator = (const AliPHOSRecParticle & /*rp*/);
+
+private:
 
   Int_t fPHOSTrackSegment ; // pointer to the associated track segment in PHOS  
   Bool_t fDebug ; // to steer debug output