]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpSectorTypes.h
Implemented write and read methods (with real mapping for tracker chamber) (Christian)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSectorTypes.h
index 140217f5b91b4b8812606b2706866690764cc866..c2939eb4ecdf950fa182813c7458f64baa3e8d0e 100644 (file)
@@ -1,18 +1,33 @@
+/* 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>
@@ -27,6 +42,7 @@ class AliMpSubZone;
 class AliMpZone;
 class AliMpRow;
 
+#ifdef WITH_STL
 #ifdef __HP_aCC
   typedef vector<Int_t> MotifPositionIdVector;
   typedef vector<AliMpPad> PadVector;
@@ -39,8 +55,6 @@ class AliMpRow;
   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
@@ -55,10 +69,27 @@ class AliMpRow;
   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