Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Point in space, time and velocity. More...
#include <gparticle.h>
Public Member Functions | |
stvpoint ()=default | |
Default constructor. | |
stvpoint (const point &fpt, const vec &fdir, vfloat fspeed, manip_absvol_treeid &ftid, vfloat fprange, vfloat ftime, int fsb, int fs_ent, manip_absvol *faeid) | |
Constructor. | |
stvpoint (const stvpoint &pstv, const trajestep &ts, vfloat mrange, int fsb, int fs_ent, manip_absvol *faeid) | |
stvpoint (const stvpoint &pstv, const trajestep &ts, int fsb, int fs_ent, manip_absvol *faeid) | |
stvpoint (const stvpoint &fp)=default | |
Copy constructor. | |
void | print (std::ostream &file, int l) const |
absvol * | volume () |
Public Attributes | |
point | pt |
Coordinates in the first system in the tree. | |
vec | dir |
Unit vector, in the first system in the tree. | |
point | ptloc |
Coordinates in the local system (last system in the tree). | |
vec | dirloc |
Unit vector, in the local system (last system in the tree). | |
vfloat | speed = 0. |
Longitudinal velocity. | |
manip_absvol_treeid | tid |
int | sb = 0 |
int | s_ent = 0 |
manip_absvol * | next_eid = nullptr |
vfloat | prange = 0. |
Range from previous point. | |
vfloat | time = 0. |
Point in space, time and velocity.
Definition at line 20 of file gparticle.h.
|
default |
Default constructor.
|
inline |
Constructor.
Definition at line 52 of file gparticle.h.
|
inline |
Constructor.
pstv | previous point |
ts | trajectory step (in the local system) |
mrange | step length (may be less than the one in ts) |
fsb | position flag |
fs_ent | "entering" flag |
faeid | next volume |
Definition at line 77 of file gparticle.h.
|
inline |
Constructor.
pstv | previous point |
ts | trajectory step (in the local system) |
fsb | position flag |
fs_ent | "entering" flag |
faeid | next volume |
Definition at line 108 of file gparticle.h.
|
default |
Copy constructor.
void Heed::stvpoint::print | ( | std::ostream & | file, |
int | l | ||
) | const |
Definition at line 16 of file gparticle.cpp.
Referenced by Heed::gparticle::print().
|
inline |
Definition at line 137 of file gparticle.h.
Referenced by Heed::gparticle::calc_step_to_bord(), Heed::gparticle::change_vol(), Heed::HeedParticle::physics(), Heed::HeedParticle_BGM::physics(), Heed::HeedPhoton::physics(), Heed::HeedDeltaElectron::physics_after_new_speed(), Heed::HeedPhoton::physics_after_new_speed(), Heed::HeedDeltaElectron::physics_mrange(), and Heed::gparticle::switch_new_vol().
vec Heed::stvpoint::dir |
Unit vector, in the first system in the tree.
Definition at line 25 of file gparticle.h.
Referenced by Heed::mparticle::curvature(), Heed::gparticle::direction(), Heed::gparticle::gparticle(), Heed::HeedParticle::physics(), Heed::HeedParticle_BGM::physics(), Heed::HeedPhoton::physics(), Heed::HeedDeltaElectron::physics_after_new_speed(), Heed::HeedPhoton::physics_after_new_speed(), print(), stvpoint(), and Heed::gparticle::switch_new_vol().
vec Heed::stvpoint::dirloc |
Unit vector, in the local system (last system in the tree).
Definition at line 29 of file gparticle.h.
Referenced by Heed::gparticle::calc_step_to_bord(), Heed::mparticle::curvature(), Heed::gparticle::gparticle(), Heed::HeedDeltaElectron::physics_after_new_speed(), print(), and stvpoint().
manip_absvol* Heed::stvpoint::next_eid = nullptr |
Definition at line 44 of file gparticle.h.
Referenced by print().
vfloat Heed::stvpoint::prange = 0. |
Range from previous point.
Definition at line 46 of file gparticle.h.
Referenced by Heed::HeedParticle::physics(), Heed::HeedParticle_BGM::physics(), Heed::HeedPhoton::physics(), Heed::HeedDeltaElectron::physics_after_new_speed(), print(), Heed::gparticle::step(), Heed::mparticle::step(), and Heed::gparticle::switch_new_vol().
point Heed::stvpoint::pt |
Coordinates in the first system in the tree.
Definition at line 23 of file gparticle.h.
Referenced by Heed::mparticle::curvature(), Heed::gparticle::gparticle(), Heed::HeedParticle::physics(), Heed::HeedParticle_BGM::physics(), Heed::HeedPhoton::physics(), Heed::HeedPhoton::physics_after_new_speed(), Heed::gparticle::position(), print(), stvpoint(), and Heed::gparticle::switch_new_vol().
point Heed::stvpoint::ptloc |
Coordinates in the local system (last system in the tree).
Definition at line 27 of file gparticle.h.
Referenced by Heed::gparticle::calc_step_to_bord(), Heed::gparticle::gparticle(), Heed::HeedPhoton::physics(), Heed::HeedDeltaElectron::physics_after_new_speed(), print(), and stvpoint().
int Heed::stvpoint::s_ent = 0 |
"Entering flag". 1 - entering new volume, 0 otherwise. Embraced volume is also considered new.
Definition at line 42 of file gparticle.h.
Referenced by Heed::gparticle::calc_step_to_bord(), Heed::gparticle::gparticle(), and print().
int Heed::stvpoint::sb = 0 |
Position flag 0 - inside volume, or unknown 1 - on the border of the volume 2 - on the border of an embraced volume
Definition at line 38 of file gparticle.h.
Referenced by Heed::gparticle::calc_step_to_bord(), Heed::gparticle::gparticle(), and print().
vfloat Heed::stvpoint::speed = 0. |
Longitudinal velocity.
Definition at line 31 of file gparticle.h.
Referenced by Heed::mparticle::curvature(), Heed::gparticle::gparticle(), Heed::mparticle::mparticle(), Heed::HeedParticle::physics(), Heed::HeedParticle_BGM::physics(), Heed::HeedDeltaElectron::physics_after_new_speed(), print(), stvpoint(), and Heed::gparticle::switch_new_vol().
manip_absvol_treeid Heed::stvpoint::tid |
Definition at line 32 of file gparticle.h.
Referenced by Heed::gparticle::calc_step_to_bord(), Heed::mparticle::curvature(), Heed::gparticle::gparticle(), Heed::HeedParticle::physics(), Heed::HeedParticle_BGM::physics(), Heed::HeedPhoton::physics(), Heed::HeedDeltaElectron::physics_after_new_speed(), Heed::HeedPhoton::physics_after_new_speed(), print(), Heed::gparticle::step(), Heed::mparticle::step(), stvpoint(), Heed::gparticle::switch_new_vol(), and volume().
vfloat Heed::stvpoint::time = 0. |
Definition at line 47 of file gparticle.h.
Referenced by Heed::gparticle::gparticle(), Heed::HeedParticle::physics(), Heed::HeedParticle_BGM::physics(), Heed::HeedDeltaElectron::physics_after_new_speed(), Heed::HeedPhoton::physics_after_new_speed(), print(), stvpoint(), Heed::gparticle::switch_new_vol(), and Heed::gparticle::time().