Belle II Software development
TOPGeoSideRails Class Reference

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

#include <TOPGeoSideRails.h>

Inheritance diagram for TOPGeoSideRails:
TOPGeoBase

Public Member Functions

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

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() [1/2]

TOPGeoSideRails ( )
inline

Default constructor.

Definition at line 30 of file TOPGeoSideRails.h.

31 {}

◆ TOPGeoSideRails() [2/2]

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.

64{return m_height / s_unit;}
static double s_unit
conversion unit for length
Definition: TOPGeoBase.h:86

◆ getMaterial()

const std::string & getMaterial ( ) const
inline

Returns material name.

Returns
material name

Definition at line 70 of file TOPGeoSideRails.h.

70{return m_material;}

◆ getName()

const std::string & getName ( ) const
inlineinherited

Returns object name.

Returns
object name

Definition at line 51 of file TOPGeoBase.h.

51{return m_name;}
std::string m_name
geometry object name
Definition: TOPGeoBase.h:89

◆ getReducedThickness()

double getReducedThickness ( ) const
inline

Returns thickness at prism enclosure.

Returns
theckness

Definition at line 58 of file TOPGeoSideRails.h.

58{return m_reducedThickness / s_unit;}

◆ getThickness()

double getThickness ( ) const
inline

Returns thickness.

Returns
theckness

Definition at line 52 of file TOPGeoSideRails.h.

52{return m_thickness / s_unit;}

◆ setName()

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

Sets object name.

Parameters
nameobject name

Definition at line 45 of file TOPGeoBase.h.

45{m_name = name;}

Member Data Documentation

◆ m_height

float m_height = 0
private

height

Definition at line 88 of file TOPGeoSideRails.h.

◆ m_material

std::string m_material
private

material name

Definition at line 89 of file TOPGeoSideRails.h.

◆ m_name

std::string m_name
protectedinherited

geometry object name

Definition at line 89 of file TOPGeoBase.h.

◆ m_reducedThickness

float m_reducedThickness = 0
private

thickness at prism enclosure

Definition at line 87 of file TOPGeoSideRails.h.

◆ m_thickness

float m_thickness = 0
private

thickness

Definition at line 86 of file TOPGeoSideRails.h.


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