]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliDebugVolume.cxx
Renaming calibration classes (A.Colla)
[u/mrichter/AliRoot.git] / STEER / AliDebugVolume.cxx
index f16da06e0dd43304c3da1af2de5030e7fe8901f8..62975276623746e6b1a721b4f699480271ca52d9 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.1  2001/05/11 13:21:16  morsch
-Geom. volume data class. Can be used during lego run for debugging.
+/* $Id$ */
 
-*/
+//-----------------------------------------------------------------------
+//    Class to debug entry and exit from a volume
+//    Used by AliLego class
+//    Author: A.Morsch
+//-----------------------------------------------------------------------
 
 #include "AliDebugVolume.h"
 
@@ -57,15 +58,17 @@ AliDebugVolume::AliDebugVolume(const char *name, Int_t copy, Float_t step,
 
 
 //_______________________________________________________________________
-Bool_t  AliDebugVolume::IsEqual(const char* name, const Int_t copy) const
+Bool_t  AliDebugVolume::IsVEqual(const char* name, Int_t copy) const
 {
   return (copy == fCopy && strcmp(name, fName) == 0);
 }
 
 //_______________________________________________________________________
-char*   AliDebugVolume::Status() const
+const char*   AliDebugVolume::Status() const
 {
-  char* tmp;
+  // Returns the status of the particle with respect to 
+  // the current volume (Undefined, Entering, Exiting) 
+  const char* tmp;
   tmp = "Undefined";
   if (fStatus == 1) tmp = "Entering";
   if (fStatus == 2) tmp = "Exiting";