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

Base class for geometry parameters. More...

#include <ARICHGeoBase.h>

Inheritance diagram for ARICHGeoBase:
Collaboration diagram for ARICHGeoBase:

Public Member Functions

 ARICHGeoBase ()
 Default constructor.
 
 ARICHGeoBase (const std::string &name)
 Constructor with name. 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 print (const std::string &title) const
 Print the content of the class. 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
 

Detailed Description

Base class for geometry parameters.

Definition at line 24 of file ARICHGeoBase.h.

Constructor & Destructor Documentation

◆ ARICHGeoBase()

ARICHGeoBase ( const std::string &  name)
inlineexplicit

Constructor with name.

Parameters
nameobject name

Definition at line 36 of file ARICHGeoBase.h.

Member Function Documentation

◆ getName()

const std::string& getName ( ) const
inline

Returns object name.

Returns
object name

Definition at line 49 of file ARICHGeoBase.h.

◆ isConsistent()

virtual bool isConsistent ( ) const
inlinevirtual

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()

◆ printPlacement()

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

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
virtual

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)
inline

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: