ROOT logo
#ifndef ALIHIT_H
#define ALIHIT_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

/* $Id$ */

// Base class for hits
// This class is used as a base class for 
// hits in the different detectors

#include "TObject.h"

class AliHit : public TObject {
public:
  AliHit();
  AliHit(Int_t shunt, Int_t track);
  virtual ~AliHit() {}
  virtual Int_t GetTrack() const {return fTrack;}
  virtual void SetTrack(Int_t track) {fTrack=track;}
  virtual Float_t X() const {return fX;}
  virtual Float_t Y() const {return fY;}
  virtual Float_t Z() const {return fZ;}
  virtual Int_t Track() const {return fTrack;}
  
protected:
  Int_t     fTrack;  // Track number
  Float_t   fX;      // X position of the hit
  Float_t   fY;      // Y position of the hit
  Float_t   fZ;      // Z position of the hit

  ClassDef(AliHit,1)  //Base class for all Alice hits
};
#endif
 AliHit.h:1
 AliHit.h:2
 AliHit.h:3
 AliHit.h:4
 AliHit.h:5
 AliHit.h:6
 AliHit.h:7
 AliHit.h:8
 AliHit.h:9
 AliHit.h:10
 AliHit.h:11
 AliHit.h:12
 AliHit.h:13
 AliHit.h:14
 AliHit.h:15
 AliHit.h:16
 AliHit.h:17
 AliHit.h:18
 AliHit.h:19
 AliHit.h:20
 AliHit.h:21
 AliHit.h:22
 AliHit.h:23
 AliHit.h:24
 AliHit.h:25
 AliHit.h:26
 AliHit.h:27
 AliHit.h:28
 AliHit.h:29
 AliHit.h:30
 AliHit.h:31
 AliHit.h:32
 AliHit.h:33
 AliHit.h:34