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

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

#include <ARICHGlobalAlignment.h>

Inheritance diagram for ARICHGlobalAlignment:
Collaboration diagram for ARICHGlobalAlignment:

Public Member Functions

 ARICHGlobalAlignment ()
 Default constructor.
 
 ARICHGlobalAlignment (const ARICHGlobalAlignment &align)
 Copy constructor.
 
ARICHGlobalAlignmentoperator= (const ARICHGlobalAlignment &align)
 Assignment operator.
 
 ~ARICHGlobalAlignment ()
 Destructor.
 
void setAlignmentElement (const ARICHPositionElement &align)
 Sets alignment parameters (element) More...
 
const ARICHPositionElementgetAlignmentElement () const
 Returns alignment parameters (element) More...
 
void print (const std::string &title="ARICH global alignment parameters") const
 Print the content of the class. More...
 
const TVector3 & getTranslation () const
 Get position of ARICH master volume center point in global Belle II coordinates. More...
 
const TRotation & getRotation () const
 Get rotation matrix of ARICH master volume in global Belle II coordinates. 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 bool isConsistent () const
 Check for consistency of data members. 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

void setTransformation () const
 
 ClassDef (ARICHGlobalAlignment, 1)
 ClassDef.
 

Private Attributes

ARICHPositionElement m_alignPars
 
TRotation * m_rotation = 0
 
TRotation * m_rotationInverse = 0
 
TVector3 * m_translation = 0
 

Detailed Description

Geometry parameters of ARICH Master volume (envelope)

Definition at line 29 of file ARICHGlobalAlignment.h.

Member Function Documentation

◆ getAlignmentElement()

const ARICHPositionElement& getAlignmentElement ( ) const
inline

Returns alignment parameters (element)

Returns
alignment element

Definition at line 92 of file ARICHGlobalAlignment.h.

93  {
94  return m_alignPars;
95  }

◆ getName()

const std::string& getName ( ) const
inlineinherited

Returns object name.

Returns
object name

Definition at line 49 of file ARICHGeoBase.h.

◆ getRotation()

const 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 115 of file ARICHGlobalAlignment.h.

◆ getTranslation()

const TVector3& getTranslation ( ) const
inline

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

Returns
center point of ARICH volume

Definition at line 109 of file ARICHGlobalAlignment.h.

◆ isConsistent()

virtual bool isConsistent ( ) const
inlinevirtualinherited

Check for consistency of data members.

Returns
true if values consistent (valid)

Reimplemented in ARICHPositionElement, ARICHGeoSupport, ARICHGeoMirrors, ARICHGeoMasterVolume, ARICHGeoHAPD, ARICHGeoDetectorPlane, and ARICHGeoAerogelPlane.

Definition at line 55 of file ARICHGeoBase.h.

◆ print()

void print ( const std::string &  title = "ARICH global alignment parameters") const
virtual

Print the content of the class.

Parameters
titletitle to be printed

Reimplemented from ARICHGeoBase.

Definition at line 49 of file ARICHGlobalAlignment.cc.

50 {
51  ARICHGeoBase::print(title);
52  m_alignPars.print();
53 }
virtual void print(const std::string &title) const
Print the content of the class.
Definition: ARICHGeoBase.cc:20
void print(const std::string &title="Parmeters of position element") const override
Print the content of the class.

◆ 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.

◆ setAlignmentElement()

void setAlignmentElement ( const ARICHPositionElement align)
inline

Sets alignment parameters (element)

Parameters
alignalignment element

Definition at line 83 of file ARICHGlobalAlignment.h.

◆ setName()

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

Sets object name.

Parameters
nameobject name

Definition at line 43 of file ARICHGeoBase.h.


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