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 */
8 /// @file AliHLTPHOSConstants.h
9 /// @author Svein Lindal
11 /// @brief Class containing constants for PHOS libraries.
13 #ifndef ALIHLTPHOSCONSTANTS_H
14 #define ALIHLTPHOSCONSTANTS_H
17 class AliHLTCaloConstants;
19 class AliHLTPHOSConstants : public AliHLTCaloConstants
23 AliHLTPHOSConstants();
24 ~AliHLTPHOSConstants();
25 Int_t GetMAXHOSTS() const { return fkMAXHOSTS;}
26 Int_t GetDEFAULTEVENTPORT() const { return fkDEFAULTEVENTPORT; }
27 Int_t GetNZROWSRCU() const { return fkNZROWSRCU;}
28 Int_t GetNXCOLUMNSRCU() const { return fkNXCOLUMNSRCU;}
29 Int_t GetNZROWSMOD() const { return fkNZROWSMOD;}
30 Int_t GetNXCOLUMNSMOD() const { return fkNXCOLUMNSMOD;}
31 Int_t GetNDATATYPES() const { return fkNDATATYPES;}
32 Int_t GetCSPSPERFEE() const { return fkCSPSPERFEE;}
33 Int_t GetNMODULES() const { return fkNMODULES;}
34 Int_t GetNRCUS() const { return fkNRCUS;}
35 Int_t GetNRCUSPERMODULE() const { return fkNRCUSPERMODULE;}
36 Int_t GetNRCUSPERTOTAL() const { return fkNRCUSPERTOTAL;}
37 Int_t GetNFEECS() const { return fkNFEECS;}
38 Int_t GetNALTROS() const { return fkNALTROS;}
39 Int_t GetNALTROCHANNELS() const { return fkNALTROCHANNELS;}
40 Int_t GetNBRANCHES() const { return fkNBRANCHES;}
41 Float_t GetCELLSTEP() const { return fkCELLSTEP; } // Int_t GetNRCUSPERSECTOR() const { return fkNRCUSPERSECTOR; } Int_t GetDDLOFFSET() const { return fkDDLOFFSET; }
42 TString GetDETNAME() const { return fkDETNAME; }
45 /** Constant members */
46 const Int_t fkMAXHOSTS; //Constant
47 const Int_t fkDEFAULTEVENTPORT; //Constant
48 const Int_t fkNZROWSRCU; /**<Number of rows per module*/
49 const Int_t fkNXCOLUMNSRCU; //Constant
50 const Int_t fkNZROWSMOD; /**<Number of rows per module*/
51 const Int_t fkNXCOLUMNSMOD; /**<Number of columns per module*/
52 const Int_t fkNDATATYPES; //Constant
53 const Int_t fkCSPSPERFEE; //Constant
55 const Int_t fkNMODULES; /**<Number of modules of the PHOS detector*/
56 const Int_t fkNRCUS; /**<Number of RCUs per Module*/
58 const Int_t fkNRCUSPERMODULE; /**<Number of RCUs per Module*/
59 const Int_t fkNRCUSPERTOTAL; /**<Total number of RCUs for PHOS*/
60 const Int_t fkNFEECS; /**<Number of Frontend cards per branch*/
61 const Int_t fkNALTROS; /**<Number of ALTROs per frontend card*/
62 const Int_t fkNALTROCHANNELS; //Constant
63 const Int_t fkNBRANCHES; //Constant
65 const Float_t fkCELLSTEP; //Constant
66 // const Int_t fkNRCUSPERSECTOR; //Constant
67 const Int_t fkDDLOFFSET; //Constant
68 const TString fkDETNAME; //Constant
70 ClassDef(AliHLTPHOSConstants, 1);