Some warning going to error and viceversa:
[u/mrichter/AliRoot.git] / STEER / 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
0742d588 8// Base class for hits
9// This class is used as a base class for
10// hits in the different detectors
11
fe4da5cc 12#include "TObject.h"
13
14class AliHit : public TObject {
fe4da5cc 15public:
16 AliHit();
17 AliHit(Int_t shunt, Int_t track);
18 virtual ~AliHit() {}
8918e700 19 virtual Int_t GetTrack() const {return fTrack;}
20 virtual void SetTrack(Int_t track) {fTrack=track;}
21 virtual Float_t X() const {return fX;}
22 virtual Float_t Y() const {return fY;}
23 virtual Float_t Z() const {return fZ;}
94de3818 24 virtual Int_t Track() const {return fTrack;}
fe4da5cc 25
b23a502f 26protected:
27 Int_t fTrack; // Track number
28 Float_t fX; // X position of the hit
29 Float_t fY; // Y position of the hit
30 Float_t fZ; // Z position of the hit
31
fe4da5cc 32 ClassDef(AliHit,1) //Base class for all Alice hits
33};
34#endif