![]() |
Belle II Software
release-08-02-05
|
Displacement parameters of a TOP module. More...
#include <TOPGeoModuleDisplacement.h>


Public Member Functions | |
| TOPGeoModuleDisplacement () | |
| Default constructor. | |
| TOPGeoModuleDisplacement (double x, double y, double z, double alpha, double beta, double gamma, const std::string &name="TOPModuleDisplacement") | |
| Full constructor. More... | |
| double | getX () const |
| Returns translation in x. More... | |
| double | getY () const |
| Returns translation in y. More... | |
| double | getZ () const |
| Returns translation in z. More... | |
| double | getAlpha () const |
| Returns rotation angle around x. More... | |
| double | getBeta () const |
| Returns rotation angle around y. More... | |
| double | getGamma () const |
| Returns rotation angle around z. More... | |
| ROOT::Math::Transform3D | getTransformation () const |
| Returns transformation from local to nominal frame. More... | |
| bool | isConsistent () const override |
| Check for consistency of data members. More... | |
| void | print (const std::string &title="Module displacement parameters") const override |
| Print the content of the class. More... | |
| void | setName (const std::string &name) |
| Sets object name. More... | |
| const std::string & | getName () const |
| Returns object name. More... | |
| virtual void | printSurface (const GeoOpticalSurface &surface) const |
| Print the content of optical surface. More... | |
| double | getReflectivity (const GeoOpticalSurface &surface, double energy) const |
| Returns reflectivity of optical surface at given photon energy. More... | |
Protected Member Functions | |
| void | printUnderlined (const std::string &title) const |
| Print the content of the class. More... | |
| ClassDef (TOPGeoBase, 1) | |
| ClassDef. | |
Protected Attributes | |
| std::string | m_name |
| geometry object name | |
Static Protected Attributes | |
| static double | s_unit = Unit::cm |
| conversion unit for length | |
| static std::string | s_unitName |
| conversion unit name | |
Private Member Functions | |
| ClassDefOverride (TOPGeoModuleDisplacement, 1) | |
| ClassDef. | |
Private Attributes | |
| float | m_x = 0 |
| translation in x | |
| float | m_y = 0 |
| translation in y | |
| float | m_z = 0 |
| translation in z | |
| float | m_alpha = 0 |
| rotation angle around x | |
| float | m_beta = 0 |
| rotation angle around y | |
| float | m_gamma = 0 |
| rotation angle around z | |
Displacement parameters of a TOP module.
To displace module: rotation first (around x, then y, then z), then translation (e.g. going from local to nominal frame)
Definition at line 25 of file TOPGeoModuleDisplacement.h.
|
inline |
Full constructor.
| x | translation in x |
| y | translation in y |
| z | translation in z |
| alpha | rotation angle around x |
| beta | rotation angle around y |
| gamma | rotation angle around z |
| name | object name |
Definition at line 44 of file TOPGeoModuleDisplacement.h.
|
inline |
Returns rotation angle around x.
Definition at line 74 of file TOPGeoModuleDisplacement.h.
|
inline |
Returns rotation angle around y.
Definition at line 80 of file TOPGeoModuleDisplacement.h.
|
inline |
Returns rotation angle around z.
Definition at line 86 of file TOPGeoModuleDisplacement.h.
|
inlineinherited |
|
inline |
Returns translation in x.
Definition at line 56 of file TOPGeoModuleDisplacement.h.
|
inline |
Returns translation in y.
Definition at line 62 of file TOPGeoModuleDisplacement.h.
|
inline |
Returns translation in z.
Definition at line 68 of file TOPGeoModuleDisplacement.h.
|
inlineoverridevirtual |
Check for consistency of data members.
Reimplemented from TOPGeoBase.
Definition at line 99 of file TOPGeoModuleDisplacement.h.
|
inlineinherited |