|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include <Acts/Geometry/TrapezoidVolumeBounds.hpp>
12 using BoundEnums = Acts::TrapezoidVolumeBounds::BoundValues;
16 ostr<<
"halfX (S/L): "<<
args.bounds->get(BoundEnums::eHalfLengthXnegY)
17 <<
"/"<<
args.bounds->get(BoundEnums::eHalfLengthXposY)<<
" [mm], ";
18 ostr<<
"halfY: "<<
args.bounds->get(BoundEnums::eHalfLengthY)<<
" [mm], ";
19 ostr<<
"halfZ: "<<
args.bounds->get(BoundEnums::eHalfLengthZ)<<
" [mm], ";
31 m_args{std::move(
args)} {}
43 return std::format(
"MS chamber {:} eta {:02} phi {:02}",
std::string identString() const
Define a string of the chamber used for debugging.
Chamber(defineArgs &&args)
Standard constructor taking the defineArgs.
const SpectrometerSector * parent() const
Returns the pointer to the MS sector enclosing the chamber.
ReadoutSet detEles
List of associated readout elements.
A spectrometer sector forms the envelope of all chambers that are placed in the same MS sector & laye...
double halfY() const
Extend of the chamber in the y-direction.
std::shared_ptr< Acts::Volume > boundingVolume(const ActsGeometryContext &gctx) const
Returns the Acts::Volume representation of the chamber.
Identifier identify(const UncalibratedMeasurement *meas)
Returns the associated identifier.
int sector() const
Returns the MS sector of the chamber.
double halfXShort() const
Short extend of the chamber in the x-direction at negative Y.
const SpectrometerSector * m_parent
Acts::TrapezoidVolumeBounds::BoundValues BoundEnums
int stationEta() const
Returns the station eta of the chamber.
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...
Muon::MuonStationIndex::ChIndex chamberIndex() const
Returns the chamber index.
Eigen::Affine3d Transform3D
std::vector< const MuonReadoutElement * > ReadoutSet
Define the list of read out elements of the chamber.
const Amg::Transform3D & localToGlobalTrans(const ActsGeometryContext &gctx) const
Returns the transformation chamber frame -> global transformation.
Include the GeoPrimitives which need to be put first.
int stationPhi() const
Returns the station phi of the chamber.
const Muon::IMuonIdHelperSvc * idHelperSvc() const
Returns a pointer to the idHelperSvc.
const ReadoutSet & readoutEles() const
Returns the list of contained readout elements.
bool operator<(const Chamber &other) const
Comparison operator for set ordering.
virtual bool isEndcap(const Identifier &id) const =0
returns whether this is an endcap Identifier or not
bool barrel() const
Returns whether the chamber is placed in the barrel.
double halfXLong() const
Long-extend of the chamber in the x-direction at positive Y.
std::shared_ptr< Acts::TrapezoidVolumeBounds > bounds() const
Returns the volume bounds.
const defineArgs & parameters() const
Returns the reference to the defining parameters of the chamber.
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::shared_ptr< Acts::TrapezoidVolumeBounds > bounds
Chamber volume bounds.
Amg::Transform3D globalToLocalTrans(const ActsGeometryContext &gctx) const
Returns the global -> local transformation.
virtual int sector(const Identifier &id) const =0
return sector number 1-16, odd=large, even=small
int stationName() const
Returns an integer representing the stationName.
void setParent(const SpectrometerSector *parent)
Sets the connection to the MS sector enclosing the chamber.
double halfZ() const
Thickness of the chamber in the z-direction.
std::ostream & operator<<(std::ostream &ostr, const Chamber::defineArgs &args)
Amg::Transform3D locToGlobTrf
Transformation of the chamber.