]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpSt345Reader.h
638a46029dd7f17e9ebe59589fabfed4010cda3c
[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 AliMpDataStreams;
36
37 class AliMpSt345Reader : public TObject
38 {
39  public:
40   AliMpSt345Reader(const AliMpDataStreams& dataStreams, AliMpSlatMotifMap* motifMap);
41   virtual ~AliMpSt345Reader();
42
43   AliMpSlat* ReadSlat(const char* slatType, AliMp::PlaneType planeType);
44
45   AliMpPCB* ReadPCB(const char* pcbType);
46
47 private:
48   /// Not implemented
49   AliMpSt345Reader();
50   /// Not implemented
51   AliMpSt345Reader(const AliMpSt345Reader& rhs);
52   /// Not implemented
53   AliMpSt345Reader& operator=(const AliMpSt345Reader& rhs);
54
55   const AliMpDataStreams&  fDataStreams; ///< data streams
56   AliMpSlatMotifMap* fMotifMap; //!< storage for motifTypes and motifs...
57   
58   ClassDef(AliMpSt345Reader,0) // Reader for slat stations mapping files 
59 };
60
61 #endif