9#include <arich/dbobjects/ARICHGlobalAlignment.h>
20 return (*
m_rotation) * point + (*m_translation);
virtual void print(const std::string &title) const
Print the content of the class.
void print(const std::string &title="ARICH global alignment parameters") const
Print the content of the class.
ROOT::Math::XYZVector pointToGlobal(const ROOT::Math::XYZVector &point) const
Transform local point into global Belle II coordinate system via rotation and translation.
void setTransformation() const
Set rotation matrix and center point of ARICH master volume based on alignment parameters.
ARICHPositionElement m_alignPars
alignment parameters
ROOT::Math::XYZVector momentumToLocal(const ROOT::Math::XYZVector &momentum) const
Rotate global point into ARICH reference system via inverse rotation.
ROOT::Math::Rotation3D * m_rotationInverse
inverse rotation matrix of ARICH master volume
ROOT::Math::XYZVector pointToLocal(const ROOT::Math::XYZVector &point) const
Transform global point into ARICH reference system via inverse rotation and translation.
ROOT::Math::XYZVector momentumToGlobal(const ROOT::Math::XYZVector &momentum) const
Rotate local momentum into global Belle II coordinate system.
ROOT::Math::XYZVector * m_translation
position of ARICH master volume center point
ROOT::Math::Rotation3D * m_rotation
rotation matrix of ARICH master volume
ROOT::Math::Rotation3D getRotation() const
Returns rotation matrix.
ROOT::Math::XYZVector getTranslation() const
Returns translation vector (always in basf2 units!)
void print(const std::string &title="Parmeters of position element") const override
Print the content of the class.
Abstract base class for different kinds of events.