]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpSectorTypes.h
Code for MUON Station1 (I.Hrivnacova)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSectorTypes.h
1 // $Id$
2 // Category: sector
3 //
4 // AliMpSectorTypes
5 // ----------------
6 // Sytem dependent types definitions for sector category.
7 //
8 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
9
10 #ifndef ALI_MP_SECTOR_TYPES_H
11 #define ALI_MP_SECTOR_TYPES_H
12
13 #include <vector>
14 #include <map>
15 #include <set>
16 #include <string>
17
18 #include <TVector2.h>
19
20 #include "AliMpPad.h"
21
22 class AliMpPadRowSegment;
23 class AliMpPadRow;
24 class AliMpVMotif;
25 class AliMpVRowSegment;
26 class AliMpSubZone;
27 class AliMpZone;
28 class AliMpRow;
29
30 #ifdef __HP_aCC
31   typedef vector<Int_t> MotifPositionIdVector;
32   typedef vector<AliMpPad> PadVector;
33   typedef vector<AliMpPadRow*>  PadRowVector;
34   typedef vector<AliMpVMotif*>  MotifVector;
35   typedef vector<AliMpVRowSegment*>  RowSegmentVector;
36   typedef vector<AliMpPadRowSegment*>  PadRowSegmentVector;
37   typedef vector<AliMpSubZone*> SubZoneVector;
38   typedef vector<AliMpRow*> RowVector;
39   typedef vector<AliMpZone*> ZoneVector;
40   typedef map<Int_t, TVector2>  PadDimensionsMap;
41   typedef map<string,pair<Int_t,Int_t> > PadMapType;
42   typedef PadMapType::iterator PadMapTypeIterator;
43   typedef set<AliMpPad> PadSet;
44   typedef PadSet::const_iterator PadSetIterator;
45 #else
46   typedef std::vector<Int_t> MotifPositionIdVector;
47   typedef std::vector<AliMpPad> PadVector;
48   typedef std::vector<AliMpPadRow*>  PadRowVector;
49   typedef std::vector<AliMpVMotif*>  MotifVector;
50   typedef std::vector<AliMpVRowSegment*>  RowSegmentVector;
51   typedef std::vector<AliMpPadRowSegment*>  PadRowSegmentVector;
52   typedef std::vector<AliMpSubZone*>  SubZoneVector;
53   typedef std::vector<AliMpRow*> RowVector;
54   typedef std::vector<AliMpZone*> ZoneVector;
55   typedef std::map<Int_t, TVector2>  PadDimensionsMap;
56   typedef std::map<std::string, std::pair<Int_t,Int_t> > PadMapType;
57   typedef PadMapType::iterator PadMapTypeIterator;
58   typedef std::set<AliMpPad> PadSet;
59   typedef PadSet::const_iterator PadSetIterator;
60 #endif
61
62 #endif //ALI_MP_SECTOR_TYPES_H