+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice */
+
// $Id$
-// Category: sector
-//
-// AliMpSectorTypes
-// ----------------
-// Sytem dependent types definitions for sector category.
-//
-// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
+// $MpId: AliMpSectorTypes.h,v 1.7 2005/08/26 15:43:36 ivana Exp $
+
+/// \ingroup sector
+/// AliMpSectorTypes
+/// System dependent types definitions for sector category.
+///
+/// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
#ifndef ALI_MP_SECTOR_TYPES_H
#define ALI_MP_SECTOR_TYPES_H
-#include <vector>
-#include <map>
-#include <set>
+#include "AliMpContainers.h"
+
+#ifdef WITH_STL
+ #include <vector>
+ #include <map>
+ #include <set>
+#endif
+
+#ifdef WITH_ROOT
+ #include <TArrayI.h>
+ #include <TObjArray.h>
+ #include <TList.h>
+ #include <TExMap.h>
+#endif
+
#include <string>
#include <TVector2.h>
class AliMpZone;
class AliMpRow;
+#ifdef WITH_STL
#ifdef __HP_aCC
typedef vector<Int_t> MotifPositionIdVector;
typedef vector<AliMpPad> PadVector;
typedef vector<AliMpZone*> ZoneVector;
typedef map<Int_t, TVector2> PadDimensionsMap;
typedef PadDimensionsMap::const_iterator PadDimensionsMapCIterator;
- typedef map<string,pair<Int_t,Int_t> > PadMapType;
- typedef PadMapType::iterator PadMapTypeIterator;
typedef set<AliMpPad> PadSet;
typedef PadSet::const_iterator PadSetIterator;
#else
typedef std::vector<AliMpZone*> ZoneVector;
typedef std::map<Int_t, TVector2> PadDimensionsMap;
typedef PadDimensionsMap::const_iterator PadDimensionsMapCIterator;
- typedef std::map<std::string, std::pair<Int_t,Int_t> > PadMapType;
- typedef PadMapType::iterator PadMapTypeIterator;
typedef std::set<AliMpPad> PadSet;
typedef PadSet::const_iterator PadSetIterator;
#endif
+#endif
+
+#ifdef WITH_ROOT
+#ifndef __HP_aCC
+ using std::string;
+#endif
+ typedef TArrayI MotifPositionIdVector;
+ typedef TObjArray PadVector;
+ typedef TObjArray PadRowVector;
+ typedef TObjArray MotifVector;
+ typedef TList RowSegmentVector;
+ typedef TObjArray PadRowSegmentVector;
+ typedef TObjArray SubZoneVector;
+ typedef TObjArray RowVector;
+ typedef TObjArray ZoneVector;
+ typedef TExMap PadDimensionsMap;
+ typedef TExMapIter PadDimensionsMapCIterator;
+ typedef TObjArray PadSet;
+#endif
#endif //ALI_MP_SECTOR_TYPES_H