]> git.uio.no Git - u/mrichter/AliRoot.git/blob - CRT/AliCRThit.h
First version, generation of cosmic muons on the surface
[u/mrichter/AliRoot.git] / CRT / AliCRThit.h
1 #ifndef ALICRTHIT_H
2 #define ALICRTHIT_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 //                                            //
10 //  Hit class for CRT                         //
11 //  Interface                                 //
12 //  Getters, Setters and member variables     //
13 //  declared here                             //
14 //                                            //
15 ////////////////////////////////////////////////
16
17 #include "AliHit.h"
18
19 class AliCRThit : public AliHit {
20   
21 public:
22   AliCRThit();
23   AliCRThit(Int_t shunt, Int_t track, Int_t* vol, Float_t *hits);
24   AliCRThit(const AliCRThit & hit);
25   AliCRThit& operator= (const AliCRThit& hit);
26   virtual ~AliCRThit() {}
27
28   // getters for AliCRThit object
29   Float_t GetId()   const {return fId;}
30   Float_t GetX()     const {return fX;}
31   Float_t GetY()     const {return fY;}
32   Float_t GetZ()     const {return fZ;}
33   Float_t GetPx()     const {return fPx;}
34   Float_t GetPy()     const {return fPy;}
35   Float_t GetPz()     const {return fPz;}
36   Float_t GetMedium()     const {return fMedium;}
37   Float_t GetELoss()   const {return fELoss;}
38   Float_t GetCRT() const {return fCRTh;}
39   Float_t GetCRTMod() const {return fCRTMod;}
40   Float_t GetCRTMag() const {return fCRTMag;}
41   Float_t GetCRTRICH() const {return fCRTRICH;}
42   Float_t GetCRTTPC() const {return fCRTTPC;}
43
44   const Int_t* GetVolume() const {return fVolume;}
45
46 protected:
47   Int_t   fVolume[5];
48   Int_t   fCopy;
49   Float_t fId;     
50   Float_t fPx;          //
51   Float_t fPy;          //
52   Float_t fPz;          //
53   Float_t fMedium;      //
54   Float_t fELoss;       //
55   Float_t fCRTh;
56   Float_t fCRTMod;
57   Float_t fCRTMag;
58   Float_t fCRTRICH;
59   Float_t fCRTTPC;
60
61 private:
62   ClassDef(AliCRThit,1)  // Hit for CRT (ACORDE)
63
64 };
65
66 #endif /* ALICRTHIT_H */