Belle II Software prerelease-11-00-00d
TOPGeoQBB Class Reference

Geometry parameters of Quartz Bar Box (mother class) More...

#include <TOPGeoQBB.h>

Inheritance diagram for TOPGeoQBB:
Collaboration diagram for TOPGeoQBB:

Public Member Functions

 TOPGeoQBB ()
 Default constructor.
 
 TOPGeoQBB (double width, double length, double prismPosition, const std::string &material, const std::string &name="TOPQBB")
 Useful constructor.
 
void setInnerPanel (const TOPGeoHoneycombPanel &innerPanel)
 Sets inner honeycomb panel.
 
void setOuterPanel (const TOPGeoHoneycombPanel &outerPanel)
 Sets outer honeycomb panel.
 
void setSideRails (const TOPGeoSideRails &sideRails)
 Sets side rails.
 
void setPrismEnclosure (const TOPGeoPrismEnclosure &prismEnclosure)
 Sets prism enclosure.
 
void setEndPlate (const TOPGeoEndPlate &endPlate)
 Sets forward end plate.
 
void setColdPlate (const TOPGeoColdPlate &coldPlate)
 Sets forward cold plate.
 
double getWidth () const
 Returns full width.
 
double getPanelWidth () const
 Returns panel width used in x-y contours of honeycomb panels.
 
double getLength () const
 Returns full length.
 
double getSideRailsLength () const
 Returns side rails length.
 
double getPrismPosition () const
 Returns the position of prism-bar joint wrt QBB back.
 
const std::string & getMaterial () const
 Returns the name of material inside QBB.
 
const TOPGeoHoneycombPanel & getInnerPanel () const
 Returns inner honeycomb panel.
 
const TOPGeoHoneycombPanel & getOuterPanel () const
 Returns outer honeycomb panel.
 
const TOPGeoSideRails & getSideRails () const
 Returns side rails.
 
const TOPGeoPrismEnclosure & getPrismEnclosure () const
 Returns prism enclosure.
 
const TOPGeoEndPlate & getForwardEndPlate () const
 Returns forward end plate.
 
const TOPGeoColdPlate & getColdPlate () const
 Returns cold plate.
 
std::vector< std::pair< double, double > > getForwardContour () const
 Returns forward x-y contour.
 
std::vector< std::pair< double, double > > getInnerPanelContour () const
 Returns inner honeycomb panel x-y contour.
 
std::vector< std::pair< double, double > > getOuterPanelContour () const
 Returns outer honeycomb panel x-y contour.
 
std::vector< std::pair< double, double > > getBackwardContour () const
 Returns backward x-y contour.
 
std::vector< std::pair< double, double > > getPrismEnclosureContour () const
 Returns prism enclosure wall x-y contour.
 
std::vector< std::pair< double, double > > getBackPlateContour () const
 Returns prism enclosure back plate x-y contour.
 
std::vector< std::pair< double, double > > getFrontPlateContour () const
 Returns prism enclosure front plate x-y contour.
 
bool isConsistent () const override
 Check for consistency of data members.
 
virtual void print (const std::string &title="QBB geometry parameters") const override
 Print the content of the class.
 
void printForwardContour () const
 Print forward contour (polygon) - for debugging.
 
void printInnerPanelContour () const
 Print inner honeycomb panel contour (polygon) - for debugging.
 
void printOuterPanelContour () const
 Print outer honeycomb panel contour (polygon) - for debugging.
 
void printBackwardContour () const
 Print backward contour (polygon) - for debugging.
 
void printPrismEnclosureContour () const
 Print prism enclosure contour (polygon) - for debugging.
 
void printBackPlateContour () const
 Print prism enclosure back plate contour (polygon) - for debugging.
 
void printFrontPlateContour () const
 Print prism enclosure front plate contour (polygon) - for debugging.
 
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 (TOPGeoQBB, 2)
 ClassDef.
 

Private Attributes

float m_width = 0
 full width
 
float m_length = 0
 full length
 
float m_prismPosition = 0
 position of prism-bar joint wrt QBB back
 
std::string m_material
 material inside QBB
 
TOPGeoHoneycombPanel m_innerPanel
 inner honeycomb panel
 
TOPGeoHoneycombPanel m_outerPanel
 outer honeycomb panel
 
TOPGeoSideRails m_sideRails
 side rails
 
TOPGeoPrismEnclosure m_prismEnclosure
 prism enclosure
 
TOPGeoEndPlate m_endPlate
 forward end plate
 
TOPGeoColdPlate m_coldPlate
 cold plate
 

Detailed Description

Geometry parameters of Quartz Bar Box (mother class)

Definition at line 30 of file TOPGeoQBB.h.

Constructor & Destructor Documentation

◆ TOPGeoQBB() [1/2]

TOPGeoQBB ( )
inline

Default constructor.

Definition at line 36 of file TOPGeoQBB.h.

37 {}

◆ TOPGeoQBB() [2/2]

TOPGeoQBB ( double width,
double length,
double prismPosition,
const std::string & material,
const std::string & name = "TOPQBB" )
inline

Useful constructor.

Parameters
widthfull width
lengthfull length
prismPositionposition of prism-bar joint wrt QBB back
materialmaterial inside QBB
namevolume name in Geant

Definition at line 47 of file TOPGeoQBB.h.

49 : TOPGeoBase(name),
50 m_width(width), m_length(length), m_prismPosition(prismPosition), m_material(material)
51 {}

Member Function Documentation

◆ getColdPlate()

const TOPGeoColdPlate & getColdPlate ( ) const
inline

Returns cold plate.

Returns
cold plate geometry parameters

Definition at line 174 of file TOPGeoQBB.h.

174{return m_coldPlate;}

◆ getForwardEndPlate()

const TOPGeoEndPlate & getForwardEndPlate ( ) const
inline

Returns forward end plate.

Returns
end plate geometry parameters

Definition at line 168 of file TOPGeoQBB.h.

168{return m_endPlate;}

◆ getInnerPanel()

const TOPGeoHoneycombPanel & getInnerPanel ( ) const
inline

Returns inner honeycomb panel.

Returns
panel geometry parameters

Definition at line 144 of file TOPGeoQBB.h.

144{return m_innerPanel;}

◆ getLength()

double getLength ( ) const
inline

Returns full length.

Returns
length

Definition at line 117 of file TOPGeoQBB.h.

117{return m_length / s_unit;}

◆ getMaterial()

const std::string & getMaterial ( ) const
inline

Returns the name of material inside QBB.

Returns
material name

Definition at line 138 of file TOPGeoQBB.h.

138{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;}

◆ getOuterPanel()

const TOPGeoHoneycombPanel & getOuterPanel ( ) const
inline

Returns outer honeycomb panel.

Returns
panel geometry parameters

Definition at line 150 of file TOPGeoQBB.h.

150{return m_outerPanel;}

◆ getPanelWidth()

double getPanelWidth ( ) const
inline

Returns panel width used in x-y contours of honeycomb panels.

Returns
width

Definition at line 108 of file TOPGeoQBB.h.

109 {
110 return getWidth() - 2 * m_sideRails.getThickness();
111 }

◆ getPrismEnclosure()

const TOPGeoPrismEnclosure & getPrismEnclosure ( ) const
inline

Returns prism enclosure.

Returns
prism enclosure geometry parameters

Definition at line 162 of file TOPGeoQBB.h.

162{return m_prismEnclosure;}

◆ getPrismPosition()

double getPrismPosition ( ) const
inline

Returns the position of prism-bar joint wrt QBB back.

Returns
position

Definition at line 132 of file TOPGeoQBB.h.

132{return m_prismPosition / s_unit;}

◆ getSideRails()

const TOPGeoSideRails & getSideRails ( ) const
inline

Returns side rails.

Returns
side rails geometry parameters

Definition at line 156 of file TOPGeoQBB.h.

156{return m_sideRails;}

◆ getSideRailsLength()

double getSideRailsLength ( ) const
inline

Returns side rails length.

Returns
length

Definition at line 123 of file TOPGeoQBB.h.

124 {
125 return getLength() - m_prismEnclosure.getBackThickness() - m_endPlate.getThickness();
126 }

◆ getWidth()

double getWidth ( ) const
inline

Returns full width.

Returns
width

Definition at line 102 of file TOPGeoQBB.h.

102{return m_width / s_unit;}

◆ setColdPlate()

void setColdPlate ( const TOPGeoColdPlate & coldPlate)
inline

Sets forward cold plate.

Parameters
coldPlategeometry parameters

Definition at line 96 of file TOPGeoQBB.h.

96{m_coldPlate = coldPlate;}

◆ setEndPlate()

void setEndPlate ( const TOPGeoEndPlate & endPlate)
inline

Sets forward end plate.

Parameters
endPlategeometry parameters

Definition at line 90 of file TOPGeoQBB.h.

90{m_endPlate = endPlate;}

◆ setInnerPanel()

void setInnerPanel ( const TOPGeoHoneycombPanel & innerPanel)
inline

Sets inner honeycomb panel.

Parameters
innerPanelgeometry parameters

Definition at line 57 of file TOPGeoQBB.h.

58 {
59 m_innerPanel = innerPanel;
60 }

◆ 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;}

◆ setOuterPanel()

void setOuterPanel ( const TOPGeoHoneycombPanel & outerPanel)
inline

Sets outer honeycomb panel.

Parameters
outerPanelgeometry parameters

Definition at line 66 of file TOPGeoQBB.h.

67 {
68 m_outerPanel = outerPanel;
69 }

◆ setPrismEnclosure()

void setPrismEnclosure ( const TOPGeoPrismEnclosure & prismEnclosure)
inline

Sets prism enclosure.

Parameters
prismEnclosuregeometry parameters

Definition at line 81 of file TOPGeoQBB.h.

82 {
83 m_prismEnclosure = prismEnclosure;
84 }

◆ setSideRails()

void setSideRails ( const TOPGeoSideRails & sideRails)
inline

Sets side rails.

Parameters
sideRailsgeometry parameters

Definition at line 75 of file TOPGeoQBB.h.

75{m_sideRails = sideRails;}

Member Data Documentation

◆ m_coldPlate

TOPGeoColdPlate m_coldPlate
private

cold plate

Definition at line 276 of file TOPGeoQBB.h.

◆ m_endPlate

TOPGeoEndPlate m_endPlate
private

forward end plate

Definition at line 275 of file TOPGeoQBB.h.

◆ m_innerPanel

TOPGeoHoneycombPanel m_innerPanel
private

inner honeycomb panel

Definition at line 271 of file TOPGeoQBB.h.

◆ m_length

float m_length = 0
private

full length

Definition at line 268 of file TOPGeoQBB.h.

◆ m_material

std::string m_material
private

material inside QBB

Definition at line 270 of file TOPGeoQBB.h.

◆ m_name

std::string m_name
protectedinherited

geometry object name

Definition at line 89 of file TOPGeoBase.h.

◆ m_outerPanel

TOPGeoHoneycombPanel m_outerPanel
private

outer honeycomb panel

Definition at line 272 of file TOPGeoQBB.h.

◆ m_prismEnclosure

TOPGeoPrismEnclosure m_prismEnclosure
private

prism enclosure

Definition at line 274 of file TOPGeoQBB.h.

◆ m_prismPosition

float m_prismPosition = 0
private

position of prism-bar joint wrt QBB back

Definition at line 269 of file TOPGeoQBB.h.

◆ m_sideRails

TOPGeoSideRails m_sideRails
private

side rails

Definition at line 273 of file TOPGeoQBB.h.

◆ m_width

float m_width = 0
private

full width

Definition at line 267 of file TOPGeoQBB.h.


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