Belle II Software
release-08-01-10
|
Displacement parameters of MCP-PMT array. More...
#include <TOPGeoPMTArrayDisplacement.h>
Public Member Functions | |
TOPGeoPMTArrayDisplacement () | |
Default constructor. | |
TOPGeoPMTArrayDisplacement (double x, double y, double alpha, const std::string &name="TOPPMTArrayDisplacement") | |
Full constructor. More... | |
double | getX () const |
Returns translation in x. More... | |
double | getY () const |
Returns translation in y. More... | |
double | getAlpha () const |
Returns rotation angle (around z) More... | |
bool | isConsistent () const override |
Check for consistency of data members. More... | |
void | print (const std::string &title="PMT array 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 (TOPGeoPMTArrayDisplacement, 1) | |
ClassDef. | |
Private Attributes | |
float | m_x = 0 |
translation in x | |
float | m_y = 0 |
translation in y | |
float | m_alpha = 0 |
rotation angle around z | |
Displacement parameters of MCP-PMT array.
To displace: rotation first, then translation
Definition at line 23 of file TOPGeoPMTArrayDisplacement.h.
|
inline |
Full constructor.
x | translation in x |
y | translation in y |
alpha | rotation angle around z |
name | object name |
Definition at line 39 of file TOPGeoPMTArrayDisplacement.h.
|
inline |
Returns rotation angle (around z)
Definition at line 60 of file TOPGeoPMTArrayDisplacement.h.
|
inlineinherited |
|
inline |
Returns translation in x.
Definition at line 48 of file TOPGeoPMTArrayDisplacement.h.
|
inline |
Returns translation in y.
Definition at line 54 of file TOPGeoPMTArrayDisplacement.h.
|
inlineoverridevirtual |
Check for consistency of data members.
Reimplemented from TOPGeoBase.
Definition at line 66 of file TOPGeoPMTArrayDisplacement.h.
|
inlineinherited |