|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include <Acts/Geometry/TrapezoidVolumeBounds.hpp>
7 #include <Acts/Geometry/Volume.hpp>
15 using BoundEnums = Acts::TrapezoidVolumeBounds::BoundValues;
18 m_args{std::move(
args)} {
19 for (
auto &
chamber : m_args.chambers) {
72 toReturn.insert(toReturn.end(),
ch->readoutEles().begin(),
ch->readoutEles().end());
83 <<
"halfX (S/L): "<<
args.bounds->get(BoundEnums::eHalfLengthXnegY)
84 <<
"/"<<
args.bounds->get(BoundEnums::eHalfLengthXposY)<<
" [mm], ";
85 ostr<<
"halfY: "<<
args.bounds->get(BoundEnums::eHalfLengthY)<<
" [mm], ";
86 ostr<<
"halfZ: "<<
args.bounds->get(BoundEnums::eHalfLengthZ)<<
" [mm], ";
88 ostr<<
"************************************************************************"<<std::endl;
90 ostr<<
" --- "<<(*ch)<<std::endl;
95 ostr<<
"MS sector "<<
chamber.identString()<<
" "<<
chamber.parameters();
static const std::string & chName(ChIndex index)
convert ChIndex into a string
The TransientConstSharedPtr allows non-const access if the pointer itself is non-const but in the con...
std::shared_ptr< Acts::Volume > boundingVolume(const ActsGeometryContext &gctx) const
Returns the Acts::Volume representation of the sector.
int sector() const
Returns the sector of the MS-sector.
int8_t side() const
Returns the side of the MS-sector 1 -> A side ; -1 -> C side.
A spectrometer sector forms the envelope of all chambers that are placed in the same MS sector & laye...
int stationPhi() const
: Returns the station phi of the sector
const ChamberSet & chambers() const
Returns the associated chambers with this sector.
Chamber::ReadoutSet readoutEles() const
Returns the list of all associated readout elements.
double halfXShort() const
Short extend of the chamber in the x-direction at negative Y.
double halfZ() const
Thickness of the chamber in the z-direction.
std::string identString() const
Returns a string encoding the chamber index & the sector of the MS sector.
Acts::TrapezoidVolumeBounds::BoundValues BoundEnums
SpectrometerSector::ChamberSet ChamberSet
double halfY() const
Extend of the chamber in the y-direction.
Muon::MuonStationIndex::ChIndex chamberIndex() const
Returns the chamber index scheme.
double halfXLong() const
Long-extend of the chamber in the x-direction at positive Y.
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
const std::vector< chamberLocation > & chamberLocations() const
returns the list of all MDT chambers in the sector for fast navigation
bool barrel() const
Returns whether the sector is placed in the barrel.
Amg::Transform3D globalToLocalTrans(const ActsGeometryContext &gctx) const
Returns the global -> local transformation from the ATLAS global.
Eigen::Affine3d Transform3D
std::vector< const MuonReadoutElement * > ReadoutSet
Define the list of read out elements of the chamber.
Include the GeoPrimitives which need to be put first.
SpectrometerSector(defineArgs &&args)
Standard constructor taking the defining parameters.
std::vector< chamberLocation > chamberLocs
const Muon::IMuonIdHelperSvc * idHelperSvc() const
Returns the IdHelpeSvc.
Amg::Transform3D locToGlobTrf
Transformation to the chamber volume.
std::shared_ptr< Acts::TrapezoidVolumeBounds > bounds
Surrouding box chamber bounds.
ChamberSet chambers
List of readout elements in the chamber.
std::shared_ptr< Acts::TrapezoidVolumeBounds > bounds() const
Returns the volume bounds.
const defineArgs & parameters() const
Returns the reference to the defining parameters of the sector.
std::vector< ChamberPtr > ChamberSet
const Amg::Transform3D & localToGlobalTrans(const ActsGeometryContext &gctx) const
Returns the local -> global tarnsformation from the sector.
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
ChIndex
enum to classify the different chamber layers in the muon spectrometer
std::ostream & operator<<(std::ostream &ostr, const Chamber::defineArgs &args)
bool operator<(const SpectrometerSector &other) const