Belle II Software  release-08-01-10
ARICHGeoMasterVolume Class Reference

Geometry parameters of ARICH Master volume (envelope) More...

#include <ARICHGeoMasterVolume.h>

Inheritance diagram for ARICHGeoMasterVolume:
Collaboration diagram for ARICHGeoMasterVolume:

Public Member Functions

 ARICHGeoMasterVolume ()
 Default constructor.
 
 ~ARICHGeoMasterVolume ()
 Destructor.
 
bool isConsistent () const override
 Check of geometry parameters consistency. More...
 
void print (const std::string &title="ARICH Master Volume geometry parameters") const override
 Print the content of the class. More...
 
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. More...
 
void setVolume (double innerR, double outerR, double length, const std::string &material)
 Sets parameters of ARICH master volume. More...
 
TVector3 getPosition () const
 Get position of ARICH master volume center point in global Belle II coordinates. More...
 
TRotation getRotation () const
 Get rotation matrix of ARICH master volume in global Belle II coordinates. More...
 
double getRotationX () const
 Get angle of rotation around X axis. More...
 
double getRotationY () const
 Get angle of rotation around Y axis. More...
 
double getRotationZ () const
 Get angle of rotation around Z axis. More...
 
double getInnerRadius () const
 Get ARICH master volume inner radius. More...
 
double getOuterRadius () const
 Get ARICH master volume outer radius. More...
 
double getLength () const
 Get ARICH master volume length. More...
 
const std::string & getMaterial () const
 Get material of ARICH master volume. More...
 
TVector3 pointToGlobal (const TVector3 &point) const
 
TVector3 momentumToGlobal (const TVector3 &momentum) const
 
TVector3 pointToLocal (const TVector3 &point) const
 
TVector3 momentumToLocal (const TVector3 &momentum) const
 
void setName (const std::string &name)
 Sets object name. More...
 
const std::string & getName () const
 Returns object name. More...
 
virtual void printSurface (const GeoOpticalSurface &surface) const
 Print the content of optical surface. More...
 
virtual void printPlacement (double x, double y, double z, double rx, double ry, double rz) const
 Print volume positioning parameters. More...
 

Protected Member Functions

 ClassDef (ARICHGeoBase, 2)
 ClassDef.
 

Protected Attributes

std::string m_name
 geometry object name
 

Static Protected Attributes

static double s_unit = Unit::cm
 conversion unit for length
 
static std::string s_unitName
 conversion unit name
 

Private Member Functions

 ClassDefOverride (ARICHGeoMasterVolume, 1)
 ClassDef.
 

Private Attributes

double m_x = 0
 x position
 
double m_y = 0
 y position
 
double m_z = 0
 z position
 
double m_rx = 0
 rotation around x-axis
 
double m_ry = 0
 rotation around y-axis
 
double m_rz = 0
 rotation around z-axis
 
double m_innerR = 0
 tube inner radius
 
double m_outerR = 0
 tube outer radius
 
double m_length = 0
 tube length
 
std::string m_material
 
TRotation * m_rotation = 0
 
TRotation * m_rotationInverse = 0
 
TVector3 * m_translation = 0
 

Detailed Description

Geometry parameters of ARICH Master volume (envelope)

Definition at line 28 of file ARICHGeoMasterVolume.h.

Member Function Documentation

◆ getInnerRadius()

double getInnerRadius ( ) const
inline

Get ARICH master volume inner radius.

Returns
master volume inner radius

Definition at line 120 of file ARICHGeoMasterVolume.h.

120 {return m_innerR / s_unit;};
static double s_unit
conversion unit for length
Definition: ARICHGeoBase.h:83
double m_innerR
tube inner radius

◆ getLength()

double getLength ( ) const
inline

Get ARICH master volume length.

Returns
master volume length

Definition at line 132 of file ARICHGeoMasterVolume.h.

◆ getMaterial()

const std::string& getMaterial ( ) const
inline

Get material of ARICH master volume.

Returns
material of master volume

Definition at line 138 of file ARICHGeoMasterVolume.h.

◆ getName()

const std::string& getName ( ) const
inlineinherited

Returns object name.

Returns
object name

Definition at line 49 of file ARICHGeoBase.h.

◆ getOuterRadius()

double getOuterRadius ( ) const
inline

Get ARICH master volume outer radius.

Returns
master volume outer radius

Definition at line 126 of file ARICHGeoMasterVolume.h.

◆ getPosition()

TVector3 getPosition ( ) const
inline

Get position of ARICH master volume center point in global Belle II coordinates.

Returns
center point of ARICH volume

Definition at line 85 of file ARICHGeoMasterVolume.h.

◆ getRotation()

TRotation getRotation ( ) const
inline

Get rotation matrix of ARICH master volume in global Belle II coordinates.

Returns
rotation matrix of ARICH master volume

Definition at line 91 of file ARICHGeoMasterVolume.h.

◆ getRotationX()

double getRotationX ( ) const
inline

Get angle of rotation around X axis.

Returns
rotation angle arounx X axis

Definition at line 102 of file ARICHGeoMasterVolume.h.

◆ getRotationY()

double getRotationY ( ) const
inline

Get angle of rotation around Y axis.

Returns
rotation angle arounx Y axis

Definition at line 108 of file ARICHGeoMasterVolume.h.

◆ getRotationZ()

double getRotationZ ( ) const
inline

Get angle of rotation around Z axis.

Returns
rotation angle arounx Z axis

Definition at line 114 of file ARICHGeoMasterVolume.h.

◆ isConsistent()

bool isConsistent ( ) const
overridevirtual

Check of geometry parameters consistency.

Returns
true if consistent

Reimplemented from ARICHGeoBase.

Definition at line 56 of file ARICHGeoMasterVolume.cc.

57 {
58  if (m_innerR > m_outerR) return false;
59  if (m_length <= 0 || m_innerR < 0) return false;
60  if (m_material.empty()) return false;
61  return true;
62 }
double m_outerR
tube outer radius

◆ print()

void print ( const std::string &  title = "ARICH Master Volume geometry parameters") const
overridevirtual

Print the content of the class.

Parameters
titletitle to be printed

Reimplemented from ARICHGeoBase.

Definition at line 65 of file ARICHGeoMasterVolume.cc.

◆ printPlacement()

void printPlacement ( double  x,
double  y,
double  z,
double  rx,
double  ry,
double  rz 
) const
virtualinherited

Print volume positioning parameters.

Parameters
xx position
yy position
zz position
rxrotation around x-axis
ryrotation around y-axis
rzrotation around z-axis

Definition at line 25 of file ARICHGeoBase.cc.

◆ printSurface()

void printSurface ( const GeoOpticalSurface surface) const
virtualinherited

Print the content of optical surface.

Parameters
surfaceoptical surface parameters

Definition at line 32 of file ARICHGeoBase.cc.

◆ setName()

void setName ( const std::string &  name)
inlineinherited

Sets object name.

Parameters
nameobject name

Definition at line 43 of file ARICHGeoBase.h.

◆ setPlacement()

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.

Parameters
xx position
yy position
zz position
rxrotation around x-axis
ryrotation around y-axis
rzrotation around z-axis

Definition at line 37 of file ARICHGeoMasterVolume.cc.

◆ setVolume()

void setVolume ( double  innerR,
double  outerR,
double  length,
const std::string &  material 
)
inline

Sets parameters of ARICH master volume.

Parameters
innerRinner radius of ARICH tube
outerRouter radius of ARICH tube
lengthlength radius of ARICH tube
materialmaterial

Definition at line 79 of file ARICHGeoMasterVolume.h.


The documentation for this class was generated from the following files: