Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <vec.h>
Public Member Functions | |
virtual | ~absref () |
Destructor. | |
virtual void | down (const abssyscoor *fasc) |
Convert numbering representation of object to basical system of fasc. | |
virtual void | up (const abssyscoor *fasc) |
Convert numbering representation of objects to new system. | |
virtual void | turn (const vec &dir, vfloat angle) |
Turn around axis doing via center of coordinate system along dir. | |
virtual void | shift (const vec &dir) |
Abstract reference, base class for any geometrical vector object. Used for arranging of shift, turn and shange of coordinate system of vector objects. Four functions down(), up(), turn(), and shift() do that by calling of the same functions for any vector objects which are parts of this class. Address of parts lets known by virtual function get_components() which is reloaded in any derivative class. Class vec represents three-vectors and reloads the functions down(), up(), turn() with proper functions manipulating with three-vectors. Function shift() is also reloaded and does nothing for 3-vector vec, since it is assumed that 3-vector is characteristic of direction only, not point in space. We can not shift direction. For this reason, class point representing point in space reloads functions down and up again, and, of course, reloads shift. To make proper shift at switch to coordinate system with shifted center the point::down() and point::up() functions apply point::shift() function after or before vec::down() and vec::up().
|
inlinevirtual |
|
virtual |
Convert numbering representation of object to basical system of fasc.
Reimplemented in Heed::vec, and Heed::point.
Definition at line 43 of file vec.cpp.
Referenced by down(), and Heed::manip_absvol::down_absref().
|
virtual |
Reimplemented in Heed::vec, and Heed::point.
Definition at line 57 of file vec.cpp.
Referenced by shift().
Turn around axis doing via center of coordinate system along dir.
Reimplemented in Heed::vec.
Definition at line 53 of file vec.cpp.
Referenced by turn().
|
virtual |
Convert numbering representation of objects to new system.
Reimplemented in Heed::vec, and Heed::point.
Definition at line 48 of file vec.cpp.
Referenced by up(), Heed::manip_absvol::up_absref(), and Heed::straight::vecdistance().