]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliHit.h
the MIXT geometry (IHEP+GPS2) has been introduced
[u/mrichter/AliRoot.git] / STEER / AliHit.h
CommitLineData
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
10class AliHit : public TObject {
94de3818 11protected:
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
17public:
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