// $Id$
// $MpId: AliMpSubZone.cxx,v 1.8 2006/05/24 13:58:46 ivana Exp $
// Category: sector
-//
+
+//-----------------------------------------------------------------------------
// Class AliMpSubZone
// ------------------
// Class describing a zone segment composed of the
// line segments with the same motif type.
// Included in AliRoot: 2003/05/02
// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
+//-----------------------------------------------------------------------------
#include "AliMpSubZone.h"
#include "AliMpVRowSegment.h"
{
/// Add row segment.
-#ifdef WITH_STL
- fSegments.push_back(rowSegment);
-#endif
-
-#ifdef WITH_ROOT
fSegments.Add(rowSegment);
-#endif
}
{
/// Return number of row segments.
-#ifdef WITH_STL
- return fSegments.size();
-#endif
-
-#ifdef WITH_ROOT
return fSegments.GetSize();
-#endif
}
//_____________________________________________________________________________
return 0;
}
-#ifdef WITH_STL
- return fSegments[i];
-#endif
-
-#ifdef WITH_ROOT
return (AliMpVRowSegment*)fSegments.At(i);
-#endif
}
//_____________________________________________________________________________