]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpSt345Reader.h
Make this class non static, correct a bug (float instead of double) in ReadPCB, and...
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSt345Reader.h
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: AliMpSt345Reader.h,v 1.6 2006/05/23 13:07:47 ivana Exp $
6
7 /// \ingroup slat
8 /// \class AliMpSt345Reader
9 /// \brief Read slat and pcb ASCII files
10 /// 
11 /// \author Laurent Aphecetche
12
13 #ifndef ALI_MP_ST345_READER_H
14 #define ALI_MP_ST345_READER_H
15
16 #ifndef ROOT_TObject
17 #  include "TObject.h"
18 #endif
19
20 #ifndef ROOT_Tmap
21 #  include "TMap.h"
22 #endif
23
24 #ifndef ROOT_TExMap
25 #  include "TExMap.h"
26 #endif
27
28 #ifndef ALI_MP_PLANE_TYPE_H
29 #  include "AliMpPlaneType.h"
30 #endif
31
32 class AliMpSlatMotifMap;
33 class AliMpSlat;
34 class AliMpPCB;
35 class TObjString;
36
37 class AliMpSt345Reader : public TObject
38 {
39  public:
40   AliMpSt345Reader(AliMpSlatMotifMap&);
41   virtual ~AliMpSt345Reader();
42
43   AliMpSlat* ReadSlat(const char* slatType, AliMpPlaneType planeType);
44
45   AliMpPCB* ReadPCB(const char* pcbType);
46
47 private:
48     AliMpSlatMotifMap& fMotifMap; //!< storage for motifTypes and motifs...
49   
50   ClassDef(AliMpSt345Reader,0) // Reader for slat stations mapping files 
51 };
52
53 #endif