]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSEmcRecPoint.h
Coverity fixes
[u/mrichter/AliRoot.git] / PHOS / AliPHOSEmcRecPoint.h
index e8b17faac120f3fd4d61a46be5f9a419cc397d08..d96c11a4e04dfdea801e843db344bcb4133fb775 100644 (file)
@@ -93,12 +93,10 @@ public:
   Float_t     GetDistanceToBadCrystal() const {return fDistToBadCrystal;}
   void        SetDistanceToBadCrystal(Float_t dist) {fDistToBadCrystal=dist;}
 
-  AliPHOSEmcRecPoint & operator = (const AliPHOSEmcRecPoint & /*rvalue*/)  {
-    Fatal("operator =", "not implemented");
-    return *this ;
-  }
+private:
+  AliPHOSEmcRecPoint & operator = (const AliPHOSEmcRecPoint & /*rvalue*/) {return *this;}
 
- protected:
+protected:
   virtual void  EvalLocalPosition(Float_t logWeight, TVector3 &vtx, TClonesArray * digits, TVector3 &vInc) ;// computes the position in the PHOS module 
   virtual void  EvalDispersion(Float_t logWeight, TClonesArray * digits, TVector3 &vInc) ;   // computes the dispersion of the shower
   virtual void  EvalElipsAxis(Float_t logWeight, TClonesArray * digits, TVector3 &vInc );   // computes the axis of shower ellipsoide