]>
Commit | Line | Data |
---|---|---|
91740e1f | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
4 | // $Id$ | |
5 | // $MpId: AliMpManuGeo.h,v 1.5 2006/05/24 13:58:16 ivana Exp $ | |
6 | ||
7 | /// \ingroup management | |
8 | /// \class AliMpManuGeo | |
9 | /// \brief Class that manages the maps manuId<>manuSerial#<>DE | |
10 | /// | |
11 | /// \author Ch. Finck; Subatech Nantes | |
12 | ||
13 | #ifndef ALI_MP_MANUGEO_H | |
14 | #define ALI_MP_MANUGEO_H | |
15 | ||
16 | #include <TObject.h> | |
17 | ||
18 | #include <TExMap.h> | |
19 | #include <TArrayI.h> | |
20 | ||
21 | class AliMpIntPair; | |
22 | ||
23 | class AliMpManuGeo : public TObject | |
24 | { | |
25 | ||
26 | public: | |
27 | ||
28 | AliMpManuGeo(); | |
29 | virtual ~AliMpManuGeo(); | |
30 | ||
31 | ||
32 | // methods | |
33 | void ReadGeomManuFiles(); | |
34 | void ReadGeomManuFile(Int_t idDE); | |
35 | ||
5246421c | 36 | AliMpIntPair GetDetElemManu(Int_t manuSerial); |
37 | Int_t GetManuSerial(AliMpIntPair& pair); | |
91740e1f | 38 | |
39 | private: | |
40 | AliMpManuGeo(const AliMpManuGeo& src); | |
41 | AliMpManuGeo& operator = (const AliMpManuGeo& src) ; | |
42 | ||
43 | ||
44 | TExMap fDeManuToSerialNb; //!< Map from (idDE, manuId) to manu serial # | |
45 | TExMap fSerialNbToDeManu; //!< Map manu serial # to (idDE, manuId) | |
46 | ||
47 | ||
48 | ClassDef(AliMpManuGeo,1) //utility class for the motif type | |
49 | }; | |
50 | ||
51 | ||
52 | #endif |