![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #include "GaudiKernel/PhysicalConstants.h"
9 ostr<<
"adc: "<<
input.adc()<<
", ";
10 ostr<<
"tdc: "<<
input.tdc()<<
", ";
11 ostr<<
"is masked: "<<(
input.isMasked() ?
"yay" :
"nay")<<
", ";
15 ostr<<
"prop distance: "<<
input.signalPropagationDistance()<<
", ";
17 ostr<<
"ToF: "<<
input.timeOfFlight()<<
", ";
18 ostr<<
"trigger time: "<<
input.triggerTime();
24 m_id{
digit.identify()},
25 m_isMasked{
digit.is_masked()},
28 m_legRE{detMgr.getMdtReadoutElement(m_id)},
29 m_globToLoc{m_legRE->globalToLocalTransf(m_id)},
30 m_globPos{m_legRE->center(m_id)} {}
35 m_id{
digit.identify()},
36 m_isMasked{
digit.is_masked()},
40 m_RE{detMgr.getMdtReadoutElement(m_id)},
41 m_hash{m_RE->measurementHash(m_id)},
42 m_globToLoc{m_RE->globalToLocalTrans(gctx, m_hash)},
43 m_globPos{m_RE->center(gctx, m_hash)} {}
55 m_legRE{prd.detectorElement()},
56 m_globToLoc{m_legRE->globalToLocalTransf(m_id)},
57 m_globPos{prd.globalPosition()} {
96 const double perpendComp = locTrkDir.block<2,1>(0,0).
dot(locBField.block<2,1>(0,0))
98 const double paralelComp = locBField.z();
104 std::stringstream except{};
105 except<<__FILE__<<
":"<<__LINE__<<
" idealSurface() can only be called together with the legacy readout geometry";
106 throw std::runtime_error(except.str());
112 std::stringstream except{};
113 except<<__FILE__<<
":"<<__LINE__<<
" saggedSurface() can only be called together with the legacy readout geometry";
114 throw std::runtime_error(except.str());
123 std::unique_ptr<Trk::StraightLineSurface> sagged{surf.correctedSurface(*locApproach)};
151 else if (
m_RE)
return -1.;
double tubeLength(const int tubeLayer, const int tube) const
Eigen::Matrix< double, 2, 1 > Vector2D
double tubeLength(const IdentifierHash &hash) const
double RODistanceFromTubeCentre(const Identifier &id) const
T * set(std::unique_ptr< T > elt) const
Atomically set the element.
const Amg::Vector3D & center() const
Returns the center position of the Surface.
std::unique_ptr< T > release() noexcept
Transfer ownership from the element: return the current value as a unique_ptr, leaving the element nu...
double distanceFromRO(const Amg::Vector3D &GlobalHitPosition, const Identifier &id) const
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
def dot(G, fn, nodesToHighlight=[])
Include the GeoPrimitives which need to be put first.
Identifier identify() const
return the identifier
double distanceToReadout(const ActsGeometryContext &ctx, const Identifier &measId, const Amg::Vector3D &globPoint) const
Returns the distance along the wire from the readout card The distance is given as the delta z of the...
Class to represent measurements from the Monitored Drift Tubes.
Eigen::Matrix< double, 3, 1 > Vector3D
Amg::Vector3D tubeFrame_localROPos(const int tubelayer, const int tube) const
virtual bool globalToLocal(const Amg::Vector3D &glob, const Amg::Vector3D &mom, Amg::Vector2D &loc) const =0
Specified by each surface type: GlobalToLocal method without dynamic memory allocation - boolean chec...
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
virtual const Trk::Surface & surface() const override final
Return surface associated with this detector element.