]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/AliHLTPHOSMapper.h
Coverity 17737 solved by non-implemented private copy constructor and assignment...
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSMapper.h
CommitLineData
1b41ab20 1//-*- Mode: C++ -*-
37ff2dd6 2// $Id$
1b41ab20 3
2f09efe8 4#ifndef ALIHLTPHOSMAPPER_H
5#define ALIHLTPHOSMAPPER_H
6
fec21787 7
2f09efe8 8/**************************************************************************
9 * This file is property of and copyright by the Experimental Nuclear *
10 * Physics Group, Dep. of Physics *
11 * University of Oslo, Norway, 2006 *
12 * *
13 * Author: Per Thomas Hille perthi@fys.uio.no for the ALICE DCS Project. *
14 * Contributors are mentioned in the code where appropriate. *
15 * Please report bugs to perthi@fys.uio.no *
16 * *
17 * Permission to use, copy, modify and distribute this software and its *
18 * documentation strictly for non-commercial purposes is hereby granted *
19 * without fee, provided that the above copyright notice appears in all *
20 * copies and that both the copyright notice and this permission notice *
21 * appear in the supporting documentation. The authors make no claims *
22 * about the suitability of this software for any purpose. It is *
23 * provided "as is" without express or implied warranty. *
24 **************************************************************************/
25
7eb756c1 26//#include "AliHLTPHOSBase.h"
af6a2273 27
28//using namespace PhosHLTConst;
94594220 29#include "Rtypes.h"
44175a17 30#include "AliHLTCaloMapper.h"
87434909 31#include "AliPHOSEMCAGeometry.h"
32
94cd0c06 33struct AliHLTCaloCoordinate;
34struct AliHLTPHOSCoordinate;
37ff2dd6 35
44175a17 36class AliHLTPHOSMapper : public AliHLTCaloMapper
2f09efe8 37{
38 public:
44175a17 39
2f09efe8 40 AliHLTPHOSMapper();
c37f821f 41 virtual ~AliHLTPHOSMapper();
44175a17 42
43 Bool_t InitAltroMapping(const unsigned long specification);
94594220 44 void InitDDLSpecificationMapping();
8efbf5fe 45 bool GetIsInitializedMapping();
f137c3c5 46 // char* GetFilePath(const int ddlId);
44175a17 47
48 Int_t GetChannelID(Int_t hwAddress);
49 Int_t GetChannelID(AliHLTUInt32_t specification, Int_t hwAddress);
c37f821f 50
44175a17 51 //static void GetChannelCoord(const Int_t channelId, UShort_t* channelCoord);
52 //static void ChannelId2Coordinate(const Int_t channelId, AliHLTCaloCoordinate &channelCoord );
53 //static void GetLocalCoord(const Int_t channelId, Float_t* localCoord);
54 int GetDDLFromSpec(AliHLTUInt32_t specification);
55 int GetModuleFromSpec(AliHLTUInt32_t specification);
94594220 56
f137c3c5 57// struct fDDLSpecificationMap{
58// UInt_t fRcuX; // Coordinate in Z direction (beam direction) relatve too one RCU
59// UInt_t fRcuZ; // Coordinate in X direction (perpendicular too beam direction an parallell to ground) relatve too one RCU
60// UInt_t fRcuXOffset;
61// UInt_t fRcuZOffset;
62// int fModId;
63// };
c37f821f 64
f137c3c5 65// fAltromap *fHw2geomapPtr; //pointer to structure holding information about geometrical address
94594220 66
67
8efbf5fe 68 char fFilepath[1024];
c37f821f 69
b444d727 70 private:
8efbf5fe 71 bool fIsInitializedMapping;
7ac2a5ea 72
73 /** Flag for initialised DDL map */
74 bool fDDLMapInitialised;
44175a17 75
b444d727 76 AliHLTPHOSMapper(const AliHLTPHOSMapper & );
77 AliHLTPHOSMapper & operator = (const AliHLTPHOSMapper &);
94594220 78
f137c3c5 79 // fDDLSpecificationMap* fSpecificationMapPtr;
87434909 80 //AliPHOSEMCAGeometry fPHOSGeometry;
44175a17 81
82 Int_t fModuleId;
83 int fDDLId;
2f09efe8 84};
85
86#endif