Belle II Software development
|
Geometry parameters of prism. More...
#include <TOPGeoPrism.h>
Classes | |
struct | PeelOffRegion |
Parameters of peel-off cookie region (corresponds to 2x2 PMT's) More... | |
struct | UnfoldedWindow |
Unfolded prism exit window. More... | |
Public Member Functions | |
TOPGeoPrism () | |
Default constructor. | |
TOPGeoPrism (double width, double thickness, double length, double exitThickness, double flatLength, const std::string &material, const std::string &name="TOPPrism_") | |
Useful constructor. | |
void | setAngle (double angle) |
Recalculates flatLength according to given prism angle. | |
void | setPeelOffRegions (double size, double offset, double thickness, const std::string &material) |
Sets parameters of the peel-off cookie volumes. | |
void | appendPeelOffRegion (unsigned ID, double fraction, double angle) |
Appends peel-off cookie region. | |
double | getExitThickness () const |
Returns prism thickness at PMT side. | |
double | getFlatLength () const |
Returns the length of a flat surface at prism bottom. | |
double | getFullFlatLength () const |
Returns the length of a flat surface at prism bottom including filter. | |
double | getAngle () const |
Returns prism angle. | |
double | getFilterThickness () const |
Returns wavelength filter thickness (filter on -z side). | |
const std::string & | getFilterMaterial () const |
Returns wavelength filter material name (filter on -z side) For backward compatibility, since now the filter is part of TOPGeoPMTArray. | |
double | getGlueThickness () const override |
Returns glue thickness (no glue on -z side) | |
double | getPeelOffSize () const |
Returns cookie size in x (corresponding to 2x2 PMT) | |
double | getPeelOffThickness () const |
Returns peel-off thickness. | |
const std::string & | getPeelOffMaterial () const |
Returns peel-off material. | |
const std::vector< PeelOffRegion > & | getPeelOffRegions () const |
Returns peel-off cookie regions. | |
double | getPeelOffCenter (const PeelOffRegion ®ion) const |
Returns peel-off offset in x of the given region. | |
std::vector< std::pair< double, double > > | getPeelOffContour (const PeelOffRegion ®ion) const |
Returns the x-y contour of the peel-off region. | |
const std::vector< UnfoldedWindow > & | getUnfoldedWindows () const |
Returns unfolded exit windows. | |
int | getK0 () const |
Returns index of true window in a vector of unfolded exit windows. | |
bool | isConsistent () const override |
Check for consistency of data members. | |
void | print (const std::string &title="Prism geometry parameters") const override |
Print the content of the class. | |
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. | |
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 | |
void | setGlue (double, const std::string &) override |
Disable setting the glue, since there is none. | |
void | setGlueDelamination (double, double, const std::string &) override |
Disable setting the glue delamination, since there is no glue. | |
void | unfold () const |
Unfold prism exit window. | |
void | reflect (const ROOT::Math::XYVector *points, const ROOT::Math::XYVector *normals, const ROOT::Math::XYVector &orig, const ROOT::Math::XYVector &surf, const ROOT::Math::XYVector &norm, const ROOT::Math::XYVector &slanted, int k, std::vector< UnfoldedWindow > &result) const |
Do unfolding. | |
ClassDefOverride (TOPGeoPrism, 2) | |
do not write out | |
Private Attributes | |
float | m_exitThickness = 0 |
thickness at PMT side | |
float | m_flatLength = 0 |
length of the flat part at the bottom | |
float | m_peelOffSize = 0 |
size in x of peel-off volume | |
float | m_peelOffOffset = 0 |
offset in x of the peel-off volume ID = 1 | |
float | m_peelOffThickness = 0 |
thickness of peel-off volume | |
std::string | m_peelOffMaterial |
material name of peel-off volume | |
std::vector< PeelOffRegion > | m_peelOffRegions |
peel-off regions | |
std::vector< UnfoldedWindow > | m_unfoldedWindows |
cache for unfolded prism exit windows | |
int | m_k0 = 0 |
do not write out | |
Geometry parameters of prism.
Definition at line 27 of file TOPGeoPrism.h.
|
inline |
|
inline |
Useful constructor.
width | prism width |
thickness | thickness at bar side |
length | prism length |
exitThickness | thickness at PMT side |
flatLength | length of the flat part at the bottom |
material | prism material name |
name | object name |
Definition at line 81 of file TOPGeoPrism.h.
|
private |
do not write out
ClassDef
|
inline |
Returns prism angle.
Definition at line 144 of file TOPGeoPrism.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 prism thickness at PMT side.
Definition at line 126 of file TOPGeoPrism.h.
|
inline |
Returns wavelength filter material name (filter on -z side) For backward compatibility, since now the filter is part of TOPGeoPMTArray.
Definition at line 161 of file TOPGeoPrism.h.
|
inline |
Returns wavelength filter thickness (filter on -z side).
For backward compatibility, since now the filter is part of TOPGeoPMTArray
Definition at line 154 of file TOPGeoPrism.h.
|
inline |
Returns the length of a flat surface at prism bottom.
Definition at line 132 of file TOPGeoPrism.h.
|
inline |
Returns the length of a flat surface at prism bottom including filter.
Definition at line 138 of file TOPGeoPrism.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.
|
inlineoverridevirtual |
Returns glue thickness (no glue on -z side)
Reimplemented from TOPGeoBarSegment.
Definition at line 167 of file TOPGeoPrism.h.
|
inline |
Returns index of true window in a vector of unfolded exit windows.
Definition at line 225 of file TOPGeoPrism.h.
|
inlineinherited |
|
inlineinherited |
Returns bar segment material name.
Definition at line 125 of file TOPGeoBarSegment.h.
|
inlineinherited |
|
inline |
Returns peel-off offset in x of the given region.
region | peel-off region |
Definition at line 198 of file TOPGeoPrism.h.
|
inline |
Returns peel-off material.
Definition at line 185 of file TOPGeoPrism.h.
|
inline |
Returns peel-off cookie regions.
Definition at line 191 of file TOPGeoPrism.h.
|
inline |
Returns cookie size in x (corresponding to 2x2 PMT)
Definition at line 173 of file TOPGeoPrism.h.
|
inline |
Returns peel-off thickness.
Definition at line 179 of file TOPGeoPrism.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 |
|
inline |
Returns unfolded exit windows.
Exit window position is defined where the slanted surface is cutted off.
Definition at line 215 of file TOPGeoPrism.h.
|
inlineinherited |
Returns vendor's name.
Definition at line 188 of file TOPGeoBarSegment.h.
|
inlineinherited |
|
inline |
Recalculates flatLength according to given prism angle.
angle | prism angle |
Definition at line 93 of file TOPGeoPrism.h.
|
inlineoverrideprivatevirtual |
Disable setting the glue, since there is none.
Reimplemented from TOPGeoBarSegment.
Definition at line 249 of file TOPGeoPrism.h.
|
inlineoverrideprivatevirtual |
Disable setting the glue delamination, since there is no glue.
Reimplemented from TOPGeoBarSegment.
Definition at line 254 of file TOPGeoPrism.h.
|
inlineinherited |
Sets object name.
name | object name |
Definition at line 45 of file TOPGeoBase.h.
|
inline |
Sets parameters of the peel-off cookie volumes.
size | volume size in x |
offset | offset in x of the center of volume ID = 1 |
thickness | volume thickness |
material | material name |
Definition at line 105 of file TOPGeoPrism.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 |
thickness at PMT side
Definition at line 277 of file TOPGeoPrism.h.
|
private |
length of the flat part at the bottom
Definition at line 278 of file TOPGeoPrism.h.
|
protectedinherited |
glue material name
Definition at line 227 of file TOPGeoBarSegment.h.
|
protectedinherited |
glue thickness
Definition at line 226 of file TOPGeoBarSegment.h.
|
mutableprivate |
do not write out
cache for the index of true window in unfolded prism exit windows
Definition at line 289 of file TOPGeoPrism.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 |
material name of peel-off volume
Definition at line 283 of file TOPGeoPrism.h.
|
private |
offset in x of the peel-off volume ID = 1
Definition at line 281 of file TOPGeoPrism.h.
|
private |
peel-off regions
Definition at line 284 of file TOPGeoPrism.h.
|
private |
size in x of peel-off volume
Definition at line 280 of file TOPGeoPrism.h.
|
private |
thickness of peel-off volume
Definition at line 282 of file TOPGeoPrism.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.
|
mutableprivate |
cache for unfolded prism exit windows
Definition at line 287 of file TOPGeoPrism.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.