11#include <top/dbobjects/TOPGeoBase.h>
40 const std::string& name =
"TOPPMTArrayDisplacement"):
72 void print(
const std::string& title =
"PMT array displacement parameters")
const override;
Base class for geometry parameters.
Displacement parameters of MCP-PMT array.
bool isConsistent() const override
Check for consistency of data members.
ClassDefOverride(TOPGeoPMTArrayDisplacement, 1)
ClassDef.
TOPGeoPMTArrayDisplacement(double x, double y, double alpha, const std::string &name="TOPPMTArrayDisplacement")
Full constructor.
double getX() const
Returns translation in x.
double getAlpha() const
Returns rotation angle (around z)
double getY() const
Returns translation in y.
TOPGeoPMTArrayDisplacement()
Default constructor.
float m_y
translation in y
float m_alpha
rotation angle around z
float m_x
translation in x
static double s_unit
conversion unit for length
void print(const std::string &title="PMT array displacement parameters") const override
Print the content of the class.
Abstract base class for different kinds of events.