![]() |
Belle II Software development
|
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. | |
| virtual void | setGlue (double thickness, const std::string &material) |
| Sets glue parameters (for glue on -z side) | |
| virtual void | setGlueDelamination (double fraction, double angle, const std::string &material) |
| Sets glue to be broken (delaminated) | |
| void | setSurface (const GeoOpticalSurface &surface, double sigmaAlpha) |
| Sets optical surface. | |
| void | setVendorData (const std::string &vendor, const std::string &serialNumber) |
| Sets vendor's name and serial number. | |
| double | getWidth () const |
| Returns bar segment width. | |
| double | getThickness () const |
| Returns bar segment thickness. | |
| double | getLength () const |
| Returns bar segment length. | |
| double | getFullLength () const |
| Returns bar segment length including glue. | |
| const std::string & | getMaterial () const |
| Returns bar segment material name. | |
| virtual double | getGlueThickness () const |
| Returns glue thickness (glue on -z side) | |
| const std::string & | getGlueMaterial () const |
| Returns glue material name (glue on -z side) | |
| double | getBrokenGlueFraction () const |
| Returns fraction of the delaminated surface. | |
| double | getBrokenGlueAngle () const |
| Returns angle of the delaminated surface. | |
| const std::string & | getBrokenGlueMaterial () const |
| Returns material name which represents broken glue. | |
| std::vector< std::pair< double, double > > | getBrokenGlueContour () const |
| Returns the x-y contour of broken glue. | |
| const GeoOpticalSurface & | getSurface () const |
| Returns optical surface. | |
| double | getSurfaceReflectivity (double energy) const |
| Returns surface reflectivity at given photon energy. | |
| double | getSigmaAlpha () const |
| Returns geant4 parameter describing surface roughness. | |
| const std::string & | getVendor () const |
| Returns vendor's name. | |
| const std::string & | getSerialNumber () const |
| Returns serial number. | |
| virtual bool | isConsistent () const override |
| Check for consistency of data members. | |
| virtual void | print (const std::string &title="Bar segment 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. | |
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. | |
| ClassDefOverride (TOPGeoBarSegment, 3) | |
| ClassDef. | |
| void | printUnderlined (const std::string &title) const |
| Print the content of the class. | |
| 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 (half-value) | |
| 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.
Note about sigmaAlpha: in order to keep the current payload revision usable (TOPGeometry, rev.18) but this parameter must be two times larger, from release-11 on the getter returns the stored value multiplied by two and the setter stores half the value read from the xml files (now containing two times larger sigmaAlpha).
Definition at line 32 of file TOPGeoBarSegment.h.
|
inline |
|
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 49 of file TOPGeoBarSegment.h.
|
inline |
Returns angle of the delaminated surface.
Definition at line 154 of file TOPGeoBarSegment.h.
|
inline |
Returns fraction of the delaminated surface.
Definition at line 148 of file TOPGeoBarSegment.h.
|
inline |
Returns material name which represents broken glue.
Definition at line 160 of file TOPGeoBarSegment.h.
|
inline |
Returns bar segment length including glue.
Definition at line 124 of file TOPGeoBarSegment.h.
|
inline |
Returns glue material name (glue on -z side)
Definition at line 142 of file TOPGeoBarSegment.h.
|
inlinevirtual |
Returns glue thickness (glue on -z side)
Reimplemented in TOPGeoPrism.
Definition at line 136 of file TOPGeoBarSegment.h.
|
inline |
Returns bar segment length.
Definition at line 118 of file TOPGeoBarSegment.h.
|
inline |
Returns bar segment material name.
Definition at line 130 of file TOPGeoBarSegment.h.
|
inlineinherited |
Returns object name.
Definition at line 51 of file TOPGeoBase.h.
|
inline |
Returns serial number.
Definition at line 200 of file TOPGeoBarSegment.h.
|
inline |
Returns geant4 parameter describing surface roughness.
Definition at line 188 of file TOPGeoBarSegment.h.
|
inline |
Returns optical surface.
Definition at line 171 of file TOPGeoBarSegment.h.
|
inline |
Returns surface reflectivity at given photon energy.
| energy | photon energy in [eV] |
Definition at line 178 of file TOPGeoBarSegment.h.
|
inline |
Returns bar segment thickness.
Definition at line 112 of file TOPGeoBarSegment.h.
|
inline |
Returns vendor's name.
Definition at line 194 of file TOPGeoBarSegment.h.
|
inline |
Returns bar segment width.
Definition at line 106 of file TOPGeoBarSegment.h.
|
inlinevirtual |
Sets glue parameters (for glue on -z side)
| thickness | glue thickness |
| material | glue material name |
Reimplemented in TOPGeoPrism.
Definition at line 60 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 72 of file TOPGeoBarSegment.h.
|
inlineinherited |
Sets object name.
| name | object name |
Definition at line 45 of file TOPGeoBase.h.
|
inline |
Sets optical surface.
| surface | optical surface |
| sigmaAlpha | geant4 parameter for surface roughness |
Definition at line 85 of file TOPGeoBarSegment.h.
|
inline |
Sets vendor's name and serial number.
| vendor | vendor's name |
| serialNumber | serial number |
Definition at line 96 of file TOPGeoBarSegment.h.
|
protected |
angle of broken (delaminated) glue
Definition at line 237 of file TOPGeoBarSegment.h.
|
protected |
fraction of broken (delaminated) glue
Definition at line 236 of file TOPGeoBarSegment.h.
|
protected |
broken glue material name
Definition at line 238 of file TOPGeoBarSegment.h.
|
protected |
glue material name
Definition at line 233 of file TOPGeoBarSegment.h.
|
protected |
glue thickness
Definition at line 232 of file TOPGeoBarSegment.h.
|
protected |
bar segment length
Definition at line 230 of file TOPGeoBarSegment.h.
|
protected |
bar segment material name
Definition at line 231 of file TOPGeoBarSegment.h.
|
protectedinherited |
geometry object name
Definition at line 89 of file TOPGeoBase.h.
|
protected |
serial number
Definition at line 240 of file TOPGeoBarSegment.h.
|
protected |
geant4 parameter for surface roughness (half-value)
Definition at line 235 of file TOPGeoBarSegment.h.
|
protected |
optical surface
Definition at line 234 of file TOPGeoBarSegment.h.
|
protected |
bar segment thickness
Definition at line 229 of file TOPGeoBarSegment.h.
|
protected |
vendor's name
Definition at line 239 of file TOPGeoBarSegment.h.
|
protected |
bar segment width
Definition at line 228 of file TOPGeoBarSegment.h.