Garfield++ 3.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 52 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 54 of file GarfieldPhysics.hh.

54:fParticleName(particleName), fEkin_MeV(ekin_eV/1000000), fTime(time), fx_mm(10*x_cm),fy_mm(10*y_cm), fz_mm(10*z_cm), fdx(dx), fdy(dy), fdz(dz){}

◆ ~GarfieldParticle()

GarfieldParticle::~GarfieldParticle ( )
inline

Definition at line 55 of file GarfieldPhysics.hh.

55{};

Member Function Documentation

◆ getDX()

double GarfieldParticle::getDX ( )
inline

Definition at line 63 of file GarfieldPhysics.hh.

63{return fdx;}

◆ getDY()

double GarfieldParticle::getDY ( )
inline

Definition at line 64 of file GarfieldPhysics.hh.

64{return fdy;}

◆ getDZ()

double GarfieldParticle::getDZ ( )
inline

Definition at line 65 of file GarfieldPhysics.hh.

65{return fdz;}

◆ getEkin_MeV()

double GarfieldParticle::getEkin_MeV ( )
inline

Definition at line 61 of file GarfieldPhysics.hh.

61{return fEkin_MeV;}

◆ getParticleName()

std::string GarfieldParticle::getParticleName ( )
inline

Definition at line 57 of file GarfieldPhysics.hh.

57{return fParticleName;}

◆ getTime()

double GarfieldParticle::getTime ( )
inline

Definition at line 62 of file GarfieldPhysics.hh.

62{return fTime;}

◆ getX_mm()

double GarfieldParticle::getX_mm ( )
inline

Definition at line 58 of file GarfieldPhysics.hh.

58{return fx_mm;}

◆ getY_mm()

double GarfieldParticle::getY_mm ( )
inline

Definition at line 59 of file GarfieldPhysics.hh.

59{return fy_mm;}

◆ getZ_mm()

double GarfieldParticle::getZ_mm ( )
inline

Definition at line 60 of file GarfieldPhysics.hh.

60{return fz_mm;}

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