11#include <top/dbobjects/TOPGeoBase.h>
12#include <Math/Transform3D.h>
45 double alpha,
double beta,
double gamma,
46 const std::string& name =
"TOPModuleDisplacement"):
105 void print(
const std::string& title =
"Module displacement parameters")
const override;
Base class for geometry parameters.
Displacement parameters of a TOP module.
float m_beta
rotation angle around y
bool isConsistent() const override
Check for consistency of data members.
double getGamma() const
Returns rotation angle around z.
double getX() const
Returns translation in x.
double getAlpha() const
Returns rotation angle around x.
TOPGeoModuleDisplacement(double x, double y, double z, double alpha, double beta, double gamma, const std::string &name="TOPModuleDisplacement")
Full constructor.
double getZ() const
Returns translation in z.
double getY() const
Returns translation in y.
float m_y
translation in y
float m_alpha
rotation angle around x
TOPGeoModuleDisplacement()
Default constructor.
float m_z
translation in z
float m_gamma
rotation angle around z
float m_x
translation in x
ClassDefOverride(TOPGeoModuleDisplacement, 1)
ClassDef.
double getBeta() const
Returns rotation angle around y.
static double s_unit
conversion unit for length
ROOT::Math::Transform3D getTransformation() const
Returns transformation from local to nominal frame.
void print(const std::string &title="Module displacement parameters") const override
Print the content of the class.
Abstract base class for different kinds of events.