 |
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include "GeoModelKernel/GeoDefinitions.h"
13 #include "GeoModelKernel/GeoPhysVol.h"
14 #include "GeoModelKernel/GeoTransform.h"
35 TrkDetElementBase(
pv),
39 if (!m_idHelperSvc.retrieve().isSuccess()) {
41 throw std::runtime_error(
"Invalid MuonIdHelperSvc");
58 if (
c ==
'E' ||
c ==
'F' ||
c ==
'G')
return false;
59 if (
c ==
'M' ||
c ==
'R')
return true;
62 ATH_MSG_FATAL(__FILE__<<
":"<<__LINE__<<
" largeSector() - is this station a larger sector answer is no for readout element "<<
m_idHelperSvc->toStringDetEl(
identify()));
63 throw std::runtime_error(
"Unknown sector");
73 return getMaterialGeom()->getX();
105 throw std::runtime_error(
"Invalid Identifier set");
virtual Amg::Transform3D AmdbLRSToGlobalTransform() const
Ensure that the Athena extensions are properly loaded.
std::string m_statname
examples are BMS5, CSS1, EML1
const Amg::Transform3D & absTransform() const
Identifier m_id
extended data-collection identifier
std::string m_techname
MDT or RPC or TGC or CSC plus a two digits subtype; example RPC17.
int m_eta
Identifier field of the station eta.
IdentifierHash m_detectorElIdhash
detector element hash identifier
virtual void fillCache()=0
virtual Amg::Transform3D GlobalToAmdbLRSTransform() const
Amg::Transform3D getTransform() const
void setLongRsize(double)
const MuonStation * m_parentMuonStation
int m_phi
Identifier field of the station phi.
virtual void clearCache()=0
virtual Amg::Vector3D GlobalToAmdbLRSCoords(const Amg::Vector3D &x) const
void setIdentifier(const Identifier &id)
Sets the Identifier, hashes & station names.
const MuonStation * parentMuonStation() const
Eigen::Affine3d Transform3D
void setTechnologyName(const std::string &str)
Class to provide easy MsgStream access and capabilities.
const Amg::Transform3D & getNativeToAmdbLRS() const
const Amg::Vector3D globalPosition() const
void setLongSsize(double)
void setStationName(const std::string &)
std::string to_string(const DetectorType &type)
IdentifierHash m_idhash
data-collection hash identifier
void setLongZsize(double)
Eigen::Matrix< double, 3, 1 > Vector3D
double m_LongZsize
size in the specified direction
Amg::Transform3D toParentStation() const
virtual Amg::Vector3D AmdbLRSToGlobalCoords(const Amg::Vector3D &x) const
virtual ~MuonReadoutElement()
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Identifier identify() const override final
Returns the ATLAS Identifier of the MuonReadOutElement.
int m_stIdx
Identifier field of the station index.
Amg::Vector3D parentMuonStationPos() const
MuonReadoutElement(GeoVFullPhysVol *pv, MuonDetectorManager *mgr, Trk::DetectorElemType detType)
void setParentMuonStation(const MuonStation *)