 |
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include <Acts/Geometry/TrapezoidVolumeBounds.hpp>
9 #include <Acts/Surfaces/PlaneSurface.hpp>
17 ostr<<
"halfY: "<<
halfY(*
args.bounds)<<
" [mm], ";
18 ostr<<
"halfZ: "<<
halfZ(*
args.bounds)<<
" [mm], ";
27 m_args{std::move(
args)} {}
48 other.readoutEles().front()->identify();
56 return std::format(
"MS chamber {:} station {:} eta {:02} phi {:02}",
std::shared_ptr< const Acts::PlaneSurface > surface
Associated chamber surface.
std::string identString() const
Define a string of the chamber used for debugging.
const Identifier & identify(const UncalibratedMeasurement *meas)
Returns the associated identifier from the muon measurement.
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...
std::shared_ptr< Acts::VolumeBounds > bounds
Chamber volume bounds.
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
double halfY() const
Extend of the chamber in the y-direction.
double halfXhighY(const Acts::VolumeBounds &bounds)
Returns the half-Y length @ posiive Y for the parsed volume bounds (Trapezoid/ Cuboid)
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.
double halfY(const Acts::VolumeBounds &bounds)
Returns the half-Y length for the parsed volume bounds (Trapezoid/ Cuboid)
const SpectrometerSector * m_parent
double halfZ(const Acts::VolumeBounds &bounds)
Returns the half-Z length for the parsed volume bounds (Trapezoid/ Cuboid)
const Amg::Transform3D & localToGlobalTrans(const ActsTrk::GeometryContext &gctx) const
Returns the transformation chamber frame -> global transformation.
double halfXlowY(const Acts::VolumeBounds &bounds)
Returns the half-X length @ negative Y for the parsed volume bounds (Trapezoid/ Cuboid)
int8_t side() const
Returns the side of the chamber.
int stationEta() const
Returns the station eta of the chamber.
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
@ Mm
Maybe not needed in the migration.
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.
Amg::Transform3D globalToLocalTrans(const ActsTrk::GeometryContext &gctx) const
Returns the global -> local transformation.
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.
std::shared_ptr< Acts::Volume > boundingVolume(const ActsTrk::GeometryContext &gctx) const
Returns the Acts::Volume representation of the chamber.
std::string to_string(const DetectorType &type)
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
const Acts::PlaneSurface & surface() const
Returns the surface associated with the chamber.
bool barrel() const
Returns whether the chamber is placed in the barrel.
std::shared_ptr< Acts::VolumeBounds > bounds() const
Returns the volume bounds.
double halfXLong() const
Long-extend of the chamber in the x-direction at positive Y.
ActsTrk::DetectorType detectorType() const
Returns the first readout elements detectorType (sorted by techIdx)
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
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)
Acts::GeometryContext context() const