]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpSt345Reader.h
- Reordering includes from most specific to more general ones
[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.4 2005/09/19 19:01:09 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 AliMpSlat;
33 class AliMpPCB;
34 class TObjString;
35
36 class AliMpSt345Reader : public TObject
37 {
38  public:
39   AliMpSt345Reader();
40   virtual ~AliMpSt345Reader();
41
42   static AliMpSlat* ReadSlat(const char* slatType, AliMpPlaneType planeType);
43
44   static AliMpPCB* ReadPCB(const char* pcbType);
45
46  private:
47
48         static AliMpPCB* PCB(const char* pcbType); 
49
50   static TMap fgPCBMap; // map of TObjString to AliMpPCB*
51
52   ClassDef(AliMpSt345Reader,1) // Reader for slat stations mapping files 
53 };
54
55 #endif