![]() |
Project
|
#include <TopologyDictionary.h>
Public Types | |
| using | ClusterType = Cluster< DetID > |
Public Member Functions | |
| int | getNumberOfLayers () const noexcept |
| const LayerDictionary & | getLayer (int layer) const |
| const DictionaryEntry & | getEntry (int layer, int id) const |
| int | findID (int layer, const unsigned char *pattern) const |
| The pattern's entry on the layer: its own if it is common, else its group's. | |
| math_utils::Point3D< float > | getFlatCoordinates (const ClusterType &cluster, const unsigned char *pattern, int id) const |
| The position in the flat frame: the entry's centre of gravity, plus its offsets if applied, at the layer's depth. | |
| math_utils::Point3D< float > | getClusterCoordinates (const ClusterType &cluster, const unsigned char *pattern, int id) const |
| The same in O2's local frame: curved on the VD. | |
| math_utils::Point3D< float > | getClusterCoordinates (const ClusterType &cluster, const unsigned char *pattern) const |
| bool | getApplyOffsets () const noexcept |
| void | setApplyOffsets (bool apply) noexcept |
| void | print () const |
Static Public Member Functions | |
| static constexpr int | spanClass (int span) noexcept |
| static constexpr int | groupOf (int rowSpan, int colSpan) noexcept |
| static int | layerOf (const ClusterType &cluster) noexcept |
| A cluster's layer: TRK's VD layers, then ML/OT (GeometryTGeo::getLayerTRK); FT3's discs. -1 for none (a VD disc). | |
| static math_utils::Point3D< float > | localToFlat (const ClusterType &cluster, const math_utils::Point3D< float > &local) noexcept |
| A point from O2's local frame to the layer's flat frame (the VD's unrolled; elsewhere the same). | |
| static math_utils::Point3D< float > | centreOfGravity (const ClusterType &cluster, const unsigned char *pattern) noexcept |
| The cluster's centre of gravity in the flat frame at y = 0. pattern: row span, column span, pixel bits. | |
| static TopologyDictionary * | loadFrom (const std::string &fileName, const std::string &objName="ccdb_object") |
Static Public Attributes | |
| static constexpr int | NSpanClasses = 6 |
| spans 1 to 5, 6 or more | |
| static constexpr int | NGroups = NSpanClasses * NSpanClasses |
| one group per pair of span classes, row class major | |
Friends | |
| class | BuildTopologyDictionary< DetID > |
Definition at line 66 of file TopologyDictionary.h.
| using o2::trkft3::TopologyDictionary< DetID >::ClusterType = Cluster<DetID> |
Definition at line 71 of file TopologyDictionary.h.
|
staticnoexcept |
The cluster's centre of gravity in the flat frame at y = 0. pattern: row span, column span, pixel bits.
Definition at line 60 of file TopologyDictionary.cxx.
| int o2::trkft3::TopologyDictionary< DetID >::findID | ( | int | layer, |
| const unsigned char * | pattern | ||
| ) | const |
The pattern's entry on the layer: its own if it is common, else its group's.
Definition at line 73 of file TopologyDictionary.cxx.
|
inlinenoexcept |
Definition at line 102 of file TopologyDictionary.h.
|
inline |
Definition at line 97 of file TopologyDictionary.h.
| math_utils::Point3D< float > o2::trkft3::TopologyDictionary< DetID >::getClusterCoordinates | ( | const ClusterType & | cluster, |
| const unsigned char * | pattern, | ||
| int | id | ||
| ) | const |
The same in O2's local frame: curved on the VD.
Definition at line 114 of file TopologyDictionary.cxx.
|
inline |
Definition at line 88 of file TopologyDictionary.h.
| math_utils::Point3D< float > o2::trkft3::TopologyDictionary< DetID >::getFlatCoordinates | ( | const ClusterType & | cluster, |
| const unsigned char * | pattern, | ||
| int | id | ||
| ) | const |
The position in the flat frame: the entry's centre of gravity, plus its offsets if applied, at the layer's depth.
Definition at line 90 of file TopologyDictionary.cxx.
|
inline |
Definition at line 87 of file TopologyDictionary.h.
|
inlinenoexcept |
Definition at line 86 of file TopologyDictionary.h.
|
inlinestaticconstexprnoexcept |
Definition at line 77 of file TopologyDictionary.h.
|
staticnoexcept |
A cluster's layer: TRK's VD layers, then ML/OT (GeometryTGeo::getLayerTRK); FT3's discs. -1 for none (a VD disc).
Definition at line 31 of file TopologyDictionary.cxx.
|
static |
Definition at line 135 of file TopologyDictionary.cxx.
|
staticnoexcept |
A point from O2's local frame to the layer's flat frame (the VD's unrolled; elsewhere the same).
Definition at line 50 of file TopologyDictionary.cxx.
| void o2::trkft3::TopologyDictionary< DetID >::print | ( | ) | const |
Definition at line 126 of file TopologyDictionary.cxx.
|
inlinenoexcept |
Definition at line 103 of file TopologyDictionary.h.
|
inlinestaticconstexprnoexcept |
Definition at line 76 of file TopologyDictionary.h.
|
friend |
Definition at line 107 of file TopologyDictionary.h.
|
staticconstexpr |
one group per pair of span classes, row class major
Definition at line 74 of file TopologyDictionary.h.
|
staticconstexpr |
spans 1 to 5, 6 or more
Definition at line 73 of file TopologyDictionary.h.