]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliDebugVolume.cxx
Corrected raw->sdigits method. Using default altro raw-data reader class. Avoid alloc...
[u/mrichter/AliRoot.git] / STEER / AliDebugVolume.cxx
index 950a0714a5b59f60a2bec606b31b6bf539bc5e2f..62975276623746e6b1a721b4f699480271ca52d9 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/* $Header$ */
+/* $Id$ */
+
+//-----------------------------------------------------------------------
+//    Class to debug entry and exit from a volume
+//    Used by AliLego class
+//    Author: A.Morsch
+//-----------------------------------------------------------------------
 
 #include "AliDebugVolume.h"
 
@@ -52,15 +58,17 @@ AliDebugVolume::AliDebugVolume(const char *name, Int_t copy, Float_t step,
 
 
 //_______________________________________________________________________
-Bool_t  AliDebugVolume::IsVEqual(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";