![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONREADOUTGEOMETRYR4_MDTTUBELAYER_H
5 #define MUONREADOUTGEOMETRYR4_MDTTUBELAYER_H
8 #include <GeoModelKernel/GeoVPhysVol.h>
9 #include <GeoModelKernel/GeoTransform.h>
10 #include <GeoModelKernel/GeoVolumeCursor.h>
39 const GeoIntrusivePtr<const GeoTransform> toLayTrf);
41 unsigned int nTubes()
const;
57 GeoIntrusivePtr<const GeoTransform>
m_layTrf{
nullptr};
The TransientConstSharedPtr allows non-const access if the pointer itself is non-const but in the con...
const Amg::Transform3D & layerTransform() const
: Returns the transformation from the layer to the muon station
Helper struct to sort equivalent MdtTubeLayers into a std::set.
Helper struct to retrieve the tube lengths and the tube centers directly from the GeoModel tree.
MdtTubeLayer(const PVConstLink layer, const GeoIntrusivePtr< const GeoTransform > toLayTrf)
Standard constructor of a MdtTube layer.
A muon chamber is a collection of readout elements belonging to the same station.
Eigen::Affine3d Transform3D
PVConstLink getTubeNode(unsigned int tube) const
returns the PVConst link to the n-th tube [0 - nTubes() -1]
bool operator()(const MdtTubeLayer &a, const MdtTubeLayer &b) const
unsigned int nTubes() const
Returns the number of tubes in the layer.
double tubeHalfLength(const unsigned int tube) const
Returns the half-length of the given tube.
Eigen::Matrix< double, 3, 1 > Vector3D
const Amg::Transform3D tubeTransform(const unsigned int tube) const
Returns the transformation of the tube to the muon station Index counting [0 - nTubes()-1].
std::set< MdtTubeLayerPtr, MdtTubeLayerSorter > MdtTubeLayerSet
GeoVolumeCursor tubeCursor() const
Return a cursor object over the tubes in the layer.
GeoIntrusivePtr< const GeoTransform > m_layTrf
const Amg::Vector3D tubePosInLayer(const unsigned int tube) const
Returns the tube position within the given tube layer.
friend MdtTubeLayerSorter
Constructor taking the GeoModel parent node of the tube nodes.