]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSv2.cxx
Coverity fixes.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv2.cxx
index 88d21829573a269ef9a3e79ae2d6129a6ce1a031..14141056bf3070532a318aedd0c1eeab08176079 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,13 @@ AliPHOSv2::~AliPHOSv2()
 }
 
 //____________________________________________________________________________
-void AliPHOSv2::Copy(AliPHOSv2 & phos)
-{
-  TObject::Copy(phos) ; 
-  AliPHOSv1::Copy(phos) ;   
-}
-
-//____________________________________________________________________________
-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++ ;