]>
Commit | Line | Data |
---|---|---|
c375e15d | 1 | //-*- Mode: C++ -*- |
2 | // $Id: AliHLTCaloConstants.cxx $ | |
c375e15d | 3 | //************************************************************************** |
4 | //* This file is property of and copyright by the ALICE HLT Project * | |
5 | //* ALICE Experiment at CERN, All rights reserved. * | |
6 | //* * | |
7 | //* Primary Authors: Svein Lindal <slindal@fys.uio.no> * | |
8 | //* for The ALICE HLT Project. * | |
9 | //* * | |
10 | //* Permission to use, copy, modify and distribute this software and its * | |
11 | //* documentation strictly for non-commercial purposes is hereby granted * | |
12 | //* without fee, provided that the above copyright notice appears in all * | |
13 | //* copies and that both the copyright notice and this permission notice * | |
14 | //* appear in the supporting documentation. The authors make no claims * | |
15 | //* about the suitability of this software for any purpose. It is * | |
16 | //* provided "as is" without express or implied warranty. * | |
17 | //************************************************************************** | |
18 | ||
19 | /// @file AliHLTCaloConstants.cxx | |
20 | /// @author Svein Lindal | |
21 | /// @date 2009-11-12 | |
22 | /// @brief Class containing constants for EMCAL and PHOS | |
23 | /// loaded libraries | |
77f350f7 | 24 | #include "AliHLTCaloConstants.h" |
c375e15d | 25 | #include "TString.h" |
77f350f7 | 26 | |
c375e15d | 27 | AliHLTCaloConstants::AliHLTCaloConstants(TString det) : |
9107088d | 28 | fkMAXHOSTS(20), |
29 | fkDEFAULTEVENTPORT(42001), | |
30 | fkMAXBINVALUE(1023), | |
31 | fkHIGHGAIN(0), | |
32 | fkLOWGAIN(1), | |
33 | fkALTROMAXSAMPLES(1008), | |
34 | fkALTROMAXPRESAMPLES(15), | |
35 | fkNZROWSRCU(56), | |
36 | fkNXCOLUMNSRCU(16), | |
37 | fkNZROWSMOD((det == "EMCAL") ? 48 : 56), | |
38 | fkNXCOLUMNSMOD((det == "EMCAL") ? 24 : 64 ), | |
39 | fkNGAINS(2), | |
40 | fkNDATATYPES(10), | |
41 | fkPFMAXPATHLENGTH(256), | |
42 | fkPFDEFAULTNSAMPLES(70), | |
43 | fkPFDEFAULTSTARTINDEX(0), | |
44 | fkDEFAULTTAU((det == "EMCAL") ? 0.2 : 2), | |
45 | fkDEFAULTFS(10), | |
46 | fkMODULE0(0), | |
47 | fkMODULE1(1), | |
48 | fkMODULE2(2), | |
49 | fkMODULE3(3), | |
50 | fkMODULE4(4), | |
51 | fkCSPSPERFEE(32), | |
52 | fkRCU0(0), | |
53 | fkRCU1(1), | |
54 | fkRCU2(2), | |
55 | fkRCU3(3), | |
56 | fkZ0(0), | |
57 | fkZ1(1), | |
58 | fkX0(0), | |
59 | fkX1(1), | |
60 | fkNMODULES((det == "EMCAL") ? 13 : 5), | |
61 | fkNRCUS(4), | |
62 | fkNRCUSPERMODULE((det == "EMCAL") ? 2 : 4 ), | |
63 | fkNRCUSPERTOTAL(fkNMODULES*fkNRCUSPERMODULE), | |
64 | fkNFEECS((det == "EMCAL") ? 9 : 14), | |
65 | fkNALTROS(4), | |
66 | fkNALTROCHANNELS(16), | |
67 | fkNBRANCHES(2), | |
68 | fkCELLSTEP((det == "EMCAL") ? -9999999.9 : 2.2 ), ///XXX right value? | |
69 | fkNRCUSPERSECTOR(4) | |
77f350f7 | 70 | { |
71 | //Default constructor | |
72 | } | |
73 | ||
74 | AliHLTCaloConstants::~AliHLTCaloConstants() | |
75 | { | |
76 | //Default destructor | |
77 | } | |
78 |