* 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"
//_______________________________________________________________________
-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";