]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/PHOS/AliHLTPHOSConstants.h
Merge branch 'TPCdev' of https://git.cern.ch/reps/AliRoot into TPCdev
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSConstants.h
index 7b71db00d34b260020ca0c116bd2af9594f03be9..4eb20f50af3794a8e9824e5b872e188e8d2c65db 100644 (file)
 
 #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
+