]>
Commit | Line | Data |
---|---|---|
8918e700 | 1 | #ifndef ALIHIT_H |
2 | #define ALIHIT_H | |
3da30618 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
fe4da5cc | 7 | |
8 | #include "TObject.h" | |
9 | ||
10 | class AliHit : public TObject { | |
94de3818 | 11 | protected: |
8918e700 | 12 | Int_t fTrack; // Track number |
13 | Float_t fX; // X position of the hit | |
14 | Float_t fY; // Y position of the hit | |
15 | Float_t fZ; // Z position of the hit | |
fe4da5cc | 16 | |
17 | public: | |
18 | AliHit(); | |
19 | AliHit(Int_t shunt, Int_t track); | |
20 | virtual ~AliHit() {} | |
8918e700 | 21 | virtual Int_t GetTrack() const {return fTrack;} |
22 | virtual void SetTrack(Int_t track) {fTrack=track;} | |
23 | virtual Float_t X() const {return fX;} | |
24 | virtual Float_t Y() const {return fY;} | |
25 | virtual Float_t Z() const {return fZ;} | |
94de3818 | 26 | virtual Int_t Track() const {return fTrack;} |
fe4da5cc | 27 | |
28 | ClassDef(AliHit,1) //Base class for all Alice hits | |
29 | }; | |
30 | #endif |