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

Mirror alignment parameters for ARICH. More...

#include <ARICHMirrorAlignment.h>

Inheritance diagram for ARICHMirrorAlignment:
Collaboration diagram for ARICHMirrorAlignment:

Public Member Functions

 ARICHMirrorAlignment ()
 Default constructor.
 
void setAlignmentElement (int id, const ARICHPositionElement &pars)
 Sets Alignment parameters (element) for mirror plate. More...
 
const ARICHPositionElementgetAlignmentElement (int mirrorID) const
 Returns alignment parameters for given mirror plate. More...
 
void print (const std::string &title="Mirror Alignment Parameters") const
 Print the content of the class. More...
 
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

 ClassDef (ARICHMirrorAlignment, 1)
 ClassDef.
 

Private Attributes

std::vector< ARICHPositionElementm_elements {std::vector<ARICHPositionElement>(18)}
 vector of position elements for alignment
 

Detailed Description

Mirror alignment parameters for ARICH.

Definition at line 23 of file ARICHMirrorAlignment.h.

Member Function Documentation

◆ getAlignmentElement()

const ARICHPositionElement& getAlignmentElement ( int  mirrorID) const
inline

Returns alignment parameters for given mirror plate.

Returns
position element

Definition at line 49 of file ARICHMirrorAlignment.h.

50  {
51  return m_elements[mirrorID - 1];
52  }
std::vector< ARICHPositionElement > m_elements
vector of position elements for alignment

◆ getName()

const std::string& getName ( ) const
inlineinherited

Returns object name.

Returns
object name

Definition at line 49 of file ARICHGeoBase.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 = "Mirror Alignment Parameters") const
inlinevirtual

Print the content of the class.

Parameters
titletitle to be printed

Reimplemented from ARICHGeoBase.

Definition at line 54 of file ARICHMirrorAlignment.h.

◆ 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 ( int  id,
const ARICHPositionElement pars 
)
inline

Sets Alignment parameters (element) for mirror plate.

Parameters
idmirror id
elementdisplacement element

Definition at line 40 of file ARICHMirrorAlignment.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 file: