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

Geometry parameters of prism enclosure (simplified) More...

#include <TOPGeoPrismEnclosure.h>

Inheritance diagram for TOPGeoPrismEnclosure:
Collaboration diagram for TOPGeoPrismEnclosure:

Public Member Functions

 TOPGeoPrismEnclosure ()
 Default constructor.
 
 TOPGeoPrismEnclosure (double length, double height, double angle, double bottomThickness, double sideThickness, double backThickness, double frontThickness, double extensionThickness, const std::string &material, const std::string &name="TOPPrismEnclosure")
 Full constructor. More...
 
double getLength () const
 Returns full length. More...
 
double getBodyLength () const
 Returns length w/o back and front plates. More...
 
double getHeight () const
 Returns height up to the side rails. More...
 
double getAngle () const
 Returns angle of side wall. More...
 
double getBottomThickness () const
 Returns bottom thickness. More...
 
double getSideThickness () const
 Returns side wall thickness. More...
 
double getBackThickness () const
 Returns back wall thickness. More...
 
double getFrontThickness () const
 Returns front wall thickness. More...
 
double getExtensionThickness () const
 Returns extension plate thickness. 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 prism enclosure 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 (TOPGeoPrismEnclosure, 1)
 ClassDef.
 

Private Attributes

float m_length = 0
 length
 
float m_height = 0
 height up to the side rails
 
float m_angle = 0
 angle of side wall
 
float m_bottomThickness = 0
 bottom thickness
 
float m_sideThickness = 0
 side wall thickness
 
float m_backThickness = 0
 back wall thickness
 
float m_frontThickness = 0
 front wall thickness
 
float m_extensionThickness = 0
 extension plate thickness
 
std::string m_material
 material name
 

Detailed Description

Geometry parameters of prism enclosure (simplified)

Definition at line 23 of file TOPGeoPrismEnclosure.h.

Constructor & Destructor Documentation

◆ TOPGeoPrismEnclosure()

TOPGeoPrismEnclosure ( double  length,
double  height,
double  angle,
double  bottomThickness,
double  sideThickness,
double  backThickness,
double  frontThickness,
double  extensionThickness,
const std::string &  material,
const std::string &  name = "TOPPrismEnclosure" 
)
inline

Full constructor.

Parameters
lengthlength
heightheight up to the side rails
angleangle of side wall
bottomThicknessbottom thickness
sideThicknessside wall thickness
backThicknessback wall thickness
frontThicknessfront wall thickness
extensionThicknessextension plate thickness
materialmaterial name
namevolume name in Geant

Definition at line 45 of file TOPGeoPrismEnclosure.h.

54  : TOPGeoBase(name),
55  m_length(length), m_height(height), m_angle(angle),
56  m_bottomThickness(bottomThickness), m_sideThickness(sideThickness),
57  m_backThickness(backThickness), m_frontThickness(frontThickness),
58  m_extensionThickness(extensionThickness),
59  m_material(material)
60  {}
TOPGeoBase()
Default constructor.
Definition: TOPGeoBase.h:31
float m_angle
angle of side wall
std::string m_material
material name
float m_extensionThickness
extension plate thickness
float m_backThickness
back wall thickness
float m_frontThickness
front wall thickness
float m_bottomThickness
bottom thickness
float m_height
height up to the side rails
float m_sideThickness
side wall thickness

Member Function Documentation

◆ getAngle()

double getAngle ( ) const
inline

Returns angle of side wall.

Returns
angle

Definition at line 87 of file TOPGeoPrismEnclosure.h.

◆ getBackThickness()

double getBackThickness ( ) const
inline

Returns back wall thickness.

Returns
thickness

Definition at line 105 of file TOPGeoPrismEnclosure.h.

◆ getBodyLength()

double getBodyLength ( ) const
inline

Returns length w/o back and front plates.

Returns
length

Definition at line 72 of file TOPGeoPrismEnclosure.h.

◆ getBottomThickness()

double getBottomThickness ( ) const
inline

Returns bottom thickness.

Returns
thickness

Definition at line 93 of file TOPGeoPrismEnclosure.h.

◆ getExtensionThickness()

double getExtensionThickness ( ) const
inline

Returns extension plate thickness.

Returns
thickness

Definition at line 117 of file TOPGeoPrismEnclosure.h.

◆ getFrontThickness()

double getFrontThickness ( ) const
inline

Returns front wall thickness.

Returns
thickness

Definition at line 111 of file TOPGeoPrismEnclosure.h.

◆ getHeight()

double getHeight ( ) const
inline

Returns height up to the side rails.

Returns
height

Definition at line 81 of file TOPGeoPrismEnclosure.h.

◆ getLength()

double getLength ( ) const
inline

Returns full length.

Returns
length

Definition at line 66 of file TOPGeoPrismEnclosure.h.

◆ getMaterial()

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

Returns material name.

Returns
material name

Definition at line 123 of file TOPGeoPrismEnclosure.h.

◆ getName()

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

Returns object name.

Returns
object name

Definition at line 51 of file TOPGeoBase.h.

◆ getSideThickness()

double getSideThickness ( ) const
inline

Returns side wall thickness.

Returns
thickness

Definition at line 99 of file TOPGeoPrismEnclosure.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: