]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/EMCAL/AliHLTEMCALConstants.h
modification(by Levente) to solve the problem in the QA mentioned in the bug report...
[u/mrichter/AliRoot.git] / HLT / EMCAL / AliHLTEMCALConstants.h
index 1c22d73ffca466006aba7d4e36bec5d48879d2b8..9ecd9778e0e9993a768a3cfa24d463aeaceab7f5 100644 (file)
 #ifndef ALIHLTEMCALCONSTANTS_H
 #define ALIHLTEMCALCONSTANTS_H
 
-class AliHLTCaloConstants;
+
+#include "AliHLTCaloConstants.h"
 
 
 class AliHLTEMCALConstants : public AliHLTCaloConstants
 {
-
-
+  
 public:
   AliHLTEMCALConstants();
   ~AliHLTEMCALConstants();
+  virtual Int_t GetNZROWSMOD() const      { return EMCAL::NZROWSMOD;} 
+  virtual Int_t GetNXCOLUMNSMOD() const   { return EMCAL::NXCOLUMNSMOD;}; 
+  virtual Int_t GetNMODULES() const       { return EMCAL::NMODULES; }; 
+  virtual Int_t GetNRCUSPERMODULE() const { return EMCAL::NRCUSPERMODULE;};
+  virtual Int_t GetNFEECS() const         { return EMCAL::NFEECS; } ;
+  virtual void InitConstants(); 
  
-  // Int_t GetNZROWSRCU() const { return fkNZROWSRCU;}
-  // Int_t GetNXCOLUMNSRCU() const { return fkNXCOLUMNSRCU;} 
-  // Int_t GetNZROWSMOD() const { return fkNZROWSMOD;} 
-  // Int_t GetNXCOLUMNSMOD() const { return fkNXCOLUMNSMOD;} 
-  // Int_t GetNMODULES() const { return fkNMODULES;} 
-  // Int_t GetNRCUS() const { return fkNRCUS;} 
-  // Int_t GetNRCUSPERMODULE() const { return fkNRCUSPERMODULE;} 
-  // Int_t GetNRCUSPERTOTAL() const { return fkNRCUSPERTOTAL;} 
-  // Int_t GetNFEECS() const { return fkNFEECS;} 
+private:
   
-  // Float_t GetCELLSTEP() const { return fkCELLSTEP; }
-  // Float_t GetMAXCELLSTEPETA() const { return fkMAXCELLSTEPETA; }  //FR
-  // Float_t GetMINCELLSTEPETA() const { return fkMINCELLSTEPETA; }  //FR
-  // Float_t GetCELLSTEPPHI() const { return fkCELLSTEPPHI; }        //FR
-  // Float_t GetCELLHEIGHT() const { return fkCELLHEIGHT; }        //FR
-  // Float_t GetCELLANGLE() const { return fkCELLANGLE; }        //FR
-  // Float_t GetRADLENGTH() const { return fkRADLENGTH; }        //FR
-  // Float_t GetCRITICENERGY() const { return fkCRITICENERGY; }        //FR
-  // Float_t GetCJ() const { return fkCJ;} //FR
-  // Int_t GetDDLOFFSET() const { return fkDDLOFFSET; }
-
-  //private:
-
-  /** Constant members */
-  // const Int_t fkNZROWSRCU; /**<Number of rows per module*/ 
-  // const Int_t fkNXCOLUMNSRCU;//Constant
-  // const Int_t fkNZROWSMOD;  /**<Number of rows per module*/ 
-  // const Int_t fkNXCOLUMNSMOD;  /**<Number of columns per module*/ 
-  // const Int_t fkNMODULES;   /**<Number of modules of the EMCAL detector*/
-  // const Int_t fkNRCUS;   /**<Number of RCUs per Module*/
-  // const Int_t fkNRCUSPERMODULE;   /**<Number of RCUs per Module*/
-  // const Int_t fkNRCUSPERTOTAL; /**<Total number of RCUs for EMCAL*/
-  // const Int_t fkNFEECS;  /**<Number of Frontend cards per branch*/
-
   ClassDef(AliHLTEMCALConstants, 1)
-
 };
+
 #endif