Geometry parameters of prism enclosure (simplified)
More...
#include <TOPGeoPrismEnclosure.h>
|
| 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.
|
|
double | getLength () const |
| Returns full length.
|
|
double | getBodyLength () const |
| Returns length w/o back and front plates.
|
|
double | getHeight () const |
| Returns height up to the side rails.
|
|
double | getAngle () const |
| Returns angle of side wall.
|
|
double | getBottomThickness () const |
| Returns bottom thickness.
|
|
double | getSideThickness () const |
| Returns side wall thickness.
|
|
double | getBackThickness () const |
| Returns back wall thickness.
|
|
double | getFrontThickness () const |
| Returns front wall thickness.
|
|
double | getExtensionThickness () const |
| Returns extension plate thickness.
|
|
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 prism enclosure 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.
|
|
|
std::string | m_name |
| geometry object name
|
|
Geometry parameters of prism enclosure (simplified)
Definition at line 23 of file TOPGeoPrismEnclosure.h.
◆ TOPGeoPrismEnclosure() [1/2]
◆ TOPGeoPrismEnclosure() [2/2]
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
-
length | length |
height | height up to the side rails |
angle | angle of side wall |
bottomThickness | bottom thickness |
sideThickness | side wall thickness |
backThickness | back wall thickness |
frontThickness | front wall thickness |
extensionThickness | extension plate thickness |
material | material name |
name | volume name in Geant |
Definition at line 45 of file TOPGeoPrismEnclosure.h.
60 {}
TOPGeoBase()
Default constructor.
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
◆ getAngle()
double getAngle |
( |
| ) |
const |
|
inline |
◆ getBackThickness()
double getBackThickness |
( |
| ) |
const |
|
inline |
Returns back wall thickness.
- Returns
- thickness
Definition at line 105 of file TOPGeoPrismEnclosure.h.
static double s_unit
conversion unit for length
◆ getBodyLength()
double getBodyLength |
( |
| ) |
const |
|
inline |
Returns length w/o back and front plates.
- Returns
- length
Definition at line 72 of file TOPGeoPrismEnclosure.h.
73 {
75 }
double getBackThickness() const
Returns back wall thickness.
double getFrontThickness() const
Returns front wall thickness.
double getLength() const
Returns full length.
◆ getBottomThickness()
double getBottomThickness |
( |
| ) |
const |
|
inline |
◆ getExtensionThickness()
double getExtensionThickness |
( |
| ) |
const |
|
inline |
◆ getFrontThickness()
double getFrontThickness |
( |
| ) |
const |
|
inline |
◆ getHeight()
double getHeight |
( |
| ) |
const |
|
inline |
◆ getLength()
double getLength |
( |
| ) |
const |
|
inline |
◆ getMaterial()
const std::string & getMaterial |
( |
| ) |
const |
|
inline |
◆ getName()
const std::string & getName |
( |
| ) |
const |
|
inlineinherited |
Returns object name.
- Returns
- object name
Definition at line 51 of file TOPGeoBase.h.
std::string m_name
geometry object name
◆ getSideThickness()
double getSideThickness |
( |
| ) |
const |
|
inline |
◆ setName()
void setName |
( |
const std::string & |
name | ) |
|
|
inlineinherited |
Sets object name.
- Parameters
-
Definition at line 45 of file TOPGeoBase.h.
◆ m_angle
◆ m_backThickness
float m_backThickness = 0 |
|
private |
◆ m_bottomThickness
float m_bottomThickness = 0 |
|
private |
◆ m_extensionThickness
float m_extensionThickness = 0 |
|
private |
◆ m_frontThickness
float m_frontThickness = 0 |
|
private |
◆ m_height
◆ m_length
◆ m_material
◆ m_name
◆ m_sideThickness
float m_sideThickness = 0 |
|
private |
The documentation for this class was generated from the following files: