]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSv2.cxx
Fixing coverity bugs
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv2.cxx
index 88d21829573a269ef9a3e79ae2d6129a6ce1a031..38e8557d297f5fc11844c3ee3e6f2f6095e5fed9 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 /* $Id$ */
+
+/* History of cvs commits:
+ *
+ * $Log$
+ * Revision 1.24  2005/05/28 14:19:05  schutz
+ * Compilation warnings fixed by T.P.
+ *
+ */
+
 //_________________________________________________________________________
 // Version of AliPHOSv1 which keeps all hits in TreeH
 // AddHit, StepManager,and FinishEvent are redefined 
@@ -57,20 +66,20 @@ AliPHOSv2::~AliPHOSv2()
 }
 
 //____________________________________________________________________________
-void AliPHOSv2::Copy(AliPHOSv2 & phos)
+AliPHOSv2 & AliPHOSv2::operator = (const AliPHOSv2 &)
 {
-  TObject::Copy(phos) ; 
-  AliPHOSv1::Copy(phos) ;   
+  Fatal("operator =", "not implemented");
+  return *this;
 }
 
 //____________________________________________________________________________
-void AliPHOSv2::AddHit(Int_t shunt, Int_t primary, Int_t tracknumber, Int_t Id, Float_t * hits)
+void AliPHOSv2::AddHit(Int_t shunt, Int_t primary, Int_t Id, Float_t * hits)
 {
   // Add a hit to the hit list.
 
   AliPHOSHit *newHit ;
 
-  newHit = new AliPHOSHit(shunt, primary, tracknumber, Id, hits) ;
+  newHit = new AliPHOSHit(shunt, primary, Id, hits) ;
 
   new((*fHits)[fNhits]) AliPHOSHit(*newHit) ;    
   fNhits++ ;