![]() |
Belle II Software
release-08-02-04
|
Geometry parameters of a module (optical components + positioning) More...
#include <TOPGeoModule.h>


Public Member Functions | |
| TOPGeoModule () | |
| Default constructor. | |
| TOPGeoModule (int moduleID, double radius, double phi, double backwardZ, const std::string &name="TOPModule") | |
| Useful constructor. More... | |
| TOPGeoModule (const TOPGeoModule &module) | |
| Copy constructor. | |
| TOPGeoModule & | operator= (const TOPGeoModule &module) |
| Assignment operator. | |
| ~TOPGeoModule () | |
| Destructor. | |
| void | setModuleCNumber (unsigned moduleCNumber) |
| Sets module construction number (0 = ideal module = default) More... | |
| void | setBarSegment1 (const TOPGeoBarSegment &bar) |
| Sets bar segment No.1 (forward bar) More... | |
| void | setBarSegment2 (const TOPGeoBarSegment &bar) |
| Sets bar segment No.2 (backward bar) More... | |
| void | setMirrorSegment (const TOPGeoMirrorSegment &mirror) |
| Sets mirror segment. More... | |
| void | setPrism (const TOPGeoPrism &prism) |
| Sets prism. More... | |
| void | setPMTArray (const TOPGeoPMTArray &array) |
| Sets PMT array. More... | |
| void | setDecoupledPMT (unsigned pmtID) |
| Sets PMT as optically decoupled. More... | |
| void | generateDecoupledPMTs (double fraction) |
| Generate randomly a fraction of PMT's to be optically decoupled. More... | |
| void | setBrokenGlue (int glueID, double fraction, double angle, const std::string &material) |
| Sets glue to be broken (delaminated) More... | |
| void | setPeelOffRegions (double thickness, const std::string &material) |
| Sets parameters of the peel-off cookie volumes. More... | |
| void | appendPeelOffRegion (unsigned ID, double fraction, double angle) |
| Appends peel-off cookie region. More... | |
| void | setPMTArrayDisplacement (const TOPGeoPMTArrayDisplacement &displ) |
| Sets PMT array displacement. More... | |
| void | setModuleDisplacement (const TOPGeoModuleDisplacement &displ) |
| Sets module displacement. More... | |
| int | getModuleID () const |
| Returns module ID. More... | |
| double | getRadius () const |
| Returns radius of the bar central plane in Belle II frame. More... | |
| double | getPhi () const |
| Returns module azimuthal angle in Belle II frame. More... | |
| double | getBackwardZ () const |
| Returns the z position of prism-bar joint in Belle II frame. More... | |
| unsigned | getModuleCNumber () const |
| Returns module construction number (0 = ideal module) More... | |
| const TOPGeoBarSegment & | getBarSegment1 () const |
| Returns bar segment No.1 (forward bar) More... | |
| const TOPGeoBarSegment & | getBarSegment2 () const |
| Returns bar segment No.2 (backward bar) More... | |
| const TOPGeoMirrorSegment & | getMirrorSegment () const |
| Returns mirror segment. More... | |
| const TOPGeoPrism & | getPrism () const |
| Returns prism. More... | |
| const TOPGeoPMTArray & | getPMTArray () const |
| Returns PMT array. More... | |
| const TOPGeoPMTArrayDisplacement & | getPMTArrayDisplacement () const |
| Returns PMT array displacement. More... | |
| const TOPGeoModuleDisplacement & | getModuleDisplacement () const |
| Returns module displacement. More... | |
| double | getBarLength () const |
| Returns bar length (w/o prism) including glue joints. More... | |
| double | getFullLength () const |
| Returns full length (including prism, wavelenght filter and glue joints) More... | |
| double | getForwardZ () const |
| Returns the z position of the bar forward end in Belle II frame. More... | |
| double | getBarThickness () const |
| Returns average bar thickness (weigthed by segment lengths) More... | |
| double | getBarWidth () const |
| Returns average bar width (weigthed by segment lengths) More... | |
| double | getSurfaceReflectivity (double energy) const |
| Returns average surface reflectivity at given photon energy (weigthed by segment lengths) More... | |
| double | getSigmaAlpha () const |
| Returns average surface roughness parameter (weigthed by segment lengths) More... | |
| double | getZc () const |
| Returns z of bar center (w/o prism) in Belle II frame. More... | |
| double | getInnerRadius () const |
| Returns inner surface radius in Belle II frame. More... | |
| const ROOT::Math::Transform3D & | getTransformation () const |
| Returns transformation from internal (= nominal & displaced) to Belle II frame. More... | |
| const ROOT::Math::Transform3D & | getTransformationNominal () const |
| Returns transformation from nominal to Belle II frame. More... | |
| ROOT::Math::XYZPoint | pointToLocal (const ROOT::Math::XYZPoint &point) const |
| Transforms 3D point from Belle II to module internal (= nominal & displaced) frame. More... | |
| ROOT::Math::XYZVector | momentumToLocal (const ROOT::Math::XYZVector &momentum) const |
| Transforms momentum vector from Belle II to module internal (= nominal & displaced) frame. More... | |
| ROOT::Math::XYZPoint | pointToGlobal (const ROOT::Math::XYZPoint &point) const |
| Transforms 3D point from module internal (= nominal & displaced) frame to Belle II frame. More... | |
| ROOT::Math::XYZVector | momentumToGlobal (const ROOT::Math::XYZVector &momentum) const |
| Transforms momentum vector from module internal (= nominal & displaced) frame to Belle II frame. More... | |
| ROOT::Math::XYZPoint | pointGlobalToNominal (const ROOT::Math::XYZPoint &point) const |
| Transforms 3D point from Belle II to module nominal frame. More... | |
| ROOT::Math::XYZVector | momentumGlobalToNominal (const ROOT::Math::XYZVector &momentum) const |
| Transforms momentum vector from Belle II to module nominal frame. More... | |
| ROOT::Math::XYZPoint | pointNominalToGlobal (const ROOT::Math::XYZPoint &point) const |
| Transforms 3D point from module nominal frame to Belle II frame. More... | |
| ROOT::Math::XYZVector | momentumNominalToGlobal (const ROOT::Math::XYZVector &momentum) const |
| Transforms momentum vector from module nominal frame to Belle II frame. More... | |
| bool | isConsistent () const override |
| Check for consistency of data members. More... | |
| void | print (const std::string &title="Module 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 | printUnderlined (const std::string &title) const |
| Print the content of the class. More... | |
| ClassDef (TOPGeoBase, 1) | |
| ClassDef. | |
Protected Attributes | |
| 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 | setTransformation () const |
| Sets transformation cache. | |
| ClassDefOverride (TOPGeoModule, 3) | |
| do not write out More... | |
Private Attributes | |
| int | m_moduleID = 0 |
| module ID | |
| float | m_radius = 0 |
| radius of bar central plane in Belle II frame | |
| float | m_phi = 0 |
| azimuthal angle in Belle II frame | |
| float | m_backwardZ = 0 |
| z position of prism-bar joint in Belle II frame | |
| unsigned | m_moduleCNumber = 0 |
| module construction number, 0 = ideal module | |
| TOPGeoBarSegment | m_bar1 |
| bar segment 1 (forward bar) | |
| TOPGeoBarSegment | m_bar2 |
| bar segment 2 (backward bar) | |
| TOPGeoMirrorSegment | m_mirror |
| mirror segment | |
| TOPGeoPrism | m_prism |
| prism | |
| TOPGeoPMTArray | m_pmtArray |
| geometry parameters of PMT array | |
| TOPGeoPMTArrayDisplacement | m_arrayDisplacement |
| PMT array displacement. | |
| TOPGeoModuleDisplacement | m_moduleDisplacement |
| module displacement | |
| ROOT::Math::Transform3D * | m_transform = 0 |
| cache for transformation from internal (= nominal & displaced) to Belle II frame | |
| ROOT::Math::Transform3D * | m_transformNominal = 0 |
| do not write out More... | |
Geometry parameters of a module (optical components + positioning)
Definition at line 31 of file TOPGeoModule.h.
|
inline |
Useful constructor.
| moduleID | module ID |
| radius | radius of the bar central plane in Belle II frame |
| phi | azimuthal angle in Belle II frame |
| backwardZ | z position of prism-bar joint in Belle II frame |
| name | object name |
Definition at line 48 of file TOPGeoModule.h.
|
inline |
Appends peel-off cookie region.
| ID | region ID (1-based) |
| fraction | fraction of the area |
| angle | angle of the area |
Definition at line 142 of file TOPGeoModule.h.
|
private |
do not write out
ClassDef
|
inline |
Generate randomly a fraction of PMT's to be optically decoupled.
| fraction | decoupled fraction |
Definition at line 114 of file TOPGeoModule.h.
|
inline |
Returns the z position of prism-bar joint in Belle II frame.
Definition at line 188 of file TOPGeoModule.h.
|
inline |
Returns bar length (w/o prism) including glue joints.
Definition at line 248 of file TOPGeoModule.h.
|
inline |
Returns bar segment No.1 (forward bar)
Definition at line 200 of file TOPGeoModule.h.
|
inline |
Returns bar segment No.2 (backward bar)
Definition at line 206 of file TOPGeoModule.h.
|
inline |
Returns average bar thickness (weigthed by segment lengths)
Definition at line 269 of file TOPGeoModule.h.
|
inline |
Returns average bar width (weigthed by segment lengths)
Definition at line 280 of file TOPGeoModule.h.
|
inline |
Returns the z position of the bar forward end in Belle II frame.
Definition at line 263 of file TOPGeoModule.h.
|
inline |
Returns full length (including prism, wavelenght filter and glue joints)
Definition at line 257 of file TOPGeoModule.h.
|
inline |
Returns inner surface radius in Belle II frame.
Definition at line 320 of file TOPGeoModule.h.
|
inline |
Returns mirror segment.
Definition at line 212 of file TOPGeoModule.h.
|
inline |
Returns module construction number (0 = ideal module)
Definition at line 194 of file TOPGeoModule.h.
|
inline |
Returns module displacement.
Definition at line 239 of file TOPGeoModule.h.
|
inline |
|
inlineinherited |
|
inline |
Returns module azimuthal angle in Belle II frame.
Definition at line 182 of file TOPGeoModule.h.
|
inline |
Returns PMT array.
Definition at line 224 of file TOPGeoModule.h.
|
inline |
Returns PMT array displacement.
Definition at line 230 of file TOPGeoModule.h.
|
inline |
|
inline |
Returns radius of the bar central plane in Belle II frame.
Definition at line 176 of file TOPGeoModule.h.
|
inline |
Returns average surface roughness parameter (weigthed by segment lengths)
Definition at line 303 of file TOPGeoModule.h.
|
inline |
Returns average surface reflectivity at given photon energy (weigthed by segment lengths)
| energy | photon energy in [eV] |
Definition at line 292 of file TOPGeoModule.h.
|
inline |
Returns transformation from internal (= nominal & displaced) to Belle II frame.
Definition at line 326 of file TOPGeoModule.h.
|
inline |
Returns transformation from nominal to Belle II frame.
Definition at line 336 of file TOPGeoModule.h.
|
inline |
Returns z of bar center (w/o prism) in Belle II frame.
Definition at line 314 of file TOPGeoModule.h.
|
inline |
Sets bar segment No.1 (forward bar)
| bar | segment No.1 geometry parameters |
Definition at line 78 of file TOPGeoModule.h.
|
inline |
Sets bar segment No.2 (backward bar)
| bar | segment No.2 geometry parameters |
Definition at line 84 of file TOPGeoModule.h.
|
inline |
Sets PMT as optically decoupled.
| pmtID | ID of PMT to be set as decoupled (1-based) |
Definition at line 108 of file TOPGeoModule.h.
|
inline |
Sets mirror segment.
| mirror | mirror segment geometry parameters |
Definition at line 90 of file TOPGeoModule.h.
|
inline |
Sets module construction number (0 = ideal module = default)
| moduleCNumber | construction number |
Definition at line 72 of file TOPGeoModule.h.
|
inline |
Sets module displacement.
| displ | module displacement parameters |
Definition at line 161 of file TOPGeoModule.h.
|
inlineinherited |
|
inline |
Sets PMT array.
| array | PMT array geometry parameters |
Definition at line 102 of file TOPGeoModule.h.
|
inline |
Sets PMT array displacement.
| displ | PMT array displacement parameters |
Definition at line 152 of file TOPGeoModule.h.
|
inline |
|
mutableprivate |
do not write out
cache for transformation from nominal to Belle II frame
Definition at line 435 of file TOPGeoModule.h.