]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliDebugVolume.h
Code for simulation, sdigitization and digitization moved from macros to compiled...
[u/mrichter/AliRoot.git] / STEER / AliDebugVolume.h
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
8 #include "TNamed.h"
9 class AliDebugVolume : public TNamed  {
10
11 public:
12   AliDebugVolume();
13   AliDebugVolume(const char *name, Int_t copy,
14                  Float_t step, Float_t x, Float_t y, Float_t z, Int_t status);
15   virtual ~AliDebugVolume(){}
16   
17   Int_t   CopyNumber() const {return fCopy;}
18   Float_t Step()       const {return fStep;}
19   Float_t X()          const {return fX;}  
20   Float_t Y()          const {return fY;}
21   Float_t Z()          const {return fZ;}
22   char*   Status()     const;
23   
24   
25   Bool_t  IsVEqual(const char* name, const Int_t copy) const;
26 private:
27    Int_t      fCopy;             //!Volume copy number
28    Float_t    fStep;             //!Stepsize to volume boundary
29    Float_t    fX;                // x
30    Float_t    fY;                // y
31    Float_t    fZ;                // z of boundary crossing
32    Int_t      fStatus;           // tracking status
33    
34   ClassDef(AliDebugVolume,1)      //Utility class to store volume information
35                                   //during debugging 
36
37 };
38
39
40 #endif