Belle II Software development
|
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. | |
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) | |
void | setBarSegment1 (const TOPGeoBarSegment &bar) |
Sets bar segment No.1 (forward bar) | |
void | setBarSegment2 (const TOPGeoBarSegment &bar) |
Sets bar segment No.2 (backward bar) | |
void | setMirrorSegment (const TOPGeoMirrorSegment &mirror) |
Sets mirror segment. | |
void | setPrism (const TOPGeoPrism &prism) |
Sets prism. | |
void | setPMTArray (const TOPGeoPMTArray &array) |
Sets PMT array. | |
void | setDecoupledPMT (unsigned pmtID) |
Sets PMT as optically decoupled. | |
void | generateDecoupledPMTs (double fraction) |
Generate randomly a fraction of PMT's to be optically decoupled. | |
void | setBrokenGlue (int glueID, double fraction, double angle, const std::string &material) |
Sets glue to be broken (delaminated) | |
void | setPeelOffRegions (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. | |
void | setPMTArrayDisplacement (const TOPGeoPMTArrayDisplacement &displ) |
Sets PMT array displacement. | |
void | setModuleDisplacement (const TOPGeoModuleDisplacement &displ) |
Sets module displacement. | |
int | getModuleID () const |
Returns module ID. | |
double | getRadius () const |
Returns radius of the bar central plane in Belle II frame. | |
double | getPhi () const |
Returns module azimuthal angle in Belle II frame. | |
double | getBackwardZ () const |
Returns the z position of prism-bar joint in Belle II frame. | |
unsigned | getModuleCNumber () const |
Returns module construction number (0 = ideal module) | |
const TOPGeoBarSegment & | getBarSegment1 () const |
Returns bar segment No.1 (forward bar) | |
const TOPGeoBarSegment & | getBarSegment2 () const |
Returns bar segment No.2 (backward bar) | |
const TOPGeoMirrorSegment & | getMirrorSegment () const |
Returns mirror segment. | |
const TOPGeoPrism & | getPrism () const |
Returns prism. | |
const TOPGeoPMTArray & | getPMTArray () const |
Returns PMT array. | |
const TOPGeoPMTArrayDisplacement & | getPMTArrayDisplacement () const |
Returns PMT array displacement. | |
const TOPGeoModuleDisplacement & | getModuleDisplacement () const |
Returns module displacement. | |
double | getBarLength () const |
Returns bar length (w/o prism) including glue joints. | |
double | getFullLength () const |
Returns full length (including prism, wavelenght filter and glue joints) | |
double | getForwardZ () const |
Returns the z position of the bar forward end in Belle II frame. | |
double | getBarThickness () const |
Returns average bar thickness (weigthed by segment lengths) | |
double | getBarWidth () const |
Returns average bar width (weigthed by segment lengths) | |
double | getSurfaceReflectivity (double energy) const |
Returns average surface reflectivity at given photon energy (weigthed by segment lengths) | |
double | getSigmaAlpha () const |
Returns average surface roughness parameter (weigthed by segment lengths) | |
double | getZc () const |
Returns z of bar center (w/o prism) in Belle II frame. | |
double | getInnerRadius () const |
Returns inner surface radius in Belle II frame. | |
const ROOT::Math::Transform3D & | getTransformation () const |
Returns transformation from internal (= nominal & displaced) to Belle II frame. | |
const ROOT::Math::Transform3D & | getTransformationNominal () const |
Returns transformation from nominal to Belle II frame. | |
ROOT::Math::XYZPoint | pointToLocal (const ROOT::Math::XYZPoint &point) const |
Transforms 3D point from Belle II to module internal (= nominal & displaced) frame. | |
ROOT::Math::XYZVector | momentumToLocal (const ROOT::Math::XYZVector &momentum) const |
Transforms momentum vector from Belle II to module internal (= nominal & displaced) frame. | |
ROOT::Math::XYZPoint | pointToGlobal (const ROOT::Math::XYZPoint &point) const |
Transforms 3D point from module internal (= nominal & displaced) frame to Belle II frame. | |
ROOT::Math::XYZVector | momentumToGlobal (const ROOT::Math::XYZVector &momentum) const |
Transforms momentum vector from module internal (= nominal & displaced) frame to Belle II frame. | |
ROOT::Math::XYZPoint | pointGlobalToNominal (const ROOT::Math::XYZPoint &point) const |
Transforms 3D point from Belle II to module nominal frame. | |
ROOT::Math::XYZVector | momentumGlobalToNominal (const ROOT::Math::XYZVector &momentum) const |
Transforms momentum vector from Belle II to module nominal frame. | |
ROOT::Math::XYZPoint | pointNominalToGlobal (const ROOT::Math::XYZPoint &point) const |
Transforms 3D point from module nominal frame to Belle II frame. | |
ROOT::Math::XYZVector | momentumNominalToGlobal (const ROOT::Math::XYZVector &momentum) const |
Transforms momentum vector from module nominal frame to Belle II frame. | |
bool | isConsistent () const override |
Check for consistency of data members. | |
void | print (const std::string &title="Module 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 | printUnderlined (const std::string &title) const |
Print the content of the class. | |
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 | |
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 | |
Geometry parameters of a module (optical components + positioning)
Definition at line 31 of file TOPGeoModule.h.
|
inline |
|
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 |
Sets object name.
name | object name |
Definition at line 45 of file TOPGeoBase.h.
|
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 |
Sets prism.
prism | prism geometry parameters |
Definition at line 96 of file TOPGeoModule.h.
|
private |
PMT array displacement.
Definition at line 429 of file TOPGeoModule.h.
|
private |
z position of prism-bar joint in Belle II frame
Definition at line 421 of file TOPGeoModule.h.
|
private |
bar segment 1 (forward bar)
Definition at line 424 of file TOPGeoModule.h.
|
private |
bar segment 2 (backward bar)
Definition at line 425 of file TOPGeoModule.h.
|
private |
mirror segment
Definition at line 426 of file TOPGeoModule.h.
|
private |
module construction number, 0 = ideal module
Definition at line 423 of file TOPGeoModule.h.
|
private |
module displacement
Definition at line 430 of file TOPGeoModule.h.
|
private |
module ID
Definition at line 418 of file TOPGeoModule.h.
|
protectedinherited |
geometry object name
Definition at line 89 of file TOPGeoBase.h.
|
private |
azimuthal angle in Belle II frame
Definition at line 420 of file TOPGeoModule.h.
|
private |
geometry parameters of PMT array
Definition at line 428 of file TOPGeoModule.h.
|
private |
prism
Definition at line 427 of file TOPGeoModule.h.
|
private |
radius of bar central plane in Belle II frame
Definition at line 419 of file TOPGeoModule.h.
|
mutableprivate |
cache for transformation from internal (= nominal & displaced) to Belle II frame
Definition at line 433 of file TOPGeoModule.h.
|
mutableprivate |
do not write out
cache for transformation from nominal to Belle II frame
Definition at line 435 of file TOPGeoModule.h.