![]() |
Project
|
#include <AlignSensorHelper.h>
Public Member Functions | |
| AlignSensorHelper () | |
| constructor with a pointer to the geometry | |
| virtual | ~AlignSensorHelper ()=default |
| default destructor | |
| void | setGeometry () |
| set pointer to geometry that should already have done fillMatrixCache() | |
| bool | setSensor (const int chipIndex) |
| set the studied sensor | |
| void | setSensorOnlyInfo (const int chipIndex) |
| set the studied sensor | |
| UShort_t | chipIndexOnLadder () const |
| return sensor index within the ladder [0, 4] | |
| UShort_t | chipIndexInMft () const |
| return sensor sw index within the MFT [0, 935] | |
| UShort_t | half () const |
| return the half number to which belongs the sensor | |
| UShort_t | disk () const |
| return the disk number to which belongs the sensor | |
| UShort_t | layer () const |
| return the layer number to which belongs the sensor | |
| UShort_t | zone () const |
| return the zone to which belongs the sensor | |
| UShort_t | connector () const |
| return the connector to which the ladder is plugged | |
| UShort_t | transceiver () const |
| return the transceiver on the RU for this sensor | |
| Int_t | sensorUid () const |
| return the ALICE global unique id of the sensor | |
| TString | geoSymbolicName () |
| return the geo symbolic name for this sensor | |
| double | translateX () const |
| return the x component of the translation in the sensor transform | |
| double | translateY () const |
| return the y component of the translation in the sensor transform | |
| double | translateZ () const |
| return the z component of the translation in the sensor transform | |
| double | angleRx () const |
| return the rotation angle w.r.t. global x-axis in the sensor transform | |
| double | angleRy () const |
| return the rotation angle w.r.t. global y-axis in the sensor transform | |
| double | angleRz () const |
| return the rotation angle w.r.t. global z-axis in the sensor transform | |
| double | sinRx () const |
| return the sin, cos of the rotation angle w.r.t. x-axis | |
| double | cosRx () const |
| double | sinRy () const |
| return the sin, cos of the rotation angle w.r.t. y-axis | |
| double | cosRy () const |
| double | sinRz () const |
| return the sin, cos of the rotation angle w.r.t. z-axis | |
| double | cosRz () const |
| bool | isTransformExtracted () const |
| return the status of the sensor transform extraction | |
| std::stringstream | getSensorFullName (bool wSymName=true) |
| return a stringstream filled with the sensor info | |
Protected Member Functions | |
| void | setSensorUid (const int chipIndex) |
| set the ALICE global unique id of the sensor | |
| void | builSymNames () |
| build array of symbolic names of all sensors | |
| int | getChipIdGeoFromRO (const int chipIdRO) |
| return chip id Geo from a given chip id RO | |
| void | setSymName () |
| set the symbolic name of this sensor in the geometry | |
| void | extractSensorTransform () |
| init the matrix that stores the sensor transform L2G and extract its components | |
| void | resetSensorTransformInfo () |
| reset all sensor transform related variables | |
| ClassDef (AlignSensorHelper, 0) | |
Protected Attributes | |
| o2::mft::GeometryTGeo * | mGeometry = nullptr |
| MFT geometry. | |
| UShort_t | mChipIndexOnLadder = 0 |
| sensor index within the ladder [0, 4] | |
| UShort_t | mChipIndexInMft = 0 |
| sensor sw index within the MFT [0, 935] | |
| UShort_t | mConnector = 0 |
| connector index to which the ladder is plugged in the zone [0, 4] | |
| UShort_t | mTransceiver = 0 |
| transceiver id to which the sensor is connected in the zone [0, 24] | |
| UShort_t | mLayer = 0 |
| layer id [0, 9] | |
| UShort_t | mZone = 0 |
| zone id [0,3] | |
| UShort_t | mDisk = 0 |
| disk id [0, 4] | |
| UShort_t | mHalf = 0 |
| half id [0, 1] | |
| Int_t | mChipUniqueId = 0 |
| ALICE global unique id of the sensor. | |
| TGeoHMatrix | mTransform |
| sensor transformation matrix L2G | |
| o2::math_utils::Point3D< double > | mTranslation |
| coordinates of the translation between the local system origin (the center of the sensor) and the global origin | |
| std::array< TString, mNumberOfSensors > | mSymNames |
| double | mRx = 0 |
| |
| double | mRy = 0 |
| rotation angle aroung global y-axis (radian) | |
| double | mRz = 0 |
| rotation angle aroung global z-axis (radian) | |
| double | mSinRx = 0 |
| double | mCosRx = 0 |
| double | mSinRy = 0 |
| double | mCosRy = 0 |
| double | mSinRz = 0 |
| double | mCosRz = 0 |
| TString | mGeoSymbolicName |
| symbolic name of this sensor in the geometry | |
| bool | mIsTransformExtracted = false |
| boolean used to check if the sensor transform was successfully extracted from geometry | |
Static Protected Attributes | |
| static constexpr int | mNumberOfSensors = o2::itsmft::ChipMappingMFT::NChips |
| Total number of sensors (detection elements) in the MFT. | |
Definition at line 37 of file AlignSensorHelper.h.
| AlignSensorHelper::AlignSensorHelper | ( | ) |
constructor with a pointer to the geometry
Definition at line 29 of file AlignSensorHelper.cxx.
|
virtualdefault |
default destructor
|
inline |
return the rotation angle w.r.t. global x-axis in the sensor transform
Definition at line 95 of file AlignSensorHelper.h.
|
inline |
return the rotation angle w.r.t. global y-axis in the sensor transform
Definition at line 98 of file AlignSensorHelper.h.
|
inline |
return the rotation angle w.r.t. global z-axis in the sensor transform
Definition at line 101 of file AlignSensorHelper.h.
|
protected |
build array of symbolic names of all sensors
Definition at line 122 of file AlignSensorHelper.cxx.
|
inline |
return sensor sw index within the MFT [0, 935]
Definition at line 59 of file AlignSensorHelper.h.
|
inline |
return sensor index within the ladder [0, 4]
Definition at line 56 of file AlignSensorHelper.h.
|
protected |
|
inline |
return the connector to which the ladder is plugged
Definition at line 74 of file AlignSensorHelper.h.
|
inline |
Definition at line 105 of file AlignSensorHelper.h.
|
inline |
Definition at line 109 of file AlignSensorHelper.h.
|
inline |
Definition at line 113 of file AlignSensorHelper.h.
|
inline |
return the disk number to which belongs the sensor
Definition at line 65 of file AlignSensorHelper.h.
|
protected |
init the matrix that stores the sensor transform L2G and extract its components
Definition at line 192 of file AlignSensorHelper.cxx.
|
inline |
return the geo symbolic name for this sensor
Definition at line 83 of file AlignSensorHelper.h.
|
protected |
return chip id Geo from a given chip id RO
Definition at line 160 of file AlignSensorHelper.cxx.
| std::stringstream AlignSensorHelper::getSensorFullName | ( | bool | wSymName = true | ) |
return a stringstream filled with the sensor info
Definition at line 93 of file AlignSensorHelper.cxx.
|
inline |
return the half number to which belongs the sensor
Definition at line 62 of file AlignSensorHelper.h.
|
inline |
return the status of the sensor transform extraction
Definition at line 116 of file AlignSensorHelper.h.
|
inline |
return the layer number to which belongs the sensor
Definition at line 68 of file AlignSensorHelper.h.
|
protected |
reset all sensor transform related variables
Definition at line 237 of file AlignSensorHelper.cxx.
|
inline |
return the ALICE global unique id of the sensor
Definition at line 80 of file AlignSensorHelper.h.
| void AlignSensorHelper::setGeometry | ( | ) |
set pointer to geometry that should already have done fillMatrixCache()
Definition at line 57 of file AlignSensorHelper.cxx.
| bool AlignSensorHelper::setSensor | ( | const int | chipIndex | ) |
set the studied sensor
Definition at line 113 of file AlignSensorHelper.cxx.
| void AlignSensorHelper::setSensorOnlyInfo | ( | const int | chipIndex | ) |
set the studied sensor
Definition at line 70 of file AlignSensorHelper.cxx.
|
protected |
set the ALICE global unique id of the sensor
Definition at line 173 of file AlignSensorHelper.cxx.
|
protected |
set the symbolic name of this sensor in the geometry
Definition at line 186 of file AlignSensorHelper.cxx.
|
inline |
return the sin, cos of the rotation angle w.r.t. x-axis
Definition at line 104 of file AlignSensorHelper.h.
|
inline |
return the sin, cos of the rotation angle w.r.t. y-axis
Definition at line 108 of file AlignSensorHelper.h.
|
inline |
return the sin, cos of the rotation angle w.r.t. z-axis
Definition at line 112 of file AlignSensorHelper.h.
|
inline |
return the transceiver on the RU for this sensor
Definition at line 77 of file AlignSensorHelper.h.
|
inline |
return the x component of the translation in the sensor transform
Definition at line 86 of file AlignSensorHelper.h.
|
inline |
return the y component of the translation in the sensor transform
Definition at line 89 of file AlignSensorHelper.h.
|
inline |
return the z component of the translation in the sensor transform
Definition at line 92 of file AlignSensorHelper.h.
|
inline |
return the zone to which belongs the sensor
Definition at line 71 of file AlignSensorHelper.h.
|
protected |
sensor sw index within the MFT [0, 935]
Definition at line 125 of file AlignSensorHelper.h.
|
protected |
sensor index within the ladder [0, 4]
Definition at line 124 of file AlignSensorHelper.h.
|
protected |
ALICE global unique id of the sensor.
Definition at line 132 of file AlignSensorHelper.h.
|
protected |
connector index to which the ladder is plugged in the zone [0, 4]
Definition at line 126 of file AlignSensorHelper.h.
|
protected |
Definition at line 144 of file AlignSensorHelper.h.
|
protected |
Definition at line 146 of file AlignSensorHelper.h.
|
protected |
Definition at line 148 of file AlignSensorHelper.h.
|
protected |
disk id [0, 4]
Definition at line 130 of file AlignSensorHelper.h.
|
protected |
MFT geometry.
Definition at line 122 of file AlignSensorHelper.h.
|
protected |
symbolic name of this sensor in the geometry
Definition at line 150 of file AlignSensorHelper.h.
|
protected |
half id [0, 1]
Definition at line 131 of file AlignSensorHelper.h.
|
protected |
boolean used to check if the sensor transform was successfully extracted from geometry
Definition at line 152 of file AlignSensorHelper.h.
|
protected |
layer id [0, 9]
Definition at line 128 of file AlignSensorHelper.h.
|
staticconstexprprotected |
Total number of sensors (detection elements) in the MFT.
Definition at line 123 of file AlignSensorHelper.h.
|
protected |
array of symbolic names of all sensors
rotation angle aroung global x-axis (radian)
Definition at line 138 of file AlignSensorHelper.h.
|
protected |
rotation angle aroung global y-axis (radian)
Definition at line 139 of file AlignSensorHelper.h.
|
protected |
rotation angle aroung global z-axis (radian)
Definition at line 140 of file AlignSensorHelper.h.
|
protected |
Definition at line 143 of file AlignSensorHelper.h.
|
protected |
Definition at line 145 of file AlignSensorHelper.h.
|
protected |
Definition at line 147 of file AlignSensorHelper.h.
|
protected |
Definition at line 135 of file AlignSensorHelper.h.
|
protected |
transceiver id to which the sensor is connected in the zone [0, 24]
Definition at line 127 of file AlignSensorHelper.h.
|
protected |
sensor transformation matrix L2G
Definition at line 133 of file AlignSensorHelper.h.
|
protected |
coordinates of the translation between the local system origin (the center of the sensor) and the global origin
Definition at line 134 of file AlignSensorHelper.h.
|
protected |
zone id [0,3]
Definition at line 129 of file AlignSensorHelper.h.