Belle II Software development
|
Geometry parameters of a mirror segment. More...
#include <TOPGeoMirrorSegment.h>
Public Member Functions | |
TOPGeoMirrorSegment () | |
Default constructor. | |
TOPGeoMirrorSegment (double width, double thickness, double length, const std::string &material, const std::string &name="TOPMirrorSegment") | |
Useful constructor. | |
void | setRadius (double radius) |
Sets spherical mirror radius of curvature. | |
void | setCenterOfCurvature (double xc, double yc) |
Sets spherical mirror center of curvature. | |
void | setCoating (double thickness, const std::string &material, const GeoOpticalSurface &surface) |
Sets parameters of reflective coating. | |
double | getRadius () const |
Returns spherical mirror radius of curvature. | |
double | getOuterRadius () const |
Returns spherical mirror outer radius of curvature. | |
double | getXc () const |
Returns spherical mirror center of curvature in x. | |
double | getYc () const |
Returns spherical mirror center of curvature in y. | |
double | getZc () const |
Returns spherical mirror center of curvature in z (in local frame of this segment) | |
double | getCoatingThickness () const |
Returns reflective coating thickness. | |
const std::string & | getCoatingMaterial () const |
Returns reflective coating material. | |
const GeoOpticalSurface & | getCoatingSurface () const |
Returns reflective coating optical surface. | |
double | getMirrorReflectivity (double energy) const |
Returns mirror reflectivity at given photon energy. | |
bool | isConsistent () const override |
Check for consistency of data members. | |
void | print (const std::string &title="Mirror segment geometry parameters") const override |
Print the content of the class. | |
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. | |
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 | |
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 | |
Private Member Functions | |
ClassDefOverride (TOPGeoMirrorSegment, 1) | |
ClassDef. | |
Private Attributes | |
float | m_radius = 0 |
spherical mirror radius | |
float | m_xc = 0 |
spherical mirror center-of-curvature in x | |
float | m_yc = 0 |
spherical mirror center-of-curvature in y | |
float | m_coatingThickness = 0 |
reflective coating thickness | |
std::string | m_coatingMaterial |
reflective coating material | |
GeoOpticalSurface | m_coatingSurface |
reflective coating optical surface | |
Geometry parameters of a mirror segment.
Definition at line 22 of file TOPGeoMirrorSegment.h.
|
inline |
|
inline |
Useful constructor.
width | mirror segment width |
thickness | mirror segment thickness |
length | mirror segment length |
material | mirror segment material name |
name | object name |
Definition at line 39 of file TOPGeoMirrorSegment.h.
|
inlineinherited |
Returns angle of the delaminated surface.
Definition at line 149 of file TOPGeoBarSegment.h.
|
inlineinherited |
Returns fraction of the delaminated surface.
Definition at line 143 of file TOPGeoBarSegment.h.
|
inlineinherited |
Returns material name which represents broken glue.
Definition at line 155 of file TOPGeoBarSegment.h.
|
inline |
Returns reflective coating material.
Definition at line 117 of file TOPGeoMirrorSegment.h.
|
inline |
Returns reflective coating optical surface.
Definition at line 123 of file TOPGeoMirrorSegment.h.
|
inline |
Returns reflective coating thickness.
Definition at line 111 of file TOPGeoMirrorSegment.h.
|
inlineinherited |
Returns bar segment length including glue.
Definition at line 119 of file TOPGeoBarSegment.h.
|
inlineinherited |
Returns glue material name (glue on -z side)
Definition at line 137 of file TOPGeoBarSegment.h.
|
inlinevirtualinherited |
Returns glue thickness (glue on -z side)
Reimplemented in TOPGeoPrism.
Definition at line 131 of file TOPGeoBarSegment.h.
|
inlineinherited |
|
inlineinherited |
Returns bar segment material name.
Definition at line 125 of file TOPGeoBarSegment.h.
|
inline |
Returns mirror reflectivity at given photon energy.
energy | photon energy in [eV] |
Definition at line 130 of file TOPGeoMirrorSegment.h.
|
inlineinherited |
|
inline |
Returns spherical mirror outer radius of curvature.
Definition at line 87 of file TOPGeoMirrorSegment.h.
|
inline |
Returns spherical mirror radius of curvature.
Definition at line 81 of file TOPGeoMirrorSegment.h.
|
inlineinherited |
Returns serial number.
Definition at line 194 of file TOPGeoBarSegment.h.
|
inlineinherited |
Returns geant4 parameter describing surface roughness.
Definition at line 182 of file TOPGeoBarSegment.h.
|
inlineinherited |
Returns optical surface.
Definition at line 166 of file TOPGeoBarSegment.h.
|
inlineinherited |
Returns surface reflectivity at given photon energy.
energy | photon energy in [eV] |
Definition at line 173 of file TOPGeoBarSegment.h.
|
inlineinherited |
Returns bar segment thickness.
Definition at line 107 of file TOPGeoBarSegment.h.
|
inlineinherited |
Returns vendor's name.
Definition at line 188 of file TOPGeoBarSegment.h.
|
inlineinherited |
|
inline |
Returns spherical mirror center of curvature in x.
Definition at line 93 of file TOPGeoMirrorSegment.h.
|
inline |
Returns spherical mirror center of curvature in y.
Definition at line 99 of file TOPGeoMirrorSegment.h.
|
inline |
Sets spherical mirror center of curvature.
xc | x-coordinate |
yc | y-coordinate |
Definition at line 56 of file TOPGeoMirrorSegment.h.
|
inline |
Sets parameters of reflective coating.
thickness | coating thickness |
material | material name |
surface | optical surface properties |
Definition at line 68 of file TOPGeoMirrorSegment.h.
|
inlinevirtualinherited |
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.
|
inlinevirtualinherited |
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 |
Sets object name.
name | object name |
Definition at line 45 of file TOPGeoBase.h.
|
inline |
Sets spherical mirror radius of curvature.
radius | radius |
Definition at line 49 of file TOPGeoMirrorSegment.h.
|
inlineinherited |
Sets optical surface.
surface | optical surface |
sigmaAlpha | geant4 parameter for surface roughness |
Definition at line 80 of file TOPGeoBarSegment.h.
|
inlineinherited |
Sets vendor's name and serial number.
vendor | vendor's name |
serialNumber | serial number |
Definition at line 91 of file TOPGeoBarSegment.h.
|
protectedinherited |
angle of broken (delaminated) glue
Definition at line 231 of file TOPGeoBarSegment.h.
|
protectedinherited |
fraction of broken (delaminated) glue
Definition at line 230 of file TOPGeoBarSegment.h.
|
protectedinherited |
broken glue material name
Definition at line 232 of file TOPGeoBarSegment.h.
|
private |
reflective coating material
Definition at line 153 of file TOPGeoMirrorSegment.h.
|
private |
reflective coating optical surface
Definition at line 154 of file TOPGeoMirrorSegment.h.
|
private |
reflective coating thickness
Definition at line 152 of file TOPGeoMirrorSegment.h.
|
protectedinherited |
glue material name
Definition at line 227 of file TOPGeoBarSegment.h.
|
protectedinherited |
glue thickness
Definition at line 226 of file TOPGeoBarSegment.h.
|
protectedinherited |
bar segment length
Definition at line 224 of file TOPGeoBarSegment.h.
|
protectedinherited |
bar segment material name
Definition at line 225 of file TOPGeoBarSegment.h.
|
protectedinherited |
geometry object name
Definition at line 89 of file TOPGeoBase.h.
|
private |
spherical mirror radius
Definition at line 149 of file TOPGeoMirrorSegment.h.
|
protectedinherited |
serial number
Definition at line 234 of file TOPGeoBarSegment.h.
|
protectedinherited |
geant4 parameter for surface roughness
Definition at line 229 of file TOPGeoBarSegment.h.
|
protectedinherited |
optical surface
Definition at line 228 of file TOPGeoBarSegment.h.
|
protectedinherited |
bar segment thickness
Definition at line 223 of file TOPGeoBarSegment.h.
|
protectedinherited |
vendor's name
Definition at line 233 of file TOPGeoBarSegment.h.
|
protectedinherited |
bar segment width
Definition at line 222 of file TOPGeoBarSegment.h.
|
private |
spherical mirror center-of-curvature in x
Definition at line 150 of file TOPGeoMirrorSegment.h.
|
private |
spherical mirror center-of-curvature in y
Definition at line 151 of file TOPGeoMirrorSegment.h.