// Track.h
// Sept 10,1998 Rob Shanks, Stanford Linear Accelerator Center
// 

#ifndef TRACK
#define TRACK

#include "McPart.h"
#include "TMath.h"
#include "TObject.h"

class Track: public TObject {
 private:
  Float_t m_momentum[4];// Momentum vector of particle
  Float_t m_position[4];// Position vector of particle
  Float_t m_charge;     // Charge of the particle
  Int_t m_index;   // Index to the McPart object responsible for this entry
 public:
Track(Float_t *momentum, Float_t *position, Float_t charge, Int_t index);
Track(){m_index = 0;};
~Track() {};
Float_t* GetPosition(){return m_position;};
Float_t* GetMomentum(){return m_momentum;};
Float_t GetCharge(){return m_charge;};
Int_t GetParticle(){return m_index;};

ClassDef(Track,1)// Instance of energy deposition in track system
}; 

#endif
