1#ifndef G_TRACK_BICHSEL_H
2#define G_TRACK_BICHSEL_H
22 virtual bool NewTrack(
const double x0,
const double y0,
const double z0,
23 const double t0,
const double dx0,
const double dy0,
25 virtual bool GetCluster(
double& xcls,
double& ycls,
double& zcls,
double& tcls,
26 int& n,
double& e,
double& extra);
31 void SetDataFile(
const std::string& filename) { m_datafile = filename; }
40 double m_x, m_y, m_z, m_t;
41 double m_dx, m_dy, m_dz;
46 std::string m_datafile;
48 std::vector<std::vector<double> > m_cdf;
55 double GetInverseMeanFreePath(
const double bg);
56 bool LoadCrossSectionTable(
const std::string& filename);
57 void SelectCrossSectionTable();
virtual double GetStoppingPower()
Get the stopping power (mean energy loss [eV] per cm).
void SetDataFile(const std::string &filename)
virtual bool GetCluster(double &xcls, double &ycls, double &zcls, double &tcls, int &n, double &e, double &extra)
virtual double GetClusterDensity()
virtual bool NewTrack(const double x0, const double y0, const double z0, const double t0, const double dx0, const double dy0, const double dz0)
virtual ~TrackBichsel()
Destructor.
TrackBichsel()
Constructor.
Abstract base class for track generation.