![]() |
ATLAS Offline Software
|
Helper struct to retrieve the tube lengths and the tube centers directly from the GeoModel tree. More...
#include <MdtTubeLayer.h>
Classes | |
| struct | CutTubes |
| Constructor taking the GeoModel parent node of the tube nodes. More... | |
| struct | TubePositioner |
| Helper struct to avoid browsing with the serial transformer. More... | |
Public Types | |
| using | CutTubeSet = std::set<CutTubes, std::less<>> |
| using | TubePositionerSet = std::set<TubePositioner, std::less<>> |
Public Member Functions | |
| MdtTubeLayer (const PVConstLink layer, const GeoIntrusivePtr< const GeoTransform > toLayTrf, const CutTubeSet &cutTubes) | |
| Standard constructor of a MdtTube layer. | |
| unsigned int | nTubes () const |
| Returns the number of tubes in the layer. | |
| const Amg::Transform3D & | layerTransform () const |
| : Returns the transformation from the layer to the muon station | |
| const Amg::Transform3D | tubeTransform (const unsigned int tube) const |
| Returns the transformation of the tube to the muon station Index counting [0 - nTubes()-1]. | |
| const Amg::Vector3D | tubePosInLayer (const unsigned int tube) const |
| Returns the tube position within the given tube layer. | |
| double | tubeHalfLength (const unsigned int tube) const |
| Returns the half-length of the given tube. | |
| double | uncutHalfLength (const unsigned int tube) const |
| Returns the uncut-half length of the given tube. | |
| PVConstLink | getTubeNode (unsigned int tube) const |
| returns the PVConst link to the n-th tube [0 - nTubes() -1] | |
Public Attributes | |
| friend | MdtTubeLayerSorter |
Private Attributes | |
| PVConstLink | m_layerNode {nullptr} |
| GeoIntrusivePtr< const GeoTransform > | m_layTrf {nullptr} |
| CutTubeSet | m_cutTubes {} |
| TubePositionerSet | m_tubePos {} |
| Amg::Vector3D | m_tubePitch {Amg::Vector3D::Zero()} |
Helper struct to retrieve the tube lengths and the tube centers directly from the GeoModel tree.
Definition at line 28 of file MdtTubeLayer.h.
| using MuonGMR4::MdtTubeLayer::CutTubeSet = std::set<CutTubes, std::less<>> |
Definition at line 48 of file MdtTubeLayer.h.
| using MuonGMR4::MdtTubeLayer::TubePositionerSet = std::set<TubePositioner, std::less<>> |
Definition at line 65 of file MdtTubeLayer.h.
| MuonGMR4::MdtTubeLayer::MdtTubeLayer | ( | const PVConstLink | layer, |
| const GeoIntrusivePtr< const GeoTransform > | toLayTrf, | ||
| const CutTubeSet & | cutTubes ) |
Standard constructor of a MdtTube layer.
Taking a GeoVPhysVol which is usually shared across multiple layers & chambers
| layer | GeoVPhysVol representing this layer |
| toLayTrf | Transformation to reach the layer |
| cutTubes | List of tubes that are cut |
Definition at line 47 of file MdtTubeLayer.cxx.
| PVConstLink MuonGMR4::MdtTubeLayer::getTubeNode | ( | unsigned int | tube | ) | const |
returns the PVConst link to the n-th tube [0 - nTubes() -1]
Definition at line 74 of file MdtTubeLayer.cxx.
| const Amg::Transform3D & MuonGMR4::MdtTubeLayer::layerTransform | ( | ) | const |
: Returns the transformation from the layer to the muon station
Definition at line 71 of file MdtTubeLayer.cxx.
| unsigned int MuonGMR4::MdtTubeLayer::nTubes | ( | ) | const |
Returns the number of tubes in the layer.
Definition at line 94 of file MdtTubeLayer.cxx.
| double MuonGMR4::MdtTubeLayer::tubeHalfLength | ( | const unsigned int | tube | ) | const |
Returns the half-length of the given tube.
Definition at line 97 of file MdtTubeLayer.cxx.
| const Amg::Vector3D MuonGMR4::MdtTubeLayer::tubePosInLayer | ( | const unsigned int | tube | ) | const |
Returns the tube position within the given tube layer.
Definition at line 91 of file MdtTubeLayer.cxx.
| const Amg::Transform3D MuonGMR4::MdtTubeLayer::tubeTransform | ( | const unsigned int | tube | ) | const |
Returns the transformation of the tube to the muon station Index counting [0 - nTubes()-1].
Definition at line 82 of file MdtTubeLayer.cxx.
| double MuonGMR4::MdtTubeLayer::uncutHalfLength | ( | const unsigned int | tube | ) | const |
Returns the uncut-half length of the given tube.
Definition at line 107 of file MdtTubeLayer.cxx.
|
private |
Definition at line 96 of file MdtTubeLayer.h.
|
private |
Definition at line 94 of file MdtTubeLayer.h.
|
private |
Definition at line 95 of file MdtTubeLayer.h.
|
private |
Definition at line 98 of file MdtTubeLayer.h.
|
private |
Definition at line 97 of file MdtTubeLayer.h.
| friend MuonGMR4::MdtTubeLayer::MdtTubeLayerSorter |
Definition at line 67 of file MdtTubeLayer.h.