ROOT logo
#ifndef ALIDEBUGVOLUME_H
#define ALIDEBUGVOLUME_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id$ */

//-----------------------------------------------------------------------
//    Class to debug entry and exit from a volume
//    Used by AliLego class
//    Author: A.Morsch
//-----------------------------------------------------------------------

#include "TNamed.h"
class AliDebugVolume : public TNamed  {

public:
  AliDebugVolume();
  AliDebugVolume(const char *name, Int_t copy,
		 Float_t step, Float_t x, Float_t y, Float_t z, Int_t status);
  virtual ~AliDebugVolume(){}
  
  Int_t   CopyNumber() const {return fCopy;}
  Float_t Step()       const {return fStep;}
  Float_t X()          const {return fX;}  
  Float_t Y()          const {return fY;}
  Float_t Z()          const {return fZ;}
  const char*   Status()     const;
  
  
  Bool_t  IsVEqual(const char* name, Int_t copy) const;
private:
   Int_t      fCopy;             //!Volume copy number
   Float_t    fStep;             //!Stepsize to volume boundary
   Float_t    fX;                // x
   Float_t    fY;                // y
   Float_t    fZ;                // z of boundary crossing
   Int_t      fStatus;           // tracking status
   
  ClassDef(AliDebugVolume,1)      //Utility class to store volume information
                                  //during debugging 

};


#endif
 AliDebugVolume.h:1
 AliDebugVolume.h:2
 AliDebugVolume.h:3
 AliDebugVolume.h:4
 AliDebugVolume.h:5
 AliDebugVolume.h:6
 AliDebugVolume.h:7
 AliDebugVolume.h:8
 AliDebugVolume.h:9
 AliDebugVolume.h:10
 AliDebugVolume.h:11
 AliDebugVolume.h:12
 AliDebugVolume.h:13
 AliDebugVolume.h:14
 AliDebugVolume.h:15
 AliDebugVolume.h:16
 AliDebugVolume.h:17
 AliDebugVolume.h:18
 AliDebugVolume.h:19
 AliDebugVolume.h:20
 AliDebugVolume.h:21
 AliDebugVolume.h:22
 AliDebugVolume.h:23
 AliDebugVolume.h:24
 AliDebugVolume.h:25
 AliDebugVolume.h:26
 AliDebugVolume.h:27
 AliDebugVolume.h:28
 AliDebugVolume.h:29
 AliDebugVolume.h:30
 AliDebugVolume.h:31
 AliDebugVolume.h:32
 AliDebugVolume.h:33
 AliDebugVolume.h:34
 AliDebugVolume.h:35
 AliDebugVolume.h:36
 AliDebugVolume.h:37
 AliDebugVolume.h:38
 AliDebugVolume.h:39
 AliDebugVolume.h:40
 AliDebugVolume.h:41
 AliDebugVolume.h:42
 AliDebugVolume.h:43
 AliDebugVolume.h:44
 AliDebugVolume.h:45
 AliDebugVolume.h:46