![]() |
Belle II Software
release-08-02-05
|
Geometry parameters of a quartz bar segment. More...
#include <TOPGeoBarSegment.h>


Public Member Functions | |
| TOPGeoBarSegment () | |
| Default constructor. | |
| TOPGeoBarSegment (double width, double thickness, double length, const std::string &material, const std::string &name="TOPBarSegment") | |
| Useful constructor. More... | |
| virtual void | setGlue (double thickness, const std::string &material) |
| Sets glue parameters (for glue on -z side) More... | |
| virtual void | setGlueDelamination (double fraction, double angle, const std::string &material) |
| Sets glue to be broken (delaminated) More... | |
| void | setSurface (const GeoOpticalSurface &surface, double sigmaAlpha) |
| Sets optical surface. More... | |
| void | setVendorData (const std::string &vendor, const std::string &serialNumber) |
| Sets vendor's name and serial number. More... | |
| double | getWidth () const |
| Returns bar segment width. More... | |
| double | getThickness () const |
| Returns bar segment thickness. More... | |
| double | getLength () const |
| Returns bar segment length. More... | |
| double | getFullLength () const |
| Returns bar segment length including glue. More... | |
| const std::string & | getMaterial () const |
| Returns bar segment material name. More... | |
| virtual double | getGlueThickness () const |
| Returns glue thickness (glue on -z side) More... | |
| const std::string & | getGlueMaterial () const |
| Returns glue material name (glue on -z side) More... | |
| double | getBrokenGlueFraction () const |
| Returns fraction of the delaminated surface. More... | |
| double | getBrokenGlueAngle () const |
| Returns angle of the delaminated surface. More... | |
| const std::string & | getBrokenGlueMaterial () const |
| Returns material name which represents broken glue. More... | |
| std::vector< std::pair< double, double > > | getBrokenGlueContour () const |
| Returns the x-y contour of broken glue. | |
| const GeoOpticalSurface & | getSurface () const |
| Returns optical surface. More... | |
| double | getSurfaceReflectivity (double energy) const |
| Returns surface reflectivity at given photon energy. More... | |
| double | getSigmaAlpha () const |
| Returns geant4 parameter describing surface roughness. More... | |
| const std::string & | getVendor () const |
| Returns vendor's name. More... | |
| const std::string & | getSerialNumber () const |
| Returns serial number. More... | |
| virtual bool | isConsistent () const override |
| Check for consistency of data members. More... | |
| virtual void | print (const std::string &title="Bar segment 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 | constructContour (double A, double B, double fraction, double angle, std::vector< std::pair< double, double > > &contour) const |
| Construct a 2D contour. More... | |
| ClassDefOverride (TOPGeoBarSegment, 3) | |
| ClassDef. | |
| void | printUnderlined (const std::string &title) const |
| Print the content of the class. More... | |
| ClassDef (TOPGeoBase, 1) | |
| ClassDef. | |
Protected Attributes | |
| float | m_width = 0 |
| bar segment width | |
| float | m_thickness = 0 |
| bar segment thickness | |
| float | m_length = 0 |
| bar segment length | |
| std::string | m_material |
| bar segment material name | |
| float | m_glueThickness = 0 |
| glue thickness | |
| std::string | m_glueMaterial |
| glue material name | |
| GeoOpticalSurface | m_surface |
| optical surface | |
| float | m_sigmaAlpha = 0 |
| geant4 parameter for surface roughness | |
| float | m_brokenFraction = 0 |
| fraction of broken (delaminated) glue | |
| float | m_brokenAngle = 0 |
| angle of broken (delaminated) glue | |
| std::string | m_brokenGlueMaterial |
| broken glue material name | |
| std::string | m_vendor |
| vendor's name | |
| std::string | m_serialNumber |
| serial number | |
| 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 | |
Geometry parameters of a quartz bar segment.
Definition at line 27 of file TOPGeoBarSegment.h.
|
inline |
Useful constructor.
| width | bar segment width |
| thickness | bar segment thickness |
| length | bar segment length |
| material | bar segment material name |
| name | object name |
Definition at line 44 of file TOPGeoBarSegment.h.
|
inline |
Returns angle of the delaminated surface.
Definition at line 149 of file TOPGeoBarSegment.h.
|
inline |
Returns fraction of the delaminated surface.
Definition at line 143 of file TOPGeoBarSegment.h.
|
inline |
Returns material name which represents broken glue.
Definition at line 155 of file TOPGeoBarSegment.h.
|
inline |
Returns bar segment length including glue.
Definition at line 119 of file TOPGeoBarSegment.h.
|
inline |
Returns glue material name (glue on -z side)
Definition at line 137 of file TOPGeoBarSegment.h.
|
inlinevirtual |
Returns glue thickness (glue on -z side)
Reimplemented in TOPGeoPrism.
Definition at line 131 of file TOPGeoBarSegment.h.
|
inline |
|
inline |
Returns bar segment material name.
Definition at line 125 of file TOPGeoBarSegment.h.
|
inlineinherited |
|
inline |
|
inline |
Returns geant4 parameter describing surface roughness.
Definition at line 182 of file TOPGeoBarSegment.h.
|
inline |
|
inline |
Returns surface reflectivity at given photon energy.
| energy | photon energy in [eV] |
Definition at line 173 of file TOPGeoBarSegment.h.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Sets glue parameters (for glue on -z side)
| thickness | glue thickness |
| material | glue material name |
Reimplemented in TOPGeoPrism.
Definition at line 55 of file TOPGeoBarSegment.h.
|
inlinevirtual |
Sets glue to be broken (delaminated)
| fraction | fraction of the delaminated surface |
| angle | angle of the delaminated surface |
| material | material name to simulate the delaminated glue |
Reimplemented in TOPGeoPrism.
Definition at line 67 of file TOPGeoBarSegment.h.
|
inlineinherited |
|
inline |
Sets optical surface.
| surface | optical surface |
| sigmaAlpha | geant4 parameter for surface roughness |
Definition at line 80 of file TOPGeoBarSegment.h.
|
inline |
Sets vendor's name and serial number.
| vendor | vendor's name |
| serialNumber | serial number |
Definition at line 91 of file TOPGeoBarSegment.h.