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

Geometry parameters of side rails (simplified) More...

#include <TOPGeoSideRails.h>

Inheritance diagram for TOPGeoSideRails:
Collaboration diagram for TOPGeoSideRails:

Public Member Functions

 TOPGeoSideRails ()
 Default constructor.
 
 TOPGeoSideRails (double thickness, double reducedThickness, double height, const std::string &material, const std::string &name="TOPSideRail")
 Full constructor. More...
 
double getThickness () const
 Returns thickness. More...
 
double getReducedThickness () const
 Returns thickness at prism enclosure. More...
 
double getHeight () const
 Returns height. More...
 
const std::string & getMaterial () const
 Returns material name. More...
 
bool isConsistent () const override
 Check for consistency of data members. More...
 
virtual void print (const std::string &title="QBB side rails geometry parameters") const override
 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 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
 

Private Member Functions

 ClassDefOverride (TOPGeoSideRails, 1)
 ClassDef.
 

Private Attributes

float m_thickness = 0
 thickness
 
float m_reducedThickness = 0
 thickness at prism enclosure
 
float m_height = 0
 height
 
std::string m_material
 material name
 

Detailed Description

Geometry parameters of side rails (simplified)

Definition at line 24 of file TOPGeoSideRails.h.

Constructor & Destructor Documentation

◆ TOPGeoSideRails()

TOPGeoSideRails ( double  thickness,
double  reducedThickness,
double  height,
const std::string &  material,
const std::string &  name = "TOPSideRail" 
)
inline

Full constructor.

Parameters
thicknessthickness
reducedThicknessthickness at prism enclosure
heightheight
materialmaterial name
namevolume name in Geant

Definition at line 41 of file TOPGeoSideRails.h.

43  : TOPGeoBase(name),
44  m_thickness(thickness), m_reducedThickness(reducedThickness),
45  m_height(height), m_material(material)
46  {}
TOPGeoBase()
Default constructor.
Definition: TOPGeoBase.h:31
std::string m_material
material name
float m_reducedThickness
thickness at prism enclosure
float m_thickness
thickness

Member Function Documentation

◆ getHeight()

double getHeight ( ) const
inline

Returns height.

Returns
heihgt

Definition at line 64 of file TOPGeoSideRails.h.

◆ getMaterial()

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

Returns material name.

Returns
material name

Definition at line 70 of file TOPGeoSideRails.h.

◆ getName()

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

Returns object name.

Returns
object name

Definition at line 51 of file TOPGeoBase.h.

◆ getReducedThickness()

double getReducedThickness ( ) const
inline

Returns thickness at prism enclosure.

Returns
theckness

Definition at line 58 of file TOPGeoSideRails.h.

◆ getThickness()

double getThickness ( ) const
inline

Returns thickness.

Returns
theckness

Definition at line 52 of file TOPGeoSideRails.h.

◆ setName()

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

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: