]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSConstants.h
Refactoring of constants handling classes.
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSConstants.h
1 //-*- Mode: C++ -*-
2 // $Id$
3
4 //* This file is property of and copyright by the ALICE HLT Project        * 
5 //* ALICE Experiment at CERN, All rights reserved.                         *
6 //* See cxx source for full Copyright notice                               */
7
8 /// @file   AliHLTPHOSConstants.h
9 /// @author Svein Lindal
10 /// @date   
11 /// @brief  Class containing constants for PHOS libraries.
12
13 #ifndef ALIHLTPHOSCONSTANTS_H
14 #define ALIHLTPHOSCONSTANTS_H
15 #include <TString.h>
16
17 class AliHLTCaloConstants;
18
19 class AliHLTPHOSConstants : public AliHLTCaloConstants
20 {
21
22 public:
23   AliHLTPHOSConstants();
24   ~AliHLTPHOSConstants();
25   Int_t GetNZROWSRCU() const { return fkNZROWSRCU;}                             
26   Int_t GetNXCOLUMNSRCU() const { return fkNXCOLUMNSRCU;}                       
27   Int_t GetNZROWSMOD() const { return fkNZROWSMOD;}                             
28   Int_t GetNXCOLUMNSMOD() const { return fkNXCOLUMNSMOD;}                       
29   Int_t GetNMODULES() const { return fkNMODULES;}                               
30   Int_t GetNRCUS() const { return fkNRCUS;}                                     
31   Int_t GetNRCUSPERMODULE() const { return fkNRCUSPERMODULE;}                   
32   Int_t GetNRCUSPERTOTAL() const { return fkNRCUSPERTOTAL;}                     
33   Int_t GetNFEECS() const { return fkNFEECS;}                                   
34   //  Float_t GetCELLSTEP() const { return fkCELLSTEP; }                                
35   
36 private:
37   /** Constant members */
38   const Int_t fkNZROWSRCU; /**<Number of rows per module*/ 
39   const Int_t fkNXCOLUMNSRCU;          //Constant
40   const Int_t fkNZROWSMOD;  /**<Number of rows per module*/ 
41   const Int_t fkNXCOLUMNSMOD;  /**<Number of columns per module*/ 
42   const Int_t fkNMODULES;   /**<Number of modules of the PHOS detector*/
43   const Int_t fkNRCUS;   /**<Number of RCUs per Module*/
44   const Int_t fkNRCUSPERMODULE;   /**<Number of RCUs per Module*/
45   const Int_t fkNRCUSPERTOTAL; /**<Total number of RCUs for PHOS*/
46   const Int_t fkNFEECS;  /**<Number of Frontend cards per branch*/
47   
48   ClassDef(AliHLTPHOSConstants, 1);
49
50 };
51
52 #endif