* provided "as is" without express or implied warranty. *
**************************************************************************/
/* $Id$ */
+
+/* History of cvs commits:
+ *
+ * $Log$
+ */
+
//_________________________________________________________________________
// Version of AliPHOSv1 which keeps all hits in TreeH
// AddHit, StepManager,and FinishEvent are redefined
}
//____________________________________________________________________________
-void AliPHOSv2::AddHit(Int_t shunt, Int_t primary, Int_t tracknumber, Int_t Id, Float_t * hits)
+void AliPHOSv2::Copy(TObject & phos)const
+{
+ TObject::Copy(phos) ;
+ AliPHOSv1::Copy(phos) ;
+}
+
+//____________________________________________________________________________
+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++ ;