]>
Commit | Line | Data |
---|---|---|
6eb8ed37 | 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 */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
0742d588 | 8 | //----------------------------------------------------------------------- |
9 | // Class to debug entry and exit from a volume | |
10 | // Used by AliLego class | |
11 | // Author: A.Morsch | |
12 | //----------------------------------------------------------------------- | |
13 | ||
6eb8ed37 | 14 | #include "TNamed.h" |
15 | class AliDebugVolume : public TNamed { | |
16 | ||
17 | public: | |
18 | AliDebugVolume(); | |
19 | AliDebugVolume(const char *name, Int_t copy, | |
20 | Float_t step, Float_t x, Float_t y, Float_t z, Int_t status); | |
6644b9ca | 21 | virtual ~AliDebugVolume(){} |
6eb8ed37 | 22 | |
6eb8ed37 | 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;} | |
07c4aae4 | 28 | const char* Status() const; |
6eb8ed37 | 29 | |
30 | ||
d0f1ee3b | 31 | Bool_t IsVEqual(const char* name, Int_t copy) const; |
6eb8ed37 | 32 | private: |
33 | Int_t fCopy; //!Volume copy number | |
34 | Float_t fStep; //!Stepsize to volume boundary | |
35 | Float_t fX; // x | |
36 | Float_t fY; // y | |
37 | Float_t fZ; // z of boundary crossing | |
38 | Int_t fStatus; // tracking status | |
39 | ||
40 | ClassDef(AliDebugVolume,1) //Utility class to store volume information | |
41 | //during debugging | |
42 | ||
43 | }; | |
44 | ||
45 | ||
46 | #endif |