Belle II Software  release-05-02-19
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 33 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 55 of file TOPGeoPrismEnclosure.h.

56  : TOPGeoBase(name),
57  m_length(length), m_height(height), m_angle(angle),
58  m_bottomThickness(bottomThickness), m_sideThickness(sideThickness),
59  m_backThickness(backThickness), m_frontThickness(frontThickness),
60  m_extensionThickness(extensionThickness),
61  m_material(material)
62  {}
63 
68  double getLength() const {return m_length / s_unit;}
69 

Member Function Documentation

◆ getAngle()

double getAngle ( ) const
inline

Returns angle of side wall.

Returns
angle

Definition at line 97 of file TOPGeoPrismEnclosure.h.

◆ getBackThickness()

double getBackThickness ( ) const
inline

Returns back wall thickness.

Returns
thickness

Definition at line 115 of file TOPGeoPrismEnclosure.h.

◆ getBodyLength()

double getBodyLength ( ) const
inline

Returns length w/o back and front plates.

Returns
length

Definition at line 82 of file TOPGeoPrismEnclosure.h.

◆ getBottomThickness()

double getBottomThickness ( ) const
inline

Returns bottom thickness.

Returns
thickness

Definition at line 103 of file TOPGeoPrismEnclosure.h.

◆ getExtensionThickness()

double getExtensionThickness ( ) const
inline

Returns extension plate thickness.

Returns
thickness

Definition at line 127 of file TOPGeoPrismEnclosure.h.

◆ getFrontThickness()

double getFrontThickness ( ) const
inline

Returns front wall thickness.

Returns
thickness

Definition at line 121 of file TOPGeoPrismEnclosure.h.

◆ getHeight()

double getHeight ( ) const
inline

Returns height up to the side rails.

Returns
height

Definition at line 91 of file TOPGeoPrismEnclosure.h.

◆ getLength()

double getLength ( ) const
inline

Returns full length.

Returns
length

Definition at line 76 of file TOPGeoPrismEnclosure.h.

◆ getMaterial()

const std::string& getMaterial ( ) const
inline

Returns material name.

Returns
material name

Definition at line 133 of file TOPGeoPrismEnclosure.h.

◆ getName()

const std::string& getName ( ) const
inlineinherited

Returns object name.

Returns
object name

Definition at line 61 of file TOPGeoBase.h.

◆ getSideThickness()

double getSideThickness ( ) const
inline

Returns side wall thickness.

Returns
thickness

Definition at line 109 of file TOPGeoPrismEnclosure.h.

◆ setName()

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

Sets object name.

Parameters
nameobject name

Definition at line 55 of file TOPGeoBase.h.


The documentation for this class was generated from the following files:
Belle2::TOPGeoPrismEnclosure::getLength
double getLength() const
Returns full length.
Definition: TOPGeoPrismEnclosure.h:76
Belle2::TOPGeoPrismEnclosure::m_material
std::string m_material
material name
Definition: TOPGeoPrismEnclosure.h:157
Belle2::TOPGeoPrismEnclosure::m_angle
float m_angle
angle of side wall
Definition: TOPGeoPrismEnclosure.h:151
Belle2::TOPGeoPrismEnclosure::m_extensionThickness
float m_extensionThickness
extension plate thickness
Definition: TOPGeoPrismEnclosure.h:156
Belle2::TOPGeoPrismEnclosure::m_bottomThickness
float m_bottomThickness
bottom thickness
Definition: TOPGeoPrismEnclosure.h:152
Belle2::TOPGeoPrismEnclosure::m_sideThickness
float m_sideThickness
side wall thickness
Definition: TOPGeoPrismEnclosure.h:153
Belle2::TOPGeoPrismEnclosure::m_length
float m_length
length
Definition: TOPGeoPrismEnclosure.h:149
Belle2::TOPGeoBase::s_unit
static double s_unit
conversion unit for length
Definition: TOPGeoBase.h:96
Belle2::TOPGeoBase::TOPGeoBase
TOPGeoBase()
Default constructor.
Definition: TOPGeoBase.h:41
Belle2::TOPGeoPrismEnclosure::m_frontThickness
float m_frontThickness
front wall thickness
Definition: TOPGeoPrismEnclosure.h:155
Belle2::TOPGeoPrismEnclosure::m_backThickness
float m_backThickness
back wall thickness
Definition: TOPGeoPrismEnclosure.h:154
Belle2::TOPGeoPrismEnclosure::m_height
float m_height
height up to the side rails
Definition: TOPGeoPrismEnclosure.h:150