Cosmetcis
[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
4f4b7ba4 31public:
32
33 AliHLTEMCALConstants();
34 ~AliHLTEMCALConstants();
4f4b7ba4 35 Int_t GetMAXHOSTS() const { return fkMAXHOSTS;}
36 Int_t GetDEFAULTEVENTPORT() const { return fkDEFAULTEVENTPORT; }
4f4b7ba4 37 Int_t GetNZROWSRCU() const { return fkNZROWSRCU;}
38 Int_t GetNXCOLUMNSRCU() const { return fkNXCOLUMNSRCU;}
39 Int_t GetNZROWSMOD() const { return fkNZROWSMOD;}
40 Int_t GetNXCOLUMNSMOD() const { return fkNXCOLUMNSMOD;}
4f4b7ba4 41 Int_t GetNDATATYPES() const { return fkNDATATYPES;}
4f4b7ba4 42 Int_t GetPFMAXPATHLENGTH() const { return fkPFMAXPATHLENGTH;}
4f4b7ba4 43 Int_t GetPFDEFAULTNSAMPLES() const{ return fkPFDEFAULTNSAMPLES;}
44 Int_t GetPFDEFAULTSTARTINDEX() const { return fkPFDEFAULTSTARTINDEX;}
4f4b7ba4 45 Double_t GetDEFAULTTAU() const { return fkDEFAULTTAU;}
46 Int_t GetDEFAULTFS() const { return fkDEFAULTFS;}
4f4b7ba4 47 Int_t GetMODULE0() const { return fkMODULE0;}
48 Int_t GetMODULE1() const { return fkMODULE1;}
49 Int_t GetMODULE2() const { return fkMODULE2;}
50 Int_t GetMODULE3() const { return fkMODULE3;}
51 Int_t GetMODULE4() const { return fkMODULE4;}
4f4b7ba4 52 Int_t GetCSPSPERFEE() const { return fkCSPSPERFEE;}
53 Int_t GetRCU0() const { return fkRCU0;}
54 Int_t GetRCU1() const { return fkRCU1;}
55 Int_t GetRCU2() const { return fkRCU2;}
56 Int_t GetRCU3() const { return fkRCU3;}
4f4b7ba4 57 Int_t GetZ0() const { return fkZ0;}
58 Int_t GetZ1() const { return fkZ1;}
59 Int_t GetX0() const { return fkX0;}
60 Int_t GetX1() const { return fkX1;}
4f4b7ba4 61 Int_t GetNMODULES() const { return fkNMODULES;}
62 Int_t GetNRCUS() const { return fkNRCUS;}
4f4b7ba4 63 Int_t GetNRCUSPERMODULE() const { return fkNRCUSPERMODULE;}
64 Int_t GetNRCUSPERTOTAL() const { return fkNRCUSPERTOTAL;}
65 Int_t GetNFEECS() const { return fkNFEECS;}
66 Int_t GetNALTROS() const { return fkNALTROS;}
67 Int_t GetNALTROCHANNELS() const { return fkNALTROCHANNELS;}
68 Int_t GetNBRANCHES() const { return fkNBRANCHES;}
22406a6a 69 Float_t GetCELLSTEP() const { return fkCELLSTEP; }
70 Float_t GetMAXCELLSTEPETA() const { return fkMAXCELLSTEPETA; } //FR
71 Float_t GetMINCELLSTEPETA() const { return fkMINCELLSTEPETA; } //FR
72 Float_t GetCELLSTEPPHI() const { return fkCELLSTEPPHI; } //FR
73 Float_t GetCELLHEIGHT() const { return fkCELLHEIGHT; } //FR
74 Float_t GetCELLANGLE() const { return fkCELLANGLE; } //FR
75 Float_t GetRADLENGTH() const { return fkRADLENGTH; } //FR
76 Float_t GetCRITICENERGY() const { return fkCRITICENERGY; } //FR
77 Float_t GetGJ() const { return fkCJ;} //FR
4f4b7ba4 78 Int_t GetNRCUSPERSECTOR() const { return fkNRCUSPERSECTOR; }
bb29f0e9 79 Int_t GetDDLOFFSET() const { return fkDDLOFFSET; }
427c373f 80 TString GetDETNAME() const { return fkDETNAME; }
88b2ce82 81
4f4b7ba4 82private:
4f4b7ba4 83 /** Constant members */
bef88448 84 const Int_t fkMAXHOSTS;//Constant
85 const Int_t fkDEFAULTEVENTPORT;//Constant
4f4b7ba4 86 const Int_t fkNZROWSRCU; /**<Number of rows per module*/
bef88448 87 const Int_t fkNXCOLUMNSRCU;//Constant
4f4b7ba4 88 const Int_t fkNZROWSMOD; /**<Number of rows per module*/
89 const Int_t fkNXCOLUMNSMOD; /**<Number of columns per module*/
bef88448 90 const Int_t fkNDATATYPES;//Constant
bef88448 91 const Int_t fkPFMAXPATHLENGTH;//Constant
bef88448 92 const Int_t fkPFDEFAULTNSAMPLES;//Constant
93 const Int_t fkPFDEFAULTSTARTINDEX;//Constant
4f4b7ba4 94 const Double_t fkDEFAULTTAU; /**<Assume that the signal rise time of the altrp pulses is 2 us (nominal value of the electronics)*/
95 const Int_t fkDEFAULTFS; /**<Assume that the signal is samples with 10 MHZ samle rate*/
bef88448 96 const Int_t fkMODULE0;//Constant
97 const Int_t fkMODULE1;//Constant
98 const Int_t fkMODULE2;//Constant
99 const Int_t fkMODULE3;//Constant
100 const Int_t fkMODULE4;//Constant
bef88448 101 const Int_t fkCSPSPERFEE;//Constant
102 const Int_t fkRCU0;//Constant
103 const Int_t fkRCU1;//Constant
104 const Int_t fkRCU2;//Constant
105 const Int_t fkRCU3;//Constant
bef88448 106 const Int_t fkZ0;//Constant
107 const Int_t fkZ1;//Constant
108 const Int_t fkX0;//Constant
109 const Int_t fkX1; //Constant
4f4b7ba4 110
111 const Int_t fkNMODULES; /**<Number of modules of the EMCAL detector*/
112 const Int_t fkNRCUS; /**<Number of RCUs per Module*/
4f4b7ba4 113 const Int_t fkNRCUSPERMODULE; /**<Number of RCUs per Module*/
114 const Int_t fkNRCUSPERTOTAL; /**<Total number of RCUs for EMCAL*/
115 const Int_t fkNFEECS; /**<Number of Frontend cards per branch*/
116 const Int_t fkNALTROS; /**<Number of ALTROs per frontend card*/
bef88448 117 const Int_t fkNALTROCHANNELS; //Constant
118 const Int_t fkNBRANCHES; //Constant
4e944263 119
bef88448 120 const Float_t fkCELLSTEP; //Constant
22406a6a 121 const Float_t fkMAXCELLSTEPETA;
122 const Float_t fkMINCELLSTEPETA;
123 const Float_t fkCELLSTEPPHI;
124 const Float_t fkCELLHEIGHT;
125 const Float_t fkCELLANGLE;
126 const Float_t fkRADLENGTH;
127 const Float_t fkCRITICENERGY;
128 const Float_t fkCJ;
129
bef88448 130 const Int_t fkNRCUSPERSECTOR; //Constant
bef88448 131 const Int_t fkDDLOFFSET; //Constant
427c373f 132 const TString fkDETNAME; //Constant
133
4f4b7ba4 134 ClassDef(AliHLTEMCALConstants, 1)
135
136};
137#endif