Added ConnectionMapCIterator typedef
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpMotifTypes.h
CommitLineData
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
13#include <map>
14#include <vector>
15
16#include <TVector2.h>
a849d296 17#include <TString.h>
5f91c9e8 18
19#include "AliMpIntPair.h"
20
21class AliMpConnection;
22class AliMpVMotif;
23class AliMpMotifType;
24class AliMpMotifPosition;
25
26#ifdef __HP_aCC
27 typedef map<AliMpIntPair, AliMpConnection*> ConnectionMap_t;
a849d296 28 typedef ConnectionMap_t::const_iterator ConnectionMapCIterator;
5f91c9e8 29 typedef map<TString, AliMpVMotif*> MotifMap;
30 typedef MotifMap::const_iterator MotifMapIterator;
31 typedef map<TString, AliMpMotifType*> MotifTypeMap;
32 typedef MotifTypeMap::const_iterator MotifTypeMapIterator;
33 typedef map<Int_t, AliMpMotifPosition*> MotiPositionMap;
34 typedef MotiPositionMap::const_iterator MotifPositionMapIterator;
35 typedef map<AliMpIntPair, AliMpMotifPosition*> MotifPositionMap2;
36 typedef MotifPositionMap2::const_iterator MotifPositionMap2Iterator;
37 typedef vector<TVector2> DimensionsMap;
38#else
39 typedef std::map< AliMpIntPair, AliMpConnection* > ConnectionMap_t;
a849d296 40 typedef ConnectionMap_t::const_iterator ConnectionMapCIterator;
5f91c9e8 41 typedef std::map<TString, AliMpVMotif*> MotifMap;
42 typedef MotifMap::const_iterator MotifMapIterator;
43 typedef std::map<TString, AliMpMotifType*> MotifTypeMap;
44 typedef MotifTypeMap::const_iterator MotifTypeMapIterator;
45 typedef std::map<Int_t, AliMpMotifPosition*> MotiPositionMap;
46 typedef MotiPositionMap::const_iterator MotifPositionMapIterator;
47 typedef std::map<AliMpIntPair, AliMpMotifPosition*> MotifPositionMap2;
48 typedef MotifPositionMap2::const_iterator MotifPositionMap2Iterator;
49 typedef std::vector< TVector2 > DimensionsMap;
50#endif
51
52#endif //ALI_MP_MOTIF_TYPES_H