]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpDEIterator.cxx
Work around for CINT bug in root 5.10/00, with gcc4.0.2
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpDEIterator.cxx
index 5857dbc80537fed36202954e3ef7985885bce783..e72bea589ccf6ab349b488d575f9b197c37c5f22 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/* $Id$ */
+// $Id$ 
+// $MpId: AliMpDEIterator.cxx,v 1.4 2006/03/13 12:22:15 ivana Exp $
+// Category: management
+
+// ------------------------
+// Class AliMpDEIterator
+// ------------------------
+// The iterator over valid detection element IDs
+// Author: Ivana Hrivnacova, IPN Orsay
 
 #include "AliMpDEIterator.h"
 #include "AliMpDEManager.h"
@@ -162,6 +170,7 @@ void AliMpDEIterator::First()
 //______________________________________________________________________________
 void AliMpDEIterator::First(Int_t moduleId)
 {
+/// Reset the iterator, so that it points to the first DE
  
   fModuleId = -1;
   fIndex = -1;  
@@ -191,6 +200,8 @@ void AliMpDEIterator::First(Int_t moduleId)
 //______________________________________________________________________________
 void AliMpDEIterator::Next()
 {
+/// Increment iterator to next DE
+
   fIndex++;
 
   // Invalidate if at the end
@@ -204,12 +215,16 @@ void AliMpDEIterator::Next()
 //______________________________________________________________________________
 Bool_t AliMpDEIterator::IsDone() const
 {
+/// Is the iterator in the end?
+
   return ( fIndex < 0 );
 }   
 
 //______________________________________________________________________________
 Int_t AliMpDEIterator::CurrentDE() const
 {
+/// Current DE Id
+
   if ( ! IsDone() )
     return fgDetElemIds.At(fIndex);
   else {