#ifndef ALIHLTPHOSCONSTANTS_H
#define ALIHLTPHOSCONSTANTS_H
+
+
#include <TString.h>
+#include "Rtypes.h"
+
+
+#include "AliHLTCaloConstants.h"
-class AliHLTCaloConstants;
class AliHLTPHOSConstants : public AliHLTCaloConstants
{
-
public:
AliHLTPHOSConstants();
- ~AliHLTPHOSConstants();
- 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;}
- // Float_t GetCELLSTEP() const { return fkCELLSTEP; }
-
-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 PHOS 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 PHOS*/
- const Int_t fkNFEECS; /**<Number of Frontend cards per branch*/
+ virtual ~AliHLTPHOSConstants();
+ virtual void InitConstants();
+ virtual Int_t GetNZROWSMOD() const { return PHOS::NZROWSMOD;}
+ virtual Int_t GetNXCOLUMNSMOD() const { return PHOS::NXCOLUMNSMOD;};
+ virtual Int_t GetNMODULES() const { return PHOS::NMODULES; };
+ virtual Int_t GetNRCUSPERMODULE() const { return PHOS::NRCUSPERMODULE;};
+ virtual Int_t GetNFEECS() const { return PHOS::NFEECS; } ;
- ClassDef(AliHLTPHOSConstants, 1);
-
+ ClassDef(AliHLTPHOSConstants, 1)
};
#endif
+