]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSMapper.h
New prorgam for fast fourier transform
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSMapper.h
1 #ifndef ALIHLTPHOSMAPPER_H
2 #define ALIHLTPHOSMAPPER_H
3
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, 2006                                       *
9  *                                                                        * 
10  * Author: Per Thomas Hille perthi@fys.uio.no for the ALICE DCS 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 "AliHLTPHOSBase.h"
24
25 //using namespace PhosHLTConst;
26
27 //class AliHLTPHOSMapper : public AliHLTPHOSBase
28 class AliHLTPHOSMapper 
29 {
30  public:
31   AliHLTPHOSMapper();
32   virtual ~AliHLTPHOSMapper();
33   void InitAltroMapping(); 
34   bool GetIsInitializedMapping();
35   char* GetFilePath();
36
37   struct fAltromap{ 
38     int fZRow; // Coordinate in Z direction (beam direction) relatve too one RCU
39     int fXCol; // Coordinate in X direction (perpendicular too beam direction an parallell to ground) relatve too one RCU
40     int fGain; // Gain (high gain = 1, low gain = 0)
41   };
42
43   fAltromap *fHw2geomapPtr; //pointer to structure holding information about geometrical address 
44   
45   char fFilepath[1024];
46
47  private:
48   bool fIsInitializedMapping;
49   AliHLTPHOSMapper(const AliHLTPHOSMapper & );
50   AliHLTPHOSMapper & operator = (const AliHLTPHOSMapper &);
51
52 };
53
54 #endif