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

Alignment parameters for aerogel tiles. More...

#include <ARICHAeroTilesAlignment.h>

Inheritance diagram for ARICHAeroTilesAlignment:
Collaboration diagram for ARICHAeroTilesAlignment:

Public Member Functions

 ARICHAeroTilesAlignment ()
 Default constructor.
 
void setAlignmentElement (int id, const ARICHPositionElement &pars)
 Sets Alignment parameters (element) for aerogel tile. More...
 
const ARICHPositionElementgetAlignmentElement (int mirrorID) const
 Returns alignment parameters for given aerogel tile. More...
 
void print (const std::string &title="Aerogel tilesAlignment Parameters") const
 Prints parameters of aerogel tiles alignment.
 
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 (ARICHAeroTilesAlignment, 1)
 ClassDef.
 

Private Attributes

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

Detailed Description

Alignment parameters for aerogel tiles.

Definition at line 23 of file ARICHAeroTilesAlignment.h.

Member Function Documentation

◆ getAlignmentElement()

const ARICHPositionElement& getAlignmentElement ( int  mirrorID) const
inline

Returns alignment parameters for given aerogel tile.

Returns
position element

Definition at line 46 of file ARICHAeroTilesAlignment.h.

47  {
48  return m_elements[mirrorID - 1];
49  }
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.

49 {return m_name;}
std::string m_name
geometry object name
Definition: ARICHGeoBase.h:82

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

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

26 {
27 // cout << "Volume positioning information (inside local ARICH frame)" << endl;
28  cout << " Center position; x: " << x << " " << s_unitName << ", y: " << y << " " << s_unitName << ", z: " << z << " " << s_unitName
29  << endl;
30  cout << " Rotations; x-axis: " << rx << " y-axis: " << ry << " z-axis: " << rz << " (in rad)" << endl;
31 }
static std::string s_unitName
conversion unit name
Definition: ARICHGeoBase.h:84

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

Parameters
idslot id
elementalignment element

Definition at line 37 of file ARICHAeroTilesAlignment.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: