]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpPadRow.h
In mapping:
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpPadRow.h
index 8c9b725d7950b786b72e60d8f11591de59e0aa79..aaef5e355327e6fd8e0779b8e0a352cdb03d6698 100755 (executable)
 
 #include <TObject.h>
 
-#include "AliMpContainers.h"
-
 #include "AliMpXDirection.h"
 
-#ifdef WITH_ROOT
 #include <TObjArray.h>
-#endif
-
-#ifdef WITH_STL
-#include <vector>
-#endif
 
 class AliMpVPadRowSegment;
 class AliMpMotif;
 
 class AliMpPadRow : public TObject
 {
-  public:
-#ifdef WITH_STL
-    /// Pad row segment vector type
-    typedef std::vector<AliMpVPadRowSegment*>  PadRowSegmentVector;
-#endif
-#ifdef WITH_ROOT
-    /// Pad row segment vector type
-    typedef TObjArray  PadRowSegmentVector;
-#endif
-
   public:
     AliMpPadRow(AliMp::XDirection direction);
     AliMpPadRow();
@@ -72,7 +54,7 @@ class AliMpPadRow : public TObject
     AliMp::XDirection   fDirection; ///< the pad row x direction
     Int_t               fID;        ///< the pad row ID
     Double_t            fOffsetX;   ///< the x position of the border
-    PadRowSegmentVector fSegments;  ///< the pad row segments
+    TObjArray           fSegments;  ///< the pad row segments
 
   ClassDef(AliMpPadRow,1)  // Pad row
 };