]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOS.h
coding convention
[u/mrichter/AliRoot.git] / PHOS / AliPHOS.h
index dbce7c0fec6334e025c2fd1abb8945d7a783f8e2..f612c8d644a35587ec51ea0cb5a8ccf63325a812 100644 (file)
@@ -9,16 +9,14 @@
 //                  
 //*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH)
 
-//#include <stdlib.h>
 
 // --- ROOT system ---
-
 class TString ; 
 class TTask ;
 class TFolder ;
+class TTree ; 
 
 // --- AliRoot header files ---
-
 #include "AliDetector.h" 
 class AliPHOSGeometry ; 
 class AliPHOSQAChecker ;
@@ -29,7 +27,7 @@ class AliPHOS : public AliDetector {
 
   AliPHOS() ;
   AliPHOS(const char* name, const char* title="") ;  
-  AliPHOS(const AliPHOS & phos) {
+  AliPHOS(const AliPHOS & phos) : AliDetector(phos) {
     // cpy ctor: no implementation yet
     // requested by the Coding Convention
     Fatal("cpy ctor", "not implemented") ;
@@ -51,10 +49,10 @@ class AliPHOS : public AliDetector {
   virtual TTree * TreeQA() const {return fTreeQA; } 
   virtual const TString Version() const {return TString(" ") ; } 
   virtual void WriteQA() ; 
-  AliPHOS & operator = (const AliPHOS & rvalue)  {
-    // assignement operator requested by coding convention but not needed
-    Fatal("operator =", "not implemented") ; return *this ; 
-  }
+  AliPHOS & operator = (const AliPHOS & /*rvalue*/)  {
+    Fatal("operator =", "not implemented") ; return *this ; }
+
+  virtual AliLoader* MakeLoader(const char* topfoldername);
  
 protected: