11 #include <arich/dbobjects/ARICHGeoBase.h>
14 #include <TRotation.h>
59 void print(
const std::string& title =
"ARICH Master Volume geometry parameters")
const override;
70 void setPlacement(
double x,
double y,
double z,
double rx,
double ry,
double rz);
140 TVector3 pointToGlobal(
const TVector3& point)
const;
141 TVector3 momentumToGlobal(
const TVector3& momentum)
const;
142 TVector3 pointToLocal(
const TVector3& point)
const;
143 TVector3 momentumToLocal(
const TVector3& momentum)
const;
161 std::string m_material;
163 mutable TRotation* m_rotation = 0 ;
164 mutable TRotation* m_rotationInverse = 0;
165 mutable TVector3* m_translation = 0;
Base class for geometry parameters.
static double s_unit
conversion unit for length
Geometry parameters of ARICH Master volume (envelope)
bool isConsistent() const override
Check of geometry parameters consistency.
ARICHGeoMasterVolume()
Default constructor.
~ARICHGeoMasterVolume()
Destructor.
double m_innerR
tube inner radius
double m_ry
rotation around y-axis
TRotation getRotation() const
Get rotation matrix of ARICH master volume in global Belle II coordinates.
double getRotationY() const
Get angle of rotation around Y axis.
double getRotationZ() const
Get angle of rotation around Z axis.
double getOuterRadius() const
Get ARICH master volume outer radius.
double getInnerRadius() const
Get ARICH master volume inner radius.
void setVolume(double innerR, double outerR, double length, const std::string &material)
Sets parameters of ARICH master volume.
ClassDefOverride(ARICHGeoMasterVolume, 1)
ClassDef.
TVector3 getPosition() const
Get position of ARICH master volume center point in global Belle II coordinates.
double m_length
tube length
void print(const std::string &title="ARICH Master Volume geometry parameters") const override
Print the content of the class.
const std::string & getMaterial() const
Get material of ARICH master volume.
double m_outerR
tube outer radius
void setPlacement(double x, double y, double z, double rx, double ry, double rz)
Sets positioning of ARICH master volume in global Belle II coordinate system.
double m_rz
rotation around z-axis
double m_rx
rotation around x-axis
double getLength() const
Get ARICH master volume length.
double getRotationX() const
Get angle of rotation around X axis.
Abstract base class for different kinds of events.