]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/EMCAL/AliHLTEMCALConstants.h
Refactoring of constants handling classes.
[u/mrichter/AliRoot.git] / HLT / EMCAL / AliHLTEMCALConstants.h
CommitLineData
88b2ce82 1//-*- Mode: C++ -*-
4f4b7ba4 2// $Id: AliHLTEMCALConstants.h 35357 2009-10-08 13:24:38Z phille $
88b2ce82 3
4/**************************************************************************
5 * This file is property of and copyright by the Experimental Nuclear *
6 * Physics Group, Dep. of Physics *
7 * University of Oslo, Norway, 2006 *
8 * *
4f4b7ba4 9 * Author: Svein Lindal slindal@fys.uio.no for the ALICE DCS Project. *
88b2ce82 10 * Contributors are mentioned in the code where appropriate. *
4f4b7ba4 11 * Please report bugs to slindal@fys.uio.no *
88b2ce82 12 * *
13 * Permission to use, copy, modify and distribute this software and its *
14 * documentation strictly for non-commercial purposes is hereby granted *
15 * without fee, provided that the above copyright notice appears in all *
16 * copies and that both the copyright notice and this permission notice *
17 * appear in the supporting documentation. The authors make no claims *
18 * about the suitability of this software for any purpose. It is *
19 * provided "as is" without express or implied warranty. *
20 **************************************************************************/
21
88b2ce82 22#ifndef ALIHLTEMCALCONSTANTS_H
23#define ALIHLTEMCALCONSTANTS_H
24
493d142e 25class AliHLTCaloConstants;
4f4b7ba4 26
27
28class AliHLTEMCALConstants : public AliHLTCaloConstants
88b2ce82 29{
4d6be4cd 30
42536569 31
4f4b7ba4 32public:
4f4b7ba4 33 AliHLTEMCALConstants();
34 ~AliHLTEMCALConstants();
4f4b7ba4 35 Int_t GetNZROWSRCU() const { return fkNZROWSRCU;}
36 Int_t GetNXCOLUMNSRCU() const { return fkNXCOLUMNSRCU;}
37 Int_t GetNZROWSMOD() const { return fkNZROWSMOD;}
38 Int_t GetNXCOLUMNSMOD() const { return fkNXCOLUMNSMOD;}
4f4b7ba4 39 Int_t GetNMODULES() const { return fkNMODULES;}
40 Int_t GetNRCUS() const { return fkNRCUS;}
4f4b7ba4 41 Int_t GetNRCUSPERMODULE() const { return fkNRCUSPERMODULE;}
42 Int_t GetNRCUSPERTOTAL() const { return fkNRCUSPERTOTAL;}
43 Int_t GetNFEECS() const { return fkNFEECS;}
532aa795 44
22406a6a 45 Float_t GetCELLSTEP() const { return fkCELLSTEP; }
46 Float_t GetMAXCELLSTEPETA() const { return fkMAXCELLSTEPETA; } //FR
47 Float_t GetMINCELLSTEPETA() const { return fkMINCELLSTEPETA; } //FR
48 Float_t GetCELLSTEPPHI() const { return fkCELLSTEPPHI; } //FR
49 Float_t GetCELLHEIGHT() const { return fkCELLHEIGHT; } //FR
50 Float_t GetCELLANGLE() const { return fkCELLANGLE; } //FR
51 Float_t GetRADLENGTH() const { return fkRADLENGTH; } //FR
52 Float_t GetCRITICENERGY() const { return fkCRITICENERGY; } //FR
532aa795 53 Float_t GetCJ() const { return fkCJ;} //FR
bb29f0e9 54 Int_t GetDDLOFFSET() const { return fkDDLOFFSET; }
88b2ce82 55
4f4b7ba4 56private:
4f4b7ba4 57 /** Constant members */
4f4b7ba4 58 const Int_t fkNZROWSRCU; /**<Number of rows per module*/
bef88448 59 const Int_t fkNXCOLUMNSRCU;//Constant
4f4b7ba4 60 const Int_t fkNZROWSMOD; /**<Number of rows per module*/
61 const Int_t fkNXCOLUMNSMOD; /**<Number of columns per module*/
4f4b7ba4 62 const Int_t fkNMODULES; /**<Number of modules of the EMCAL detector*/
63 const Int_t fkNRCUS; /**<Number of RCUs per Module*/
4f4b7ba4 64 const Int_t fkNRCUSPERMODULE; /**<Number of RCUs per Module*/
65 const Int_t fkNRCUSPERTOTAL; /**<Total number of RCUs for EMCAL*/
66 const Int_t fkNFEECS; /**<Number of Frontend cards per branch*/
4f4b7ba4 67 ClassDef(AliHLTEMCALConstants, 1)
68
69};
70#endif