]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - STEER/AliDebugVolume.h
Added new cuts, fixed bug in backround calculation.
[u/mrichter/AliRoot.git] / STEER / AliDebugVolume.h
... / ...
CommitLineData
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//-----------------------------------------------------------------------
9// Class to debug entry and exit from a volume
10// Used by AliLego class
11// Author: A.Morsch
12//-----------------------------------------------------------------------
13
14#include "TNamed.h"
15class AliDebugVolume : public TNamed {
16
17public:
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);
21 virtual ~AliDebugVolume(){}
22
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;
29
30
31 Bool_t IsVEqual(const char* name, Int_t copy) const;
32private:
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