]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/EMCAL/AliHLTEMCALMapper.h
- porting the PHOS raw analyzers to the CALO library
[u/mrichter/AliRoot.git] / HLT / EMCAL / AliHLTEMCALMapper.h
1 #ifndef ALIHLTEMCALMAPPER_H
2 #define ALIHLTEMCALMAPPER_H
3
4 /**************************************************************************
5  * This file is property of and copyright by the Experimental Nuclear     *
6  * Physics Group, Dep. of Physics                                         *
7  * University of Oslo, Norway, 2007                                       *
8  *                                                                        *
9  * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project.*
10  * Contributors are mentioned in the code where appropriate.              *
11  * Please report bugs to perthi@fys.uio.no                                *
12  *                                                                        *
13  * Permission to use, copy, modify and distribute this software and its   *
14  * documentation strictly for non-commercial purposes is hereby granted   *
15  * without fee, provided that the above copyright notice appears in all   *
16  * copies and that both the copyright notice and this permission notice   *
17  * appear in the supporting documentation. The authors make no claims     *
18  * about the suitability of this software for any purpose. It is          *
19  * provided "as is" without express or implied warranty.                  *
20  **************************************************************************/
21
22
23 //#include  "AliHLTCaloMapper.h"
24 #include  "AliHLTCaloMapper.h"
25
26
27 class  AliHLTEMCALMapper : public AliHLTCaloMapper
28 {
29  public:
30   AliHLTEMCALMapper(  const unsigned long  specifiaction );
31   virtual ~AliHLTEMCALMapper();
32   virtual Bool_t InitAltroMapping( const unsigned long specification ); 
33   virtual void InitDDLSpecificationMapping();
34   virtual void GetLocalCoord(const int channelId, Float_t* localCoord) const; 
35   //  static  const int GlobalX2ModuleId(const int globalX);
36   //  static  const int GlobalZ2ModuleId(const int globalZ);
37
38   // static  const int Global2ModuleId( const int globalZ,  const int globalX );
39
40   //  const virtual int GetDDLFromSpec( const AliHLTUInt32_t spec );
41   //  const virtual int GetChannelID(const AliHLTUInt32_t spec, const Int_t hadd);
42
43  private:
44   AliHLTEMCALMapper();
45   AliHLTEMCALMapper(const AliHLTEMCALMapper & );
46   AliHLTEMCALMapper & operator = (const AliHLTEMCALMapper &);
47   const char* DDL2RcuMapFileName(const int ddlid) const;
48   
49 };
50
51 #endif