]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSv0.cxx
Fix compiler problems
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv0.cxx
index b2ad372cabc140d901e5cffa5c4d95e46f36eabf..72c87dfe1e74f04b34b6c5f987ba2a1a613bb29f 100644 (file)
  **************************************************************************/
 /* $Id$ */
 
+/* History of cvs commits:
+ *
+ * $Log$
+ * Revision 1.79  2005/05/28 14:19:05  schutz
+ * Compilation warnings fixed by T.P.
+ *
+ */
+
 //_________________________________________________________________________
 // Implementation version v0 of PHOS Manager class 
 // An object of this class does not produce hits nor digits
@@ -46,6 +54,7 @@
 #include "AliPHOSLoader.h"
 #include "AliPHOSv0.h"
 #include "AliRun.h"
+#include "AliLog.h"
 
 ClassImp(AliPHOSv0)
 
@@ -58,7 +67,7 @@ AliPHOSv0::AliPHOSv0(const char *name, const char *title):
 }
 
 //____________________________________________________________________________
-void AliPHOSv0::Copy(AliPHOSv0 & phos) 
+void AliPHOSv0::Copy(TObject & phos) const
 {
   TObject::Copy(phos) ; 
   AliPHOS::Copy(phos) ; 
@@ -879,7 +888,7 @@ void AliPHOSv0::Init(void)
   
   Int_t i;
 
-  if(fDebug) {
+  if(AliLog::GetGlobalDebugLevel()>0) {
     TString st ; 
     for(i=0;i<35;i++) 
       st += "*";