Displacement parameters of MCP-PMT array.
More...
#include <TOPGeoPMTArrayDisplacement.h>
|
| TOPGeoPMTArrayDisplacement () |
| Default constructor.
|
|
| TOPGeoPMTArrayDisplacement (double x, double y, double alpha, const std::string &name="TOPPMTArrayDisplacement") |
| Full constructor.
|
|
double | getX () const |
| Returns translation in x.
|
|
double | getY () const |
| Returns translation in y.
|
|
double | getAlpha () const |
| Returns rotation angle (around z)
|
|
bool | isConsistent () const override |
| Check for consistency of data members.
|
|
void | print (const std::string &title="PMT array displacement parameters") const override |
| Print the content of the class.
|
|
void | setName (const std::string &name) |
| Sets object name.
|
|
const std::string & | getName () const |
| Returns object name.
|
|
virtual void | printSurface (const GeoOpticalSurface &surface) const |
| Print the content of optical surface.
|
|
double | getReflectivity (const GeoOpticalSurface &surface, double energy) const |
| Returns reflectivity of optical surface at given photon energy.
|
|
|
std::string | m_name |
| geometry object name
|
|
|
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.
◆ TOPGeoPMTArrayDisplacement() [1/2]
◆ TOPGeoPMTArrayDisplacement() [2/2]
Full constructor.
- Parameters
-
x | translation in x |
y | translation in y |
alpha | rotation angle around z |
name | object name |
Definition at line 39 of file TOPGeoPMTArrayDisplacement.h.
40 :
42 {}
TOPGeoBase()
Default constructor.
float m_y
translation in y
float m_alpha
rotation angle around z
float m_x
translation in x
◆ getAlpha()
double getAlpha |
( |
| ) |
const |
|
inline |
◆ getName()
const std::string & getName |
( |
| ) |
const |
|
inlineinherited |
Returns object name.
- Returns
- object name
Definition at line 51 of file TOPGeoBase.h.
std::string m_name
geometry object name
◆ getX()
Returns translation in x.
- Returns
- translation in x
Definition at line 48 of file TOPGeoPMTArrayDisplacement.h.
static double s_unit
conversion unit for length
◆ getY()
◆ isConsistent()
bool isConsistent |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ setName()
void setName |
( |
const std::string & |
name | ) |
|
|
inlineinherited |
Sets object name.
- Parameters
-
Definition at line 45 of file TOPGeoBase.h.
◆ m_alpha
◆ m_name
◆ m_x
◆ m_y
The documentation for this class was generated from the following files: