]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSv0.h
codng convention
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv0.h
index 51920af94d94dac226624f026487691752a2b6db..c948ab25aeb0745d12eb9dc22c2ed21755746924 100644 (file)
@@ -5,7 +5,6 @@
 
 //_________________________________________________________________________
 // Implementation version v0 of PHOS Manager class 
-// Layout EMC + PPSD has name GPS2  
 // Layout EMC + CPV  has name IHEP
 //*--                  
 //*-- Author: Yves Schutz (SUBATECH)
@@ -24,18 +23,17 @@ class AliPHOSv0 : public AliPHOS {
 
   AliPHOSv0() {}
   AliPHOSv0(const char *name, const char *title="") ;
-  AliPHOSv0(const AliPHOSv0 & phos) {
-    // cpy ctor: no implementation yet
-    // requested by the Coding Convention
-    abort() ; 
+  AliPHOSv0(const AliPHOSv0 & phos) : AliPHOS(phos) {
+    Fatal("cpy ctor", "not implemented") ;
   } 
   virtual ~AliPHOSv0(void){
     // dtor
   } 
 
-  virtual void   AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) {
+//    virtual void   AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) {
+  virtual void   AddHit( Int_t, Int_t, Int_t, Int_t, Float_t*) {
     // useless since there are no hits
-    abort() ; 
+    Fatal("AddHit", "not to be used with v0") ;
   }
   virtual void   BuildGeometry(void) ;             // creates the geometry for the ROOT display
   void           BuildGeometryforEMC(void) ;      // creates the PHOS geometry for the ROOT display
@@ -59,9 +57,9 @@ class AliPHOSv0 : public AliPHOS {
     return TString("v0") ; 
   }
   
-  AliPHOSv0 & operator = (const AliPHOSv0 & rvalue)  {
+  AliPHOSv0 & operator = (const AliPHOSv0 & /*rvalue*/)  {
     // assignement operator requested by coding convention but not needed
-    abort() ;
+    Fatal("operator =", "not implemented") ;
     return *this ; 
   }