]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpSubZone.cxx
In mapping:
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSubZone.cxx
index 307661cd4982281a31b1f091d86ec517ee8acd3a..8eef969944acd1c7c897f7334a96d3cd13d62bc5 100755 (executable)
@@ -71,13 +71,7 @@ void AliMpSubZone::AddRowSegment(AliMpVRowSegment* rowSegment)
 {
 /// Add row segment.
 
-#ifdef WITH_STL
-  fSegments.push_back(rowSegment);
-#endif
-
-#ifdef WITH_ROOT
   fSegments.Add(rowSegment);
-#endif
 } 
 
 
@@ -103,13 +97,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
 }  
 
 //_____________________________________________________________________________
@@ -122,13 +110,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
 }
 
 //_____________________________________________________________________________