Belle II Software development
|
Base class for geometry parameters. More...
#include <TOPGeoBase.h>
Public Member Functions | |
TOPGeoBase () | |
Default constructor. | |
TOPGeoBase (const std::string &name) | |
Constructor with name. | |
void | setName (const std::string &name) |
Sets object name. | |
const std::string & | getName () const |
Returns object name. | |
virtual bool | isConsistent () const |
Check for consistency of data members. | |
virtual void | print (const std::string &title) const |
Print the content of the class. | |
virtual void | printSurface (const GeoOpticalSurface &surface) const |
Print the content of optical surface. | |
double | getReflectivity (const GeoOpticalSurface &surface, double energy) const |
Returns reflectivity of optical surface at given photon energy. | |
Protected Member Functions | |
void | printUnderlined (const std::string &title) const |
Print the content of the class. | |
ClassDef (TOPGeoBase, 1) | |
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 | |
Base class for geometry parameters.
Definition at line 25 of file TOPGeoBase.h.
|
inline |
|
inlineexplicit |
Constructor with name.
name | object name |
Definition at line 38 of file TOPGeoBase.h.
|
inline |
|
inlinevirtual |
Check for consistency of data members.
Reimplemented in TOPGeoBarSegment, TOPGeoColdPlate, TOPGeoEndPlate, TOPGeoFrontEnd, TOPGeoHoneycombPanel, TOPGeometry, TOPGeoMirrorSegment, TOPGeoModule, TOPGeoModuleDisplacement, TOPGeoPMT, TOPGeoPMTArray, TOPGeoPMTArrayDisplacement, TOPGeoPrism, TOPGeoPrismEnclosure, TOPGeoQBB, TOPGeoSideRails, TOPNominalQE, TOPNominalTDC, TOPNominalTTS, and TOPWavelengthFilter.
Definition at line 57 of file TOPGeoBase.h.
|
inline |
Sets object name.
name | object name |
Definition at line 45 of file TOPGeoBase.h.
|
protected |
geometry object name
Definition at line 89 of file TOPGeoBase.h.