]>
Commit | Line | Data |
---|---|---|
1b41ab20 | 1 | //-*- Mode: C++ -*- |
2 | // $Id$ | |
3 | ||
82fb0dc8 | 4 | #ifndef ALIHLTPHOSRCUPROPERTIES_HPP |
5 | #define ALIHLTPHOSRCUPROPERTIES_HPP | |
6 | ||
7 | /************************************************************************** | |
8 | * This file is property of and copyright by the Experimental Nuclear * | |
9 | * Physics Group, Dep. of Physics * | |
10 | * University of Oslo, Norway, 2007 * | |
11 | * * | |
12 | * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project.* | |
13 | * Contributors are mentioned in the code where appropriate. * | |
14 | * Please report bugs to perthi@fys.uio.no * | |
15 | * * | |
16 | * Permission to use, copy, modify and distribute this software and its * | |
17 | * documentation strictly for non-commercial purposes is hereby granted * | |
18 | * without fee, provided that the above copyright notice appears in all * | |
19 | * copies and that both the copyright notice and this permission notice * | |
20 | * appear in the supporting documentation. The authors make no claims * | |
21 | * about the suitability of this software for any purpose. It is * | |
22 | * provided "as is" without express or implied warranty. * | |
23 | **************************************************************************/ | |
24 | ||
25 | #include "AliHLTDataTypes.h" | |
26 | #include "AliHLTLogging.h" | |
27 | #include "AliHLTPHOSConstants.h" | |
28 | ||
29 | using namespace PhosHLTConst; | |
30 | ||
2589c3a3 | 31 | #include "AliHLTPHOSUtilities.h" |
32 | ||
82fb0dc8 | 33 | class AliHLTPHOSRcuProperties |
34 | { | |
35 | public: | |
36 | AliHLTPHOSRcuProperties(); | |
37 | virtual ~AliHLTPHOSRcuProperties(); | |
e304ea31 | 38 | // const int GetEquippmentID() const; |
39 | // const int GetRCUID() const; | |
40 | int GetEquippmentID() const; //OD | |
41 | int GetRCUID() const; //OD | |
82fb0dc8 | 42 | virtual int ScanArguments(int argc, const char** argv); |
2589c3a3 | 43 | void InitializeCoordinates(const AliHLTUInt16_t equippmentID); |
44 | ||
82fb0dc8 | 45 | protected: |
2589c3a3 | 46 | int fkEquippmentID; /**<Equippment ID as defined by ALICE*/ |
82fb0dc8 | 47 | AliHLTUInt8_t fModID; /**<ID of the module this component read data from (0-4)*/ |
48 | int fRcuID; | |
49 | AliHLTUInt8_t fRcuX; /**<X position of RCU the data from this Equippment comes from (0 or 1)*/ | |
50 | AliHLTUInt8_t fRcuZ; /**<Z position of RCU the data from this Equippment comes from (0 or 1)*/ | |
51 | AliHLTUInt8_t fRcuZOffset; /**<offset in therms of towers in the Z direction relative to the module*/ | |
52 | AliHLTUInt8_t fRcuXOffset; /**<offset in therms of towers in the X direction relative to the module*/ | |
2589c3a3 | 53 | bool fPrintInfo; /**<wether or not to print debugg info to std out*/ |
82fb0dc8 | 54 | int fPrintInfoFrequncy; /**<Defines the update frequency for information printet to std out*/ |
2589c3a3 | 55 | bool fIsSetEquippmentID; /**<wether or not the EquippmentID is set*/ |
82fb0dc8 | 56 | AliHLTLogging fLog; |
82fb0dc8 | 57 | bool fIsInitialized; |
2589c3a3 | 58 | AliHLTPHOSUtilities *fUtilitiesPtr; |
59 | ||
60 | private: | |
61 | AliHLTPHOSRcuProperties (const AliHLTPHOSRcuProperties & ); | |
62 | AliHLTPHOSRcuProperties & operator = (const AliHLTPHOSRcuProperties &); | |
82fb0dc8 | 63 | |
64 | }; | |
65 | ||
66 | #endif |