]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 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 { | |
11 | public: | |
12 | Int_t fTrack; //track number | |
13 | //Position of the hit | |
14 | Float_t fX; | |
15 | Float_t fY; | |
16 | Float_t fZ; | |
17 | ||
18 | public: | |
19 | AliHit(); | |
20 | AliHit(Int_t shunt, Int_t track); | |
21 | virtual ~AliHit() {} | |
22 | virtual int GetTrack() const {return fTrack;} | |
23 | inline virtual void SetTrack(int track) {fTrack=track;} | |
24 | ||
25 | ClassDef(AliHit,1) //Base class for all Alice hits | |
26 | }; | |
27 | #endif |