]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSRcuProcessor.h
Bug fix, mapping was not correct
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSRcuProcessor.h
1
2 #ifndef ALIHLTPHOSRCUPROCESSOR_H
3 #define ALIHLTPHOSRCUPROCESSOR_H
4
5 /**************************************************************************
6  * This file is property of and copyright by the Experimental Nuclear     *
7  * Physics Group, Dep. of Physics                                         *
8  * University of Oslo, Norway, 2007                                       *
9  *                                                                        *
10  * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project.*
11  * Contributors are mentioned in the code where appropriate.              *
12  * Please report bugs to perthi@fys.uio.no                                *
13  *                                                                        *
14  * Permission to use, copy, modify and distribute this software and its   *
15  * documentation strictly for non-commercial purposes is hereby granted   *
16  * without fee, provided that the above copyright notice appears in all   *
17  * copies and that both the copyright notice and this permission notice   *
18  * appear in the supporting documentation. The authors make no claims     *
19  * about the suitability of this software for any purpose. It is          *
20  * provided "as is" without express or implied warranty.                  *
21  **************************************************************************/
22
23 #include "AliHLTPHOSProcessor.h"
24
25
26 class  AliHLTPHOSRcuProcessor : public AliHLTPHOSProcessor
27 {
28  public:
29   AliHLTPHOSRcuProcessor();
30   virtual ~AliHLTPHOSRcuProcessor();
31   const AliHLTUInt16_t  GetEquippmentID() const;
32   int ScanArguments(int argc, const char** argv);
33   void SetEquippmentID(AliHLTUInt16_t id);
34   void SetCoordinates(AliHLTUInt16_t equippmentID);
35   const AliHLTUInt16_t fkEquippmentID;  /**<Equippment ID as defined by ALICE*/
36   AliHLTUInt8_t  fRcuX;                 /**<X position of RCU the data from this Equippment comes from (0 or 1)*/
37   AliHLTUInt8_t  fRcuZ;                 /**<Z position of RCU the data from this Equippment comes from (0 or 1)*/
38   AliHLTUInt8_t  fRcuZOffset;           /**<offset in therms of towers in the Z direction relative to the module*/ 
39   AliHLTUInt8_t  fRcuXOffset;           /**<offset in therms of towers in the X direction relative to the module*/
40   Bool_t fIsSetEquippmentID;            /**<wether or not the EquippmentID is set*/
41 };
42
43 #endif
44
45