]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALv0.h
Use of (dummy) reconstructors for all detectors (T.Kuhr)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALv0.h
index ee3c7f40f2690e4dc3b6c4c0b5c51bccac4e09aa..a7227092aa1474c6ac64c58f03be13e6d388815c 100644 (file)
@@ -27,47 +27,34 @@ class AliEMCALv0 : public AliEMCAL {
 
   AliEMCALv0():AliEMCAL() {}
   AliEMCALv0(const char *name, const char *title="") ;
-  AliEMCALv0(const AliEMCALv0 & emcal) {
+  AliEMCALv0(const AliEMCALv0 & emcal):AliEMCAL(emcal) {
     // cpy ctor: no implementation yet
     // requested by the Coding Convention
-    abort() ; 
+    Fatal("cpy ctor", "not implemented") ;  
   } 
   virtual ~AliEMCALv0(){} 
 
-  virtual void  AddHit( Int_t shunt, Int_t primary, Int_t track, 
-                       Int_t id, Float_t *hits ) {
-    // no hits - useless
-  }
-
   virtual void BuildGeometry();// creates the geometry for the ROOT display
   virtual void CreateGeometry() ;// creates the geometry for GEANT
-
-  virtual AliEMCALGeometry * GetGeometry() const {
-    // gets the pointer to the AliEMCALGeometry unique instance
-    return fGeom ;
-  }
-
-
-
   virtual void   Init(void) ;                                       // does nothing
   virtual Int_t  IsVersion(void) const { 
     // Gives the version number 
     return 0 ; 
   }
-  virtual TString Version(void)
+  virtual const TString Version(void) const
     // As above
     return TString("v0") ; 
   }
   
-  AliEMCALv0 & operator = (const AliEMCALv0 & rvalue)  {
+  AliEMCALv0 & operator = (const AliEMCALv0 & /*rvalue*/)  {
     // assignement operator requested by coding convention but not needed
-    abort() ;
+    Fatal("operator =", "not implemented") ;  
     return *this ; 
   }
   
  protected:
 
-  ClassDef(AliEMCALv0,1)  // Implementation of EMCAL manager class for midrapidity barrel layout between 0 and 120 degrees 
+  ClassDef(AliEMCALv0,2)  // Implementation of EMCAL manager class for midrapidity barrel layout between 0 and 120 degrees 
     
     };