]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliHit.h
First implementation of ESD classes (Yu.Belikov)
[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 {
fe4da5cc 11public:
12 AliHit();
13 AliHit(Int_t shunt, Int_t track);
14 virtual ~AliHit() {}
8918e700 15 virtual Int_t GetTrack() const {return fTrack;}
16 virtual void SetTrack(Int_t track) {fTrack=track;}
17 virtual Float_t X() const {return fX;}
18 virtual Float_t Y() const {return fY;}
19 virtual Float_t Z() const {return fZ;}
94de3818 20 virtual Int_t Track() const {return fTrack;}
fe4da5cc 21
b23a502f 22protected:
23 Int_t fTrack; // Track number
24 Float_t fX; // X position of the hit
25 Float_t fY; // Y position of the hit
26 Float_t fZ; // Z position of the hit
27
fe4da5cc 28 ClassDef(AliHit,1) //Base class for all Alice hits
29};
30#endif