Added explicit base class declaration
authormhorner <mhorner@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 Oct 2003 11:17:58 +0000 (11:17 +0000)
committermhorner <mhorner@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 23 Oct 2003 11:17:58 +0000 (11:17 +0000)
EMCAL/AliEMCAL.h
EMCAL/AliEMCALGeometry.h
EMCAL/AliEMCALGetter.h
EMCAL/AliEMCALLoader.h

index 673f83588b2dc10b7a96ab3c7c719322c850042c..61c81b3facfb42f398f836da05dda2438d3a85df 100644 (file)
@@ -21,6 +21,7 @@ class TFolder ;
 // --- AliRoot header files ---
 
 #include "AliDetector.h"
+//class AliDetector;
 class AliEMCALGeometry ; 
 //class AliEMCALQAChecker ;
 
@@ -30,7 +31,7 @@ class AliEMCAL : public AliDetector {
 
   AliEMCAL(); 
   AliEMCAL(const char* name, const char* title="");
-  AliEMCAL(const AliEMCAL & emcal) {
+  AliEMCAL(const AliEMCAL& emcal) : AliDetector(emcal) {
     // cpy ctor: no implementation yet
     // requested by the Coding Convention
     Fatal("cpy ctor", "not implemented") ;  
@@ -68,7 +69,7 @@ protected:
   TTree * fTreeQA ;            // the QA tree that contains the alarms
   AliEMCALGeometry * fGeom ;   // the geometry object
 
-  ClassDef(AliEMCAL,3) // Electromagnetic calorimeter (base class)
+  ClassDef(AliEMCAL,4) // Electromagnetic calorimeter (base class)
 
 } ;
 
index 9aa2168bc85a8604598b7d7a8c1e5736ec820cba..86f720fd279f5e2b4c7aa1543414529f2c0b3c8c 100644 (file)
@@ -30,7 +30,7 @@ public:
     // default ctor,  must be kept public for root persistency purposes,
     // but should never be called by the outside world
   };
-  AliEMCALGeometry(const AliEMCALGeometry & geom) {
+  AliEMCALGeometry(const AliEMCALGeometry& geom):AliGeometry(geom) {
     // cpy ctor requested by Coding Convention but not yet needed
     assert(0==1);
   };
@@ -163,7 +163,7 @@ private:
   Float_t fSampling;       // Sampling factor
   Float_t fSummationFraction; // Fraction of the energy collected in the PRE section to be added to the EC section
   
-  ClassDef(AliEMCALGeometry,5) // EMCAL geometry class 
+  ClassDef(AliEMCALGeometry,6) // EMCAL geometry class 
     
     };
 
index affa92326681ebe0f17f8e08bc2184b1255038fd..6efde571350b2b0f37cdac7a1715399629b36278 100644 (file)
@@ -57,7 +57,7 @@ class AliEMCALGetter : public TObject {
   AliEMCALGetter(){    // ctor: this is a singleton, the ctor should never be called but cint needs it as public
     Fatal("ctor", "AliEMCALGetter is a singleton default ctor not callable") ;
   } 
-  AliEMCALGetter(const AliEMCALGetter & obj) {
+  AliEMCALGetter(const AliEMCALGetter & obj):TObject(obj) {
     // cpy ctor requested by Coding Convention 
     Fatal("cpy ctor", "not implemented") ;
   } 
@@ -233,7 +233,7 @@ private:
   enum EDataTypes{kHits,kSDigits,kDigits,kRecPoints,kTracks,kNDataTypes};
 
 
-  ClassDef(AliEMCALGetter,1)  // Algorithm class that provides methods to retrieve objects from a list knowing the index 
+  ClassDef(AliEMCALGetter,2)  // Algorithm class that provides methods to retrieve objects from a list knowing the index 
 
 };
 
index 0600f65528fddb5fa70324a6b33e27a1a83fc6ff..bbff9f0755cd43c0feedab6f39b82b18983e49e9 100644 (file)
@@ -55,7 +55,7 @@ class AliEMCALLoader : public AliLoader {
  public:
 
   AliEMCALLoader();
-  AliEMCALLoader(const AliEMCALLoader & obj){}
+  AliEMCALLoader(const AliEMCALLoader & obj):AliLoader(obj){}
   AliEMCALLoader(const Char_t *detname,const Char_t *eventfoldername); 
   
   virtual ~AliEMCALLoader() ; 
@@ -226,7 +226,7 @@ private:
   static const TString fgkTrackSegmentsBranchName;//Name for branch
   static const TString fgkRecParticlesBranchName;//Name for branch
   
-  ClassDef(AliEMCALLoader,2)  // Algorithm class that provides methods to retrieve objects from a list knowing the index 
+  ClassDef(AliEMCALLoader,3)  // Algorithm class that provides methods to retrieve objects from a list knowing the index 
 
 };