Global displacement parameters for ARICH.
More...
#include <ARICHGeoGlobalDisplacement.h>
|
| ARICHGeoGlobalDisplacement () |
| Default constructor.
|
|
| ARICHGeoGlobalDisplacement (double x, double y, double z, double alpha, double beta, double gamma) |
| Full constructor. More...
|
|
void | setX (double x) |
| Sets translation in x. More...
|
|
void | setY (double y) |
| Sets translation in y. More...
|
|
void | setZ (double z) |
| Sets translation in z. More...
|
|
void | setAlpha (double alpha) |
| Sets rotation around x. More...
|
|
void | setBeta (double beta) |
| Sets rotation around y. More...
|
|
void | setGamma (double gamma) |
| Sets rotation around z. 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...
|
|
void | setName (const std::string &name) |
| Sets object name. More...
|
|
const std::string & | getName () const |
| Returns object name. More...
|
|
virtual bool | isConsistent () const |
| Check for consistency of data members. More...
|
|
virtual void | print (const std::string &title) const |
| Print the content of the class. More...
|
|
virtual void | printSurface (const GeoOpticalSurface &surface) const |
| Print the content of optical surface. More...
|
|
virtual void | printPlacement (double x, double y, double z, double rx, double ry, double rz) const |
| Print volume positioning parameters. More...
|
|
|
std::string | m_name |
| geometry object name
|
|
|
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
|
|
Global displacement parameters for ARICH.
Definition at line 22 of file ARICHGeoGlobalDisplacement.h.
◆ ARICHGeoGlobalDisplacement()
Full constructor.
- Parameters
-
x | displacement in x |
y | displacement in y |
z | displacement in z |
alpha | rotation angle around x |
beta | rotation angle around y |
gamma | rotation angle around z |
Definition at line 40 of file ARICHGeoGlobalDisplacement.h.
float m_beta
rotation angle around y
float m_y
translation in y
float m_alpha
rotation angle around x
float m_z
translation in z
float m_gamma
rotation angle around z
float m_x
translation in x
◆ getAlpha()
double getAlpha |
( |
| ) |
const |
|
inline |
◆ getBeta()
◆ getGamma()
double getGamma |
( |
| ) |
const |
|
inline |
◆ getName()
const std::string& getName |
( |
| ) |
const |
|
inlineinherited |
Returns object name.
- Returns
- object name
Definition at line 49 of file ARICHGeoBase.h.
◆ getX()
◆ getY()
◆ getZ()
◆ isConsistent()
virtual bool isConsistent |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ print()
void print |
( |
const std::string & |
title | ) |
const |
|
virtualinherited |
Print the content of the class.
- Parameters
-
Reimplemented in ARICHGeoMergerCooling, ARICHGeoFEBCooling, ARICHPositionElement, ARICHGeoSupport, ARICHGeoMirrorDisplacement, ARICHGeoMirrors, ARICHMirrorAlignment, ARICHGeoMerger, ARICHGeoCablesEnvelope, ARICHGeoHAPD, ARICHGeoDetectorPlane, ARICHGeoCooling, ARICHGeoMasterVolume, ARICHGlobalAlignment, ARICHGeometryConfig, ARICHAeroTilesAlignment, and ARICHGeoAerogelPlane.
Definition at line 20 of file ARICHGeoBase.cc.
◆ printPlacement()
void printPlacement |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
double |
rx, |
|
|
double |
ry, |
|
|
double |
rz |
|
) |
| const |
|
virtualinherited |
Print volume positioning parameters.
- Parameters
-
x | x position |
y | y position |
z | z position |
rx | rotation around x-axis |
ry | rotation around y-axis |
rz | rotation around z-axis |
Definition at line 25 of file ARICHGeoBase.cc.
◆ printSurface()
Print the content of optical surface.
- Parameters
-
surface | optical surface parameters |
Definition at line 32 of file ARICHGeoBase.cc.
◆ setAlpha()
void setAlpha |
( |
double |
alpha | ) |
|
|
inline |
◆ setBeta()
void setBeta |
( |
double |
beta | ) |
|
|
inline |
◆ setGamma()
void setGamma |
( |
double |
gamma | ) |
|
|
inline |
◆ setName()
void setName |
( |
const std::string & |
name | ) |
|
|
inlineinherited |
◆ setX()
◆ setY()
◆ setZ()
The documentation for this class was generated from the following file: