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

Base class for geometry parameters. More...

#include <TOPGeoBase.h>

Inheritance diagram for TOPGeoBase:
Collaboration diagram for TOPGeoBase:

Public Member Functions

 TOPGeoBase ()
 Default constructor.
 
 TOPGeoBase (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...
 
double getReflectivity (const GeoOpticalSurface &surface, double energy) const
 Returns reflectivity of optical surface at given photon energy. More...
 

Protected Member Functions

void printUnderlined (const std::string &title) const
 Print the content of the class. More...
 
 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
 

Detailed Description

Base class for geometry parameters.

Definition at line 25 of file TOPGeoBase.h.

Constructor & Destructor Documentation

◆ TOPGeoBase()

TOPGeoBase ( const std::string &  name)
inlineexplicit

Constructor with name.

Parameters
nameobject name

Definition at line 38 of file TOPGeoBase.h.

Member Function Documentation

◆ getName()

const std::string& getName ( void  ) const
inline

Returns object name.

Returns
object name

Definition at line 51 of file TOPGeoBase.h.

◆ isConsistent()

virtual bool isConsistent ( ) const
inlinevirtual

◆ setName()

void setName ( const std::string &  name)
inline

Sets object name.

Parameters
nameobject name

Definition at line 45 of file TOPGeoBase.h.


The documentation for this class was generated from the following files: