1 #ifndef ALIDEBUGVOLUME_H
2 #define ALIDEBUGVOLUME_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //-----------------------------------------------------------------------
9 // Class to debug entry and exit from a volume
10 // Used by AliLego class
12 //-----------------------------------------------------------------------
15 class AliDebugVolume : public TNamed {
19 AliDebugVolume(const char *name, Int_t copy,
20 Float_t step, Float_t x, Float_t y, Float_t z, Int_t status);
21 virtual ~AliDebugVolume(){}
23 Int_t CopyNumber() const {return fCopy;}
24 Float_t Step() const {return fStep;}
25 Float_t X() const {return fX;}
26 Float_t Y() const {return fY;}
27 Float_t Z() const {return fZ;}
28 const char* Status() const;
31 Bool_t IsVEqual(const char* name, Int_t copy) const;
33 Int_t fCopy; //!Volume copy number
34 Float_t fStep; //!Stepsize to volume boundary
37 Float_t fZ; // z of boundary crossing
38 Int_t fStatus; // tracking status
40 ClassDef(AliDebugVolume,1) //Utility class to store volume information