]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/CALO/AliHLTCaloConstants.h
- fixing coding violations
[u/mrichter/AliRoot.git] / HLT / CALO / AliHLTCaloConstants.h
CommitLineData
178dd351 1//-*- Mode: C++ -*-
c375e15d 2// $Id: AliHLTCALOConstants.h $
178dd351 3
c375e15d 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 AliHLCaloConstants.h
9/// @author Svein Lindal
10/// @date
11/// @brief Class containing constants for PHOS and EMCAL
12/// loaded libraries
178dd351 13
9107088d 14#include "Rtypes.h"
15
178dd351 16#ifndef ALIHLTCALOCONSTANTS_H
17#define ALIHLTCALOCONSTANTS_H
18
c375e15d 19class TString;
178dd351 20
77f350f7 21class AliHLTCaloConstants
22{
23public:
c375e15d 24
25 AliHLTCaloConstants(TString det);
77f350f7 26 virtual ~AliHLTCaloConstants();
9107088d 27
28 Int_t GetMAXHOSTS() const {return fkMAXHOSTS; }
29 Int_t GetDEFAULTEVENTPORT() const { return fkDEFAULTEVENTPORT; }
30 Int_t GetMAXBINVALUE() const { return fkMAXBINVALUE; }
31 Int_t GetHIGHGAIN() const { return fkHIGHGAIN; }
32 Int_t GetLOWGAIN() const { return fkLOWGAIN; }
33 Int_t GetALTROMAXSAMPLES() const { return fkALTROMAXSAMPLES; }
34 Int_t GetALTROMAXPRESAMPLES() const { return fkALTROMAXPRESAMPLES; }
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; }
39 Int_t GetNGAINS() const{ return fkNGAINS; }
40 Int_t GetNDATATYPES() const { return fkNDATATYPES; }
41 Int_t GetPFMAXPATHLENGTH() const { return fkPFMAXPATHLENGTH; }
42 Int_t GetPFDEFAULTNSAMPLES() const { return fkPFDEFAULTNSAMPLES; }
43 Int_t GetPFDEFAULTSTARTINDEX() const { return fkPFDEFAULTSTARTINDEX; }
44 Double_t GetDEFAULTTAU() const { return fkDEFAULTTAU; }
45 Int_t GetDEFAULTFS() const { return fkDEFAULTFS; }
46 Int_t GetMODULE0() const { return fkMODULE0; }
47 Int_t GetMODULE1() const { return fkMODULE1; }
48 Int_t GetMODULE2() const { return fkMODULE2; }
49 Int_t GetMODULE3() const { return fkMODULE3; }
50 Int_t GetMODULE4() const { return fkMODULE4; }
51 Int_t GetCSPSPERFEE() const { return fkCSPSPERFEE; }
52 Int_t GetRCU0() const { return fkRCU0; }
53 Int_t GetRCU1() const { return fkRCU1; }
54 Int_t GetRCU2() const { return fkRCU2; }
55 Int_t GetRCU3() const { return fkRCU3; }
56 Int_t GetZ0() const { return fkZ0; }
57 Int_t GetZ1() const { return fkZ1; }
58 Int_t GetX0() const { return fkX0; }
59 Int_t GetX1() const { return fkX1; }
60 Int_t GetNMODULES() const { return fkNMODULES; }
61 Int_t GetNRCUS() const { return fkNRCUS; }
62 Int_t GetNRCUSPERMODULE() const { return fkNRCUSPERMODULE; }
63 Int_t GetNRCUSPERTOTAL() const { return fkNRCUSPERTOTAL; }
64 Int_t GetNFEECS() const { return fkNFEECS; }
65 Int_t GetNALTROS() const { return fkNALTROS; }
66 Int_t GetNALTROCHANNELS() const { return fkNALTROCHANNELS; }
67 Int_t GetNBRANCHES() const { return fkNBRANCHES; }
68 Float_t GetCELLSTEP() const {return fkCELLSTEP; }
69 Int_t GetNRCUSPERSECTOR() const {return fkNRCUSPERSECTOR; }
77f350f7 70
77f350f7 71
c375e15d 72private:
77f350f7 73
c375e15d 74 AliHLTCaloConstants();
77f350f7 75
9107088d 76 const Int_t fkMAXHOSTS; // soon to be obsolete
77 const Int_t fkDEFAULTEVENTPORT; // soon to be obsolete
78 const Int_t fkMAXBINVALUE; // 1023;
79 const Int_t fkHIGHGAIN; // 1;
80 const Int_t fkLOWGAIN; // 0;
81 const Int_t fkALTROMAXSAMPLES; // 1008; /**<The maximum number of samples of the ALTRO*/
82 const Int_t fkALTROMAXPRESAMPLES; // 15;
83 const Int_t fkNZROWSRCU; // 56; /**<Number of rows per module*/
84 const Int_t fkNXCOLUMNSRCU; // 16;
85 const Int_t fkNZROWSMOD; // 48; /**<Number of rows per module*/
86 const Int_t fkNXCOLUMNSMOD; // 24; /**<Number of columns per module*/
87 const Int_t fkNGAINS; // 2; /**<Number of gains per ALTRO channel*/
88 const Int_t fkNDATATYPES; // 10;
89 const Int_t fkPFMAXPATHLENGTH; // 256;
90 const Int_t fkPFDEFAULTNSAMPLES; // 70;
91 const Int_t fkPFDEFAULTSTARTINDEX; // 0;
92 const Double_t fkDEFAULTTAU; // 0.2; /**<Assume that the signal rise time of the altrp pulses is 2 us (nominal value of the electronics)*/
93 const Int_t fkDEFAULTFS; // 10; /**<Assume that the signal is samples with 10 MHZ samle rate*/
94 const Int_t fkMODULE0; // 0;
95 const Int_t fkMODULE1; // 1;
96 const Int_t fkMODULE2; // 2;
97 const Int_t fkMODULE3; // 3;
98 const Int_t fkMODULE4; // 4;
99 const Int_t fkCSPSPERFEE; // 32;
100 const Int_t fkRCU0; // 0;
101 const Int_t fkRCU1; // 1;
102 const Int_t fkRCU2; // 2;
103 const Int_t fkRCU3; // 3;
104 const Int_t fkZ0; // 0;
105 const Int_t fkZ1; // 1;
106 const Int_t fkX0; // 0;
107 const Int_t fkX1; // 1;
108 const Int_t fkNMODULES; // 13; /**<Number of modules of the EMCAL detector*/
109 const Int_t fkNRCUS; // 4; /**<Number of RCUs per Module*/
110 const Int_t fkNRCUSPERMODULE; // 2; /**<Number of RCUs per Module*/
111 const Int_t fkNRCUSPERTOTAL; // NMODULES*NRCUSPERMODULE; /**<Total number of RCUs for EMCAL*/
112 const Int_t fkNFEECS; // 9; /**<Number of frontend cards per branch*/
113 const Int_t fkNALTROS; // 4; /**<Number of ALTROs per fkrontend card*/
114 const Int_t fkNALTROCHANNELS; // 16;
115 const Int_t fkNBRANCHES; // 2;
116 const Float_t fkCELLSTEP; // Obsolete variable? Called in Calomapper!
117 const Int_t fkNRCUSPERSECTOR; // 4;
77f350f7 118
119};
178dd351 120#endif