* provided "as is" without express or implied warranty. *
**************************************************************************/
/* $Id$ */
+/* History of cvs commits:
+ *
+ * $Log$
+ * Revision 1.89 2005/05/28 12:10:07 schutz
+ * Copy constructor is corrected (by T.P.)
+ *
+ */
//_________________________________________________________________________
// Base Class for PHOS description:
{
// Default ctor
fName = "PHOS" ;
- fDebug = 0;
}
{
// ctor : title is used to identify the layout
- fDebug = 0 ;
fHighCharge = 8.2 ; // adjusted for a high gain range of 5.12 GeV (10 bits)
fHighGain = 6.64 ;
fHighLowGainFactor = 16. ; // adjusted for a low gain range of 82 GeV (10 bits)
}
//____________________________________________________________________________
-void AliPHOS::Copy(AliPHOS & phos)
+void AliPHOS::Copy(TObject &obj)const
{
// copy method to be used byy the cpy ctor
- TObject::Copy(phos) ;
+ TObject::Copy(obj);
+
+ AliPHOS &phos = static_cast<AliPHOS &>(obj);
+
phos.fHighCharge = fHighCharge ;
phos.fHighGain = fHighGain ;
phos.fHighLowGainFactor = fHighLowGainFactor ;