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