Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <vec.h>
Public Member Functions | |
vec | operator/ (vfloat p) const |
vec (vfloat xx, vfloat yy, vfloat zz) | |
vec () | |
virtual | ~vec () |
vec | down_new (const basis *fabas) |
void | down (const basis *fabas) |
vec | up_new (const basis *fabas_new) |
void | up (const basis *fabas_new) |
vec | down_new (const abssyscoor *fasc) |
void | down (const abssyscoor *fasc) |
vec | up_new (const abssyscoor *fasc) |
void | up (const abssyscoor *fasc) |
vec | turn_new (const vec &dir, vfloat angle) |
void | turn (const vec &dir, vfloat angle) |
void | shift (const vec &dir) |
void | random_round_vec (void) |
void | random_conic_vec (double theta) |
void | random_sfer_vec (void) |
Public Member Functions inherited from absref | |
virtual | ~absref () |
virtual void | down (const abssyscoor *fasc) |
virtual void | up (const abssyscoor *fasc) |
virtual void | turn (const vec &dir, vfloat angle) |
virtual void | shift (const vec &dir) |
Public Attributes | |
vfloat | x |
vfloat | y |
vfloat | z |
Friends | |
vec | operator* (const vec &v, vfloat p) |
vec | operator*= (vec &v, vfloat p) |
vec | operator* (vfloat p, const vec &v) |
vec | operator/= (vec &v, vfloat p) |
vec | operator+ (const vec &r1, const vec &r2) |
vec & | operator+= (vec &r1, const vec &r2) |
vec | operator- (const vec &r1, const vec &r2) |
vec | operator-= (vec &r1, const vec &r2) |
vec | operator- (const vec &r) |
vfloat | operator* (const vec &r1, const vec &r2) |
vec | operator|| (const vec &r1, const vec &r2) |
wl_inline int | operator== (const vec &r1, const vec &r2) |
wl_inline int | operator!= (const vec &r1, const vec &r2) |
wl_inline int | apeq (const vec &r1, const vec &r2, vfloat prec) |
wl_inline int | not_apeq (const vec &r1, const vec &r2, vfloat prec) |
vfloat | length (const vec &v) |
vfloat | length2 (const vec &v) |
wl_inline vec | unit_vec (const vec &v) |
vfloat | cos2vec (const vec &r1, const vec &r2) |
vfloat | ang2vec (const vec &r1, const vec &r2) |
vec | project_to_plane (const vec &r, const vec &normal) |
vfloat | ang2projvec (const vec &r1, const vec &r2, const vec &normal) |
vfloat | sin2vec (const vec &r1, const vec &r2) |
wl_inline int | check_par (const vec &r1, const vec &r2, vfloat prec) |
wl_inline int | check_perp (const vec &r1, const vec &r2, vfloat prec) |
wl_inline vec | switch_xyz (const vec &) |
|
inline |
Definition at line 339 of file vec.h.
Referenced by operator/(), and turn_new().
|
virtual |
void vec::down | ( | const basis * | fabas | ) |
Definition at line 247 of file vec.cpp.
Referenced by down(), point::down(), Heed::ElElasticScat::fill_hist_low_scat(), Heed::HeedParticle::physics(), Heed::HeedParticle_BGM::physics(), and Heed::HeedDeltaElectron::physics_after_new_speed().
vec vec::down_new | ( | const abssyscoor * | fasc | ) |
Definition at line 232 of file vec.cpp.
Referenced by down(), and down_new().
void vec::random_conic_vec | ( | double | theta | ) |
Definition at line 322 of file vec.cpp.
Referenced by Heed::HeedParticle::physics(), and Heed::HeedParticle_BGM::physics().
void vec::random_round_vec | ( | void | ) |
Definition at line 311 of file vec.cpp.
Referenced by Heed::ElElasticScat::fill_hist_low_scat(), Heed::HeedDeltaElectron::physics_after_new_speed(), and random_sfer_vec().
void vec::random_sfer_vec | ( | void | ) |
Definition at line 334 of file vec.cpp.
Referenced by Heed::HeedPhoton::physics_after_new_speed().
|
virtual |
Reimplemented from absref.
Definition at line 298 of file vec.cpp.
Referenced by trajestep::Gnextpoint(), trajestep::Gnextpoint1(), Heed::mparticle::new_speed(), Heed::spquadr::pt_angle_rad(), and Heed::splane::range().
Definition at line 271 of file vec.cpp.
Referenced by turn().
|
virtual |
void vec::up | ( | const basis * | fabas_new | ) |
Definition at line 269 of file vec.cpp.
Referenced by macro_copy_body_not_defined(), up(), and point::up().
vec vec::up_new | ( | const abssyscoor * | fasc | ) |
Definition at line 212 of file vec.cpp.
Definition at line 165 of file vec.cpp.
Referenced by turn_new().
Definition at line 142 of file vec.cpp.
Referenced by turn_new().
vfloat vec::x |
Definition at line 250 of file vec.h.
Referenced by Heed::box::check_point_inside(), down_new(), Heed::field_map(), Heed::ElElasticScat::fill_hist_low_scat(), Garfield::TrackHeed::GetCluster(), operator/(), operator<<(), Heed::HeedDeltaElectron::physics_after_new_speed(), random_conic_vec(), random_round_vec(), Heed::box::range_ext(), Heed::straight::straight(), Garfield::TrackHeed::TransportPhoton(), up_new(), and vec().
vfloat vec::y |
Definition at line 250 of file vec.h.
Referenced by Heed::box::check_point_inside(), down_new(), Heed::field_map(), Heed::ElElasticScat::fill_hist_low_scat(), Garfield::TrackHeed::GetCluster(), operator/(), operator<<(), Heed::HeedDeltaElectron::physics_after_new_speed(), random_conic_vec(), random_round_vec(), Heed::box::range_ext(), Heed::straight::straight(), Garfield::TrackHeed::TransportPhoton(), up_new(), vec(), and Heed::straight::vecdistance().
vfloat vec::z |
Definition at line 250 of file vec.h.
Referenced by Heed::box::check_point_inside(), down_new(), Heed::field_map(), Heed::ElElasticScat::fill_hist_low_scat(), Garfield::TrackHeed::GetCluster(), operator/(), operator<<(), random_conic_vec(), random_round_vec(), random_sfer_vec(), Heed::box::range_ext(), Heed::straight::straight(), Garfield::TrackHeed::TransportPhoton(), up_new(), and vec().