Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
GarfieldParticle Class Reference

#include <GarfieldPhysics.hh>

Public Member Functions

 GarfieldParticle (std::string particleName, double ekin_eV, double time, double x_cm, double y_cm, double z_cm, double dx, double dy, double dz)
 
 ~GarfieldParticle ()
 
std::string getParticleName ()
 
double getX_mm ()
 
double getY_mm ()
 
double getZ_mm ()
 
double getEkin_MeV ()
 
double getTime ()
 
double getDX ()
 
double getDY ()
 
double getDZ ()
 

Detailed Description

Definition at line 45 of file GarfieldPhysics.hh.

Constructor & Destructor Documentation

◆ GarfieldParticle()

GarfieldParticle::GarfieldParticle ( std::string  particleName,
double  ekin_eV,
double  time,
double  x_cm,
double  y_cm,
double  z_cm,
double  dx,
double  dy,
double  dz 
)
inline

Definition at line 47 of file GarfieldPhysics.hh.

50 : fParticleName(particleName),
51 fEkin_MeV(ekin_eV / 1000000),
52 fTime(time),
53 fx_mm(10 * x_cm),
54 fy_mm(10 * y_cm),
55 fz_mm(10 * z_cm),
56 fdx(dx),
57 fdy(dy),
58 fdz(dz) {}

◆ ~GarfieldParticle()

GarfieldParticle::~GarfieldParticle ( )
inline

Definition at line 59 of file GarfieldPhysics.hh.

59{}

Member Function Documentation

◆ getDX()

double GarfieldParticle::getDX ( )
inline

Definition at line 67 of file GarfieldPhysics.hh.

67{ return fdx; }

◆ getDY()

double GarfieldParticle::getDY ( )
inline

Definition at line 68 of file GarfieldPhysics.hh.

68{ return fdy; }

◆ getDZ()

double GarfieldParticle::getDZ ( )
inline

Definition at line 69 of file GarfieldPhysics.hh.

69{ return fdz; }

◆ getEkin_MeV()

double GarfieldParticle::getEkin_MeV ( )
inline

Definition at line 65 of file GarfieldPhysics.hh.

65{ return fEkin_MeV; }

◆ getParticleName()

std::string GarfieldParticle::getParticleName ( )
inline

Definition at line 61 of file GarfieldPhysics.hh.

61{ return fParticleName; }

◆ getTime()

double GarfieldParticle::getTime ( )
inline

Definition at line 66 of file GarfieldPhysics.hh.

66{ return fTime; }

◆ getX_mm()

double GarfieldParticle::getX_mm ( )
inline

Definition at line 62 of file GarfieldPhysics.hh.

62{ return fx_mm; }

◆ getY_mm()

double GarfieldParticle::getY_mm ( )
inline

Definition at line 63 of file GarfieldPhysics.hh.

63{ return fy_mm; }

◆ getZ_mm()

double GarfieldParticle::getZ_mm ( )
inline

Definition at line 64 of file GarfieldPhysics.hh.

64{ return fz_mm; }

The documentation for this class was generated from the following file: