Garfield++ v2r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <HeedParticle.h>
Public Member Functions | |
HeedParticle () | |
Default constructor. | |
HeedParticle (manip_absvol *primvol, const point &pt, const vec &vel, vfloat time, particle_def *fpardef, HeedFieldMap *fieldmap, const bool fs_loss_only=false, const bool fs_print_listing=false) | |
virtual | ~HeedParticle () |
Destructor. | |
virtual void | physics (std::vector< gparticle * > &secondaries) |
virtual HeedParticle * | copy () const |
virtual void | print (std::ostream &file, int l) const |
Public Member Functions inherited from Heed::eparticle | |
eparticle () | |
Default constructor. | |
eparticle (manip_absvol *primvol, const point &pt, const vec &vel, vfloat time, particle_def *fpardef, HeedFieldMap *fieldmap) | |
Constructor using velocity vector. | |
virtual | ~eparticle () |
Destructor. | |
virtual eparticle * | copy () const |
virtual void | print (std::ostream &file, int l) const |
virtual int | force (const point &pt, vec &f, vec &f_perp, vfloat &mrange) |
Calculate force components. | |
Public Member Functions inherited from Heed::mparticle | |
void | check_consistency () const |
Check consistency of kin_energy, gamma_1, speed, speed_of_light and mass. | |
virtual void | step (std::vector< gparticle * > &secondaries) |
virtual void | curvature (int &fs_cf, vec &frelcen, vfloat &fmrange, vfloat prec) |
virtual int | force (const point &pt, vec &f, vec &f_perp, vfloat &mrange) |
void | new_speed () |
Set new speed, direction and time for currpos. | |
mparticle () | |
Default constructor. | |
mparticle (manip_absvol *primvol, const point &pt, const vec &vel, vfloat time, double fmass) | |
Constructor, calculated from the from velocity vector. | |
virtual void | print (std::ostream &file, int l) const |
virtual mparticle * | copy () const |
virtual | ~mparticle () |
Destructor. | |
Public Member Functions inherited from Heed::gparticle | |
gparticle () | |
Default constructor. | |
gparticle (manip_absvol *primvol, const point &pt, const vec &vel, vfloat time) | |
Constructor. | |
virtual | ~gparticle () |
Destructor. | |
virtual void | step (std::vector< gparticle * > &secondaries) |
virtual void | change_vol (void) |
virtual void | curvature (int &fs_cf, vec &frelcen, vfloat &fmrange, vfloat prec) |
virtual void | physics_after_new_speed (std::vector< gparticle * > &) |
virtual void | physics (std::vector< gparticle * > &) |
virtual void | physics_mrange (double &fmrange) |
virtual stvpoint | calc_step_to_bord () |
Produces nextpos. | |
stvpoint | switch_new_vol () |
virtual void | fly (std::vector< gparticle * > &secondaries) |
Transport the particle. | |
virtual void | print (std::ostream &file, int l) const |
virtual gparticle * | copy () const |
Public Member Functions inherited from Heed::RegPassivePtr | |
RegPassivePtr (void) | |
RegPassivePtr (char fs_ban_del, char fs_ban_sub, char fs_ban_cop=0) | |
RegPassivePtr (const RegPassivePtr &f) | |
RegPassivePtr & | operator= (const RegPassivePtr &f) |
CountPP_ns::CountPassivePtr * | book (void) const |
void | clear_pointers (void) const |
virtual RegPassivePtr * | copy () const |
virtual | ~RegPassivePtr () |
virtual void | print (std::ostream &file, int l=1) const |
void | set_s_ban_del (char fs_ban_del) |
char | get_s_ban_del (void) const |
void | set_s_ban_sub (char fs_ban_sub) |
char | get_s_ban_sub (void) const |
void | set_s_ban_cop (char fs_ban_cop) |
char | get_s_ban_cop (void) const |
void | set_s_allow_del_at_zero_count (char fs_allow_del_at_zero_count) |
char | get_s_allow_del_at_zero_count (void) const |
long | get_total_number_of_references (void) const |
Public Member Functions inherited from Heed::particle_type | |
particle_type () | |
particle_type (particle_def *f) | |
particle_type (const char *name, int s=0) | |
int | operator== (const particle_type &f) |
int | operator!= (const particle_type &f) |
void | print_notation (std::ostream &file) const |
Additional Inherited Members | |
Static Public Member Functions inherited from Heed::RegPassivePtr | |
static void | set_s_ban_del_ignore (char fs_ban_del_ignore) |
static char | get_s_ban_del_ignore (void) |
static void | set_s_print_adr_cpp (char fs_print_adr_cpp) |
static char | get_s_print_adr_cpp (void) |
Public Attributes inherited from Heed::mparticle | |
double | mass |
Mass (not mass * speed_of_light^2) | |
double | orig_kin_energy |
double | orig_gamma_1 |
double | prev_kin_energy |
double | prev_gamma_1 |
double | curr_kin_energy |
double | curr_gamma_1 |
Public Attributes inherited from Heed::gparticle | |
bool | s_life |
long | nstep |
Step number. | |
double | total_range_from_origin |
Range from origin to currpos. | |
long | n_zero_step |
Number of previous steps with zero range (including this step). | |
stvpoint | origin |
stvpoint | prevpos |
stvpoint | currpos |
stvpoint | nextpos |
vec | curr_relcen |
Public Attributes inherited from Heed::particle_type | |
PassivePtr< particle_def > | pardef |
Static Public Attributes inherited from Heed::gparticle | |
static long | max_q_zero_step = 100 |
Protected Attributes inherited from Heed::eparticle | |
HeedFieldMap * | m_fieldMap |
Definition of the particle which can be traced through the geometry. Also the definition of cluster (energy transfer), and particle bank.
2003, I. Smirnov
Definition at line 16 of file HeedParticle.h.
|
inline |
Default constructor.
Definition at line 19 of file HeedParticle.h.
Referenced by copy().
Heed::HeedParticle::HeedParticle | ( | manip_absvol * | primvol, |
const point & | pt, | ||
const vec & | vel, | ||
vfloat | time, | ||
particle_def * | fpardef, | ||
HeedFieldMap * | fieldmap, | ||
const bool | fs_loss_only = false , |
||
const bool | fs_print_listing = false |
||
) |
Constructor. If fs_loss_only == false only transferred energy is simulated: no deposition of clusters, no generation of virtual photons.
Definition at line 22 of file HeedParticle.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Reimplemented from Heed::gparticle.
Definition at line 38 of file HeedParticle.cpp.
|
virtual |
Reimplemented from Heed::eparticle.
Definition at line 137 of file HeedParticle.cpp.