Belle II Software development
TOPGeoColdPlate Class Reference

Geometry parameters of cold plate (simplified) More...

#include <TOPGeoColdPlate.h>

Inheritance diagram for TOPGeoColdPlate:
TOPGeoBase

Public Member Functions

 TOPGeoColdPlate ()
 Default constructor.
 
 TOPGeoColdPlate (double baseThickness, const std::string &baseMaterial, double coolThickness, double coolWidth, const std::string &coolMaterial, const std::string &name="TOPColdPlate")
 Full constructor.
 
double getBaseThickness () const
 Returns base plate thickness.
 
const std::string & getBaseMaterial () const
 Returns base plate material name.
 
double getCoolThickness () const
 Returns cooling plate thickness.
 
double getCoolWidth () const
 Returns cooling plate width.
 
const std::string & getCoolMaterial () const
 Returns cooling plate material name.
 
bool isConsistent () const override
 Check for consistency of data members.
 
virtual void print (const std::string &title="QBB cold plate 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 (TOPGeoColdPlate, 1)
 ClassDef.
 

Private Attributes

float m_baseThickness = 0
 base plate thickness
 
std::string m_baseMaterial
 base plate material name
 
float m_coolThickness = 0
 cooling plate thickness
 
float m_coolWidth = 0
 cooling plate width
 
std::string m_coolMaterial
 cooling plate material name
 

Detailed Description

Geometry parameters of cold plate (simplified)

Definition at line 23 of file TOPGeoColdPlate.h.

Constructor & Destructor Documentation

◆ TOPGeoColdPlate() [1/2]

TOPGeoColdPlate ( )
inline

Default constructor.

Definition at line 29 of file TOPGeoColdPlate.h.

30 {}

◆ TOPGeoColdPlate() [2/2]

TOPGeoColdPlate ( double  baseThickness,
const std::string &  baseMaterial,
double  coolThickness,
double  coolWidth,
const std::string &  coolMaterial,
const std::string &  name = "TOPColdPlate" 
)
inline

Full constructor.

Parameters
baseThicknessbase plate thickness
baseMaterialbase plate material name
coolThicknesscooling plate thickness
coolWidthcooling plate width
coolMaterialcooling plate material name
namevolume name in Geant

Definition at line 41 of file TOPGeoColdPlate.h.

46 : TOPGeoBase(name),
47 m_baseThickness(baseThickness), m_baseMaterial(baseMaterial),
48 m_coolThickness(coolThickness), m_coolWidth(coolWidth),
49 m_coolMaterial(coolMaterial)
50 {}
TOPGeoBase()
Default constructor.
Definition: TOPGeoBase.h:31
std::string m_baseMaterial
base plate material name
float m_coolThickness
cooling plate thickness
std::string m_coolMaterial
cooling plate material name
float m_coolWidth
cooling plate width
float m_baseThickness
base plate thickness

Member Function Documentation

◆ getBaseMaterial()

const std::string & getBaseMaterial ( ) const
inline

Returns base plate material name.

Returns
material name

Definition at line 62 of file TOPGeoColdPlate.h.

62{return m_baseMaterial;}

◆ getBaseThickness()

double getBaseThickness ( ) const
inline

Returns base plate thickness.

Returns
thickness

Definition at line 56 of file TOPGeoColdPlate.h.

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

◆ getCoolMaterial()

const std::string & getCoolMaterial ( ) const
inline

Returns cooling plate material name.

Returns
material name

Definition at line 80 of file TOPGeoColdPlate.h.

80{return m_coolMaterial;}

◆ getCoolThickness()

double getCoolThickness ( ) const
inline

Returns cooling plate thickness.

Returns
thickness

Definition at line 68 of file TOPGeoColdPlate.h.

68{return m_coolThickness / s_unit;}

◆ getCoolWidth()

double getCoolWidth ( ) const
inline

Returns cooling plate width.

Returns
width

Definition at line 74 of file TOPGeoColdPlate.h.

74{return m_coolWidth / s_unit;}

◆ 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

◆ 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_baseMaterial

std::string m_baseMaterial
private

base plate material name

Definition at line 99 of file TOPGeoColdPlate.h.

◆ m_baseThickness

float m_baseThickness = 0
private

base plate thickness

Definition at line 98 of file TOPGeoColdPlate.h.

◆ m_coolMaterial

std::string m_coolMaterial
private

cooling plate material name

Definition at line 102 of file TOPGeoColdPlate.h.

◆ m_coolThickness

float m_coolThickness = 0
private

cooling plate thickness

Definition at line 100 of file TOPGeoColdPlate.h.

◆ m_coolWidth

float m_coolWidth = 0
private

cooling plate width

Definition at line 101 of file TOPGeoColdPlate.h.

◆ m_name

std::string m_name
protectedinherited

geometry object name

Definition at line 89 of file TOPGeoBase.h.


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