]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpSubZone.cxx
Avoid names that only differ in use of capital/small letters
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSubZone.cxx
index 298b9895addc447c05335fd69aaf03ffecbee148..6dc4b487a034e4206451806c309d4ef75cee42a6 100755 (executable)
 // $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"
@@ -32,6 +34,8 @@
 
 #include <Riostream.h>
 
+using std::cout;
+using std::endl;
 /// \cond CLASSIMP
 ClassImp(AliMpSubZone)
 /// \endcond
@@ -69,13 +73,7 @@ void AliMpSubZone::AddRowSegment(AliMpVRowSegment* rowSegment)
 {
 /// Add row segment.
 
-#ifdef WITH_STL
-  fSegments.push_back(rowSegment);
-#endif
-
-#ifdef WITH_ROOT
   fSegments.Add(rowSegment);
-#endif
 } 
 
 
@@ -101,13 +99,7 @@ Int_t AliMpSubZone::GetNofRowSegments() const
 {
 /// Return number of row segments.
 
-#ifdef WITH_STL
-  return fSegments.size();
-#endif
-
-#ifdef WITH_ROOT
   return fSegments.GetSize();
-#endif
 }  
 
 //_____________________________________________________________________________
@@ -120,13 +112,7 @@ AliMpVRowSegment* AliMpSubZone::GetRowSegment(Int_t i) const
     return 0;
   }
   
-#ifdef WITH_STL
-  return fSegments[i];  
-#endif
-
-#ifdef WITH_ROOT
   return (AliMpVRowSegment*)fSegments.At(i);  
-#endif
 }
 
 //_____________________________________________________________________________