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

Mirror displacement parameters for ARICH. More...

#include <ARICHGeoMirrorDisplacement.h>

Inheritance diagram for ARICHGeoMirrorDisplacement:
Collaboration diagram for ARICHGeoMirrorDisplacement:

Public Member Functions

 ARICHGeoMirrorDisplacement ()
 Default constructor.
 
void setDisplacementElement (int id, const ARICHPositionElement &pars)
 Sets displacement parameters (element) for mirror plate. More...
 
const ARICHPositionElementgetDisplacementElement (int mirrorID) const
 Returns displacement parameters for given mirror plate. More...
 
void print (const std::string &title="Mirror Displacement 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 (ARICHGeoMirrorDisplacement, 1)
 ClassDef.
 

Private Attributes

std::vector< ARICHPositionElementm_elements {std::vector<ARICHPositionElement>(18)}
 vector of positions elements for displacement
 

Detailed Description

Mirror displacement parameters for ARICH.

Definition at line 23 of file ARICHGeoMirrorDisplacement.h.

Member Function Documentation

◆ getDisplacementElement()

const ARICHPositionElement& getDisplacementElement ( int  mirrorID) const
inline

Returns displacement parameters for given mirror plate.

Returns
position element

Definition at line 49 of file ARICHGeoMirrorDisplacement.h.

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

◆ 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 Displacement Parameters") const
inlinevirtual

Print the content of the class.

Parameters
titletitle to be printed

Reimplemented from ARICHGeoBase.

Definition at line 54 of file ARICHGeoMirrorDisplacement.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.

◆ setDisplacementElement()

void setDisplacementElement ( int  id,
const ARICHPositionElement pars 
)
inline

Sets displacement parameters (element) for mirror plate.

Parameters
idmirror id
elementdisplacement element

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