]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALLoader.h
Effective c++, committed on behalf of �ystein Djuvsland
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALLoader.h
index 62bf7474c014f25747c1b04b58f1e56058720fb4..bd361cad85f2c82bf05d71ff5a7669dbc7503b1e 100644 (file)
@@ -27,6 +27,7 @@ class TTask ;
 // --- AliRoot header files ---
 #include "AliLoader.h"
 #include "AliEMCALCalibData.h"
+#include "AliEMCALRecParam.h"
 
 class AliLoader ;
 class AliEMCAL ; 
@@ -42,6 +43,7 @@ class AliEMCALLoader : public AliLoader {
   AliEMCALLoader();
   AliEMCALLoader(const AliEMCALLoader & obj);
   AliEMCALLoader(const Char_t *detname,const Char_t *eventfoldername); 
+  AliEMCALLoader(const Char_t *name,TFolder *topfolder);
   
   virtual ~AliEMCALLoader() ; 
 
@@ -107,6 +109,8 @@ class AliEMCALLoader : public AliLoader {
   void  SetCalibData(AliEMCALCalibData* calibda)  { fgCalibData = calibda; }
   AliEMCALCalibData * CalibData(); // to get the calibration CDB object
 
+  AliEMCALRecParam * RecParam();   // to get rec.parameters from CDB
+
 private:
  
   static const TString fgkECARecPointsBranchName; //! Name of branch with ECA Reconstructed Points
@@ -122,8 +126,9 @@ private:
   TObjArray        *fRecPoints;    //! TClonesArray of recpoints (for tree reading)   
   
   static AliEMCALCalibData * fgCalibData;  //  calibration data 
+  static AliEMCALRecParam  * fgRecParam ;  //  reconstruction parameters
 
-  ClassDef(AliEMCALLoader,0)  // Algorithm class that provides methods to retrieve objects from a list knowing the index 
+  ClassDef(AliEMCALLoader,1)  // Algorithm class that provides methods to retrieve objects from a list knowing the index 
    
 };