]>
Commit | Line | Data |
---|---|---|
5f91c9e8 | 1 | // $Id$ |
2 | // Category: motif | |
3 | // | |
4 | // AliMpMotifTypes | |
5 | // --------------- | |
6 | // Sytem dependent types definitions for motif category. | |
7 | // | |
8 | // Authors: David Guez, Ivana Hrivnacova; IPN Orsay | |
9 | ||
10 | #ifndef ALI_MP_MOTIF_TYPES_H | |
11 | #define ALI_MP_MOTIF_TYPES_H | |
12 | ||
f79c58a5 | 13 | #include "AliMpContainers.h" |
14 | ||
15 | #ifdef WITH_STL | |
16 | #include <map> | |
17 | #include <vector> | |
18 | #endif | |
19 | ||
20 | #ifdef WITH_ROOT | |
21 | #include <TExMap.h> | |
22 | #include <TObjArray.h> | |
23 | #endif | |
5f91c9e8 | 24 | |
25 | #include <TVector2.h> | |
a849d296 | 26 | #include <TString.h> |
5f91c9e8 | 27 | |
28 | #include "AliMpIntPair.h" | |
29 | ||
30 | class AliMpConnection; | |
31 | class AliMpVMotif; | |
32 | class AliMpMotifType; | |
33 | class AliMpMotifPosition; | |
34 | ||
f79c58a5 | 35 | #ifdef WITH_STL |
5f91c9e8 | 36 | #ifdef __HP_aCC |
37 | typedef map<AliMpIntPair, AliMpConnection*> ConnectionMap_t; | |
a849d296 | 38 | typedef ConnectionMap_t::const_iterator ConnectionMapCIterator; |
5f91c9e8 | 39 | typedef map<TString, AliMpVMotif*> MotifMap; |
40 | typedef MotifMap::const_iterator MotifMapIterator; | |
41 | typedef map<TString, AliMpMotifType*> MotifTypeMap; | |
42 | typedef MotifTypeMap::const_iterator MotifTypeMapIterator; | |
43 | typedef map<Int_t, AliMpMotifPosition*> MotiPositionMap; | |
44 | typedef MotiPositionMap::const_iterator MotifPositionMapIterator; | |
45 | typedef map<AliMpIntPair, AliMpMotifPosition*> MotifPositionMap2; | |
46 | typedef MotifPositionMap2::const_iterator MotifPositionMap2Iterator; | |
47 | typedef vector<TVector2> DimensionsMap; | |
48 | #else | |
49 | typedef std::map< AliMpIntPair, AliMpConnection* > ConnectionMap_t; | |
a849d296 | 50 | typedef ConnectionMap_t::const_iterator ConnectionMapCIterator; |
5f91c9e8 | 51 | typedef std::map<TString, AliMpVMotif*> MotifMap; |
52 | typedef MotifMap::const_iterator MotifMapIterator; | |
53 | typedef std::map<TString, AliMpMotifType*> MotifTypeMap; | |
54 | typedef MotifTypeMap::const_iterator MotifTypeMapIterator; | |
55 | typedef std::map<Int_t, AliMpMotifPosition*> MotiPositionMap; | |
56 | typedef MotiPositionMap::const_iterator MotifPositionMapIterator; | |
57 | typedef std::map<AliMpIntPair, AliMpMotifPosition*> MotifPositionMap2; | |
58 | typedef MotifPositionMap2::const_iterator MotifPositionMap2Iterator; | |
59 | typedef std::vector< TVector2 > DimensionsMap; | |
60 | #endif | |
f79c58a5 | 61 | #endif |
62 | ||
63 | #ifdef WITH_ROOT | |
64 | typedef TExMap ConnectionMap_t; | |
65 | typedef TExMapIter ConnectionMapCIterator; | |
66 | typedef TExMap MotifMap; | |
67 | typedef TExMapIter MotifMapIterator; | |
68 | typedef TExMap MotifTypeMap; | |
69 | typedef TExMapIter MotifTypeMapIterator; | |
70 | typedef TExMap MotifPositionMap; | |
71 | typedef TExMapIter MotifPositionMapIterator; | |
72 | typedef TExMap MotifPositionMap2; | |
73 | typedef TExMapIter MotifPositionMap2Iterator; | |
74 | typedef TObjArray DimensionsMap; | |
75 | #endif | |
5f91c9e8 | 76 | |
77 | #endif //ALI_MP_MOTIF_TYPES_H |