Belle II Software development
|
Geometry parameters of ARICH photon detector plane. More...
#include <ARICHGeoDetectorPlane.h>
Public Member Functions | |
ARICHGeoDetectorPlane () | |
Default constructor. | |
bool | isConsistent () const override |
Check if parameters are consistent. | |
void | print (const std::string &title="Detector plane parameters") const override |
Print the content of the class. | |
void | setPlacement (double x, double y, double z, double rx, double ry, double rz) |
Set detector plane positioning within ARICH local volume. | |
void | addSupportPlate (double inR, double outR, double thick, const std::string &material) |
Set parameters of the support plate. | |
void | setModuleHoleSize (double hsize) |
Set size of module hole in support plate. | |
void | setSupportBackWallHeight (double h) |
Set height of the aluminum walls between modules on the electronics side of aluminum support plate. | |
void | setSupportBackWallThickness (double d) |
Set thickness of the aluminum walls between modules on the electronics side of the aluminum support plate. | |
void | setSupportZPosition (double zPosition) |
Set Z position of the aluminum support plate (start Z). | |
void | setRingPar (const std::vector< std::pair< double, double > > &ringPar) |
Set parameters of module slot rings (r of center of slots in ring, phi (angle) distance between module slots). | |
ROOT::Math::XYZVector | getPosition () const |
Get center point. | |
ROOT::Math::Rotation3D | getRotation () const |
Get rotation matrix. | |
double | getRotationX () const |
Get angle of rotation around X axis. | |
double | getRotationY () const |
Get angle of rotation around Y axis. | |
double | getRotationZ () const |
Get angle of rotation around Z axis. | |
double | getSupportInnerR () const |
Get support plate inner radius. | |
double | getSupportOuterR () const |
Get support plate outer radius. | |
double | getSupportThickness () const |
Get support plate thickness. | |
double | getSupportZPosition () const |
Get Z position of support plate (start point in Z). | |
double | getModuleHoleSize () const |
Get size of module hole in support plate. | |
double | getSupportBackWallHeight () const |
Get height of the aluminum walls between modules on the electronics side of aluminum support plate. | |
double | getSupportBackWallThickness () const |
Get thickness of aluminum walls between modules on the electronics side of aluminum support plate. | |
const std::string & | getSupportMaterial () const |
Get material of support plate. | |
double | getRingR (unsigned iRing) const |
Get radius of i-th module slot ring (radius of center point). | |
double | getRingDPhi (unsigned iRing) const |
Get phi (angle) distance between module slots in i-th ring. | |
double | getSlotR (unsigned modID) const |
Get radial position of module with given module ID number. | |
double | getSlotPhi (unsigned modID) const |
Get phi (angle) position of module with given module ID number. | |
unsigned | getNSlots () const |
Get total number of module slots. | |
unsigned | getNRings () const |
Get number of module slot rings. | |
unsigned | getSlotRing (unsigned slotID) const |
Get ring number of slot with slot ID. | |
unsigned | pointSlotID (double x, double y) const |
Get slot ID based on x-y coordinates. | |
unsigned | getSlotIDFromSRF (unsigned sector, unsigned ring, unsigned azimuth) const |
Get slot ID based on sector, ring, and azimuth. | |
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. | |
virtual void | printPlacement (double x, double y, double z, double rx, double ry, double rz) const |
Print volume positioning parameters. | |
Protected Member Functions | |
ClassDef (ARICHGeoBase, 2) | |
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 | |
ClassDefOverride (ARICHGeoDetectorPlane, 1) | |
ClassDef. | |
Private Attributes | |
std::vector< std::pair< double, double > > | m_ringPar |
parameters of module rings (radius, dPhi) | |
std::vector< std::pair< double, double > > | m_slotPar |
parameters of all module slots (radius, phi) | |
double | m_x = 0 |
x position in local ARICH volume | |
double | m_y = 0 |
y position in local ARICH volume | |
double | m_z |
z position in local ARICH volume (position of center of detector plane tube, with Z length of: module height) | |
double | m_rx = 0 |
rotation around x axis | |
double | m_ry = 0 |
rotation around y axis | |
double | m_rz = 0 |
rotation around z axis | |
std::string | m_supportMaterial |
support structure material | |
double | m_innerR = 0 |
inner radius of support plate | |
double | m_outerR = 0 |
outer radius of support plate | |
double | m_thickness = 0 |
thickness of support plate | |
double | m_moduleHoleSize = 0 |
size of module hole in support plate | |
double | m_supportBackWallHeight = 0 |
height of aluminum walls on the back side (electronics side) of support plate | |
double | m_supportBackWallThickness = 0 |
< thickness of aluminum walls on the back side (electronics side) of support plate | |
double | m_supportZPosition |
Z position of support plate (position of center of support tube, with Z length of: support plate thickness + support back wall height) | |
unsigned | m_nRings = 0 |
number of HAPD module rings | |
unsigned | m_nSlots = 0 |
number of HAPD module slots | |
Geometry parameters of ARICH photon detector plane.
Definition at line 30 of file ARICHGeoDetectorPlane.h.
|
inline |
|
inline |
Set parameters of the support plate.
[in] | inR | Tube inner radius. |
[in] | outR | Tube outer radius. |
[in] | thick | Tube length. |
[in] | material | Tube material. |
Definition at line 71 of file ARICHGeoDetectorPlane.h.
|
inline |
Get size of module hole in support plate.
Definition at line 181 of file ARICHGeoDetectorPlane.h.
|
inlineinherited |
|
inline |
Get number of module slot rings.
Definition at line 241 of file ARICHGeoDetectorPlane.h.
|
inline |
Get total number of module slots.
Definition at line 235 of file ARICHGeoDetectorPlane.h.
|
inline |
Get center point.
Definition at line 119 of file ARICHGeoDetectorPlane.h.
|
inline |
Get phi (angle) distance between module slots in i-th ring.
[in] | iRing | Module slot ring number. |
Definition at line 215 of file ARICHGeoDetectorPlane.h.
|
inline |
Get radius of i-th module slot ring (radius of center point).
[in] | iRing | Module slot ring number. |
Definition at line 208 of file ARICHGeoDetectorPlane.h.
|
inline |
Get rotation matrix.
Definition at line 125 of file ARICHGeoDetectorPlane.h.
|
inline |
Get angle of rotation around X axis.
Definition at line 139 of file ARICHGeoDetectorPlane.h.
|
inline |
Get angle of rotation around Y axis.
Definition at line 145 of file ARICHGeoDetectorPlane.h.
|
inline |
Get angle of rotation around Z axis.
Definition at line 151 of file ARICHGeoDetectorPlane.h.
unsigned getSlotIDFromSRF | ( | unsigned | sector, |
unsigned | ring, | ||
unsigned | azimuth | ||
) | const |
Get slot ID based on sector, ring, and azimuth.
sector | sector |
ring | ring |
azimuth | azimuth |
Definition at line 81 of file ARICHGeoDetectorPlane.cc.
|
inline |
Get phi (angle) position of module with given module ID number.
[in] | modID | Module ID number. |
Definition at line 229 of file ARICHGeoDetectorPlane.h.
|
inline |
Get radial position of module with given module ID number.
[in] | modID | Module ID number. |
Definition at line 222 of file ARICHGeoDetectorPlane.h.
unsigned getSlotRing | ( | unsigned | slotID | ) | const |
Get ring number of slot with slot ID.
[in] | slotID | slot ID. |
Definition at line 33 of file ARICHGeoDetectorPlane.cc.
|
inline |
Get height of the aluminum walls between modules on the electronics side of aluminum support plate.
Definition at line 188 of file ARICHGeoDetectorPlane.h.
|
inline |
Get thickness of aluminum walls between modules on the electronics side of aluminum support plate.
Definition at line 195 of file ARICHGeoDetectorPlane.h.
|
inline |
Get support plate inner radius.
Definition at line 157 of file ARICHGeoDetectorPlane.h.
|
inline |
Get material of support plate.
Definition at line 201 of file ARICHGeoDetectorPlane.h.
|
inline |
Get support plate outer radius.
Definition at line 163 of file ARICHGeoDetectorPlane.h.
|
inline |
Get support plate thickness.
Definition at line 169 of file ARICHGeoDetectorPlane.h.
|
inline |
Get Z position of support plate (start point in Z).
Definition at line 175 of file ARICHGeoDetectorPlane.h.
|
overridevirtual |
Check if parameters are consistent.
Reimplemented from ARICHGeoBase.
Definition at line 69 of file ARICHGeoDetectorPlane.cc.
unsigned pointSlotID | ( | double | x, |
double | y | ||
) | const |
Get slot ID based on x-y coordinates.
x | x-coordinate of point |
y | y-coordinate of point |
Definition at line 48 of file ARICHGeoDetectorPlane.cc.
|
overridevirtual |
Print the content of the class.
[in] | title | Title to be printed. |
Reimplemented from ARICHGeoBase.
Definition at line 97 of file ARICHGeoDetectorPlane.cc.
|
virtualinherited |
Print volume positioning parameters.
x | x position |
y | y position |
z | z position |
rx | rotation around x-axis |
ry | rotation around y-axis |
rz | rotation around z-axis |
Definition at line 25 of file ARICHGeoBase.cc.
|
virtualinherited |
Print the content of optical surface.
surface | optical surface parameters |
Definition at line 32 of file ARICHGeoBase.cc.
|
inline |
Set size of module hole in support plate.
[in] | hsize | Hole size. |
Definition at line 83 of file ARICHGeoDetectorPlane.h.
|
inlineinherited |
Sets object name.
name | object name |
Definition at line 43 of file ARICHGeoBase.h.
|
inline |
Set detector plane positioning within ARICH local volume.
[in] | x | X position. |
[in] | y | Y position. |
[in] | z | Z position. |
[in] | rx | Rotation around x-axis. |
[in] | ry | Rotation around y-axis. |
[in] | rz | Rotation around z-axis. |
Definition at line 62 of file ARICHGeoDetectorPlane.h.
void setRingPar | ( | const std::vector< std::pair< double, double > > & | ringPar | ) |
Set parameters of module slot rings (r of center of slots in ring, phi (angle) distance between module slots).
[in] | ringPar | Vector of module slot ring radiuses and phi (angle) distance between module slots in ring. |
Definition at line 16 of file ARICHGeoDetectorPlane.cc.
|
inline |
Set height of the aluminum walls between modules on the electronics side of aluminum support plate.
[in] | h | Wall height. |
Definition at line 90 of file ARICHGeoDetectorPlane.h.
|
inline |
Set thickness of the aluminum walls between modules on the electronics side of the aluminum support plate.
[in] | d | Wall thickness. |
Definition at line 97 of file ARICHGeoDetectorPlane.h.
|
inline |
Set Z position of the aluminum support plate (start Z).
[in] | zPosition | Z position of support plate. |
Definition at line 103 of file ARICHGeoDetectorPlane.h.
|
private |
inner radius of support plate
Definition at line 286 of file ARICHGeoDetectorPlane.h.
|
private |
size of module hole in support plate
Definition at line 289 of file ARICHGeoDetectorPlane.h.
|
protectedinherited |
geometry object name
Definition at line 82 of file ARICHGeoBase.h.
|
private |
number of HAPD module rings
Definition at line 296 of file ARICHGeoDetectorPlane.h.
|
private |
number of HAPD module slots
Definition at line 297 of file ARICHGeoDetectorPlane.h.
|
private |
outer radius of support plate
Definition at line 287 of file ARICHGeoDetectorPlane.h.
|
private |
parameters of module rings (radius, dPhi)
Definition at line 269 of file ARICHGeoDetectorPlane.h.
|
private |
rotation around x axis
Definition at line 280 of file ARICHGeoDetectorPlane.h.
|
private |
rotation around y axis
Definition at line 281 of file ARICHGeoDetectorPlane.h.
|
private |
rotation around z axis
Definition at line 282 of file ARICHGeoDetectorPlane.h.
|
private |
parameters of all module slots (radius, phi)
Definition at line 271 of file ARICHGeoDetectorPlane.h.
|
private |
height of aluminum walls on the back side (electronics side) of support plate
Definition at line 290 of file ARICHGeoDetectorPlane.h.
|
private |
< thickness of aluminum walls on the back side (electronics side) of support plate
Definition at line 291 of file ARICHGeoDetectorPlane.h.
|
private |
support structure material
Definition at line 285 of file ARICHGeoDetectorPlane.h.
|
private |
Z position of support plate (position of center of support tube, with Z length of: support plate thickness + support back wall height)
Definition at line 293 of file ARICHGeoDetectorPlane.h.
|
private |
thickness of support plate
Definition at line 288 of file ARICHGeoDetectorPlane.h.
|
private |
x position in local ARICH volume
Definition at line 274 of file ARICHGeoDetectorPlane.h.
|
private |
y position in local ARICH volume
Definition at line 275 of file ARICHGeoDetectorPlane.h.
|
private |
z position in local ARICH volume (position of center of detector plane tube, with Z length of: module height)
Definition at line 276 of file ARICHGeoDetectorPlane.h.
|
staticprotectedinherited |
conversion unit for length
Definition at line 83 of file ARICHGeoBase.h.
|
staticprotectedinherited |
conversion unit name
Definition at line 84 of file ARICHGeoBase.h.