4#ifndef MUONREADOUTGEOMETRYR4_CHAMBER_H
5#define MUONREADOUTGEOMETRYR4_CHAMBER_H
26 using ReadoutSet = std::vector<const MuonReadoutElement*>;
29 std::shared_ptr<const Acts::PlaneSurface>
surface{};
33 std::shared_ptr<Acts::VolumeBounds>
bounds{};
72 const Acts::PlaneSurface&
surface()
const;
87 std::shared_ptr<Acts::VolumeBounds>
bounds()
const;
97 const Chamber::defineArgs& args);
100 const Chamber& chamber);
const SpectrometerSector * m_parent
std::string identString() const
Define a string of the chamber used for debugging.
const Acts::PlaneSurface & surface() const
Returns the surface associated with the chamber.
int stationEta() const
Returns the station eta of the chamber.
const ReadoutSet & readoutEles() const
Returns the list of contained readout elements.
double halfXLong() const
Long-extend of the chamber in the x-direction at positive Y.
bool operator<(const Chamber &other) const
Comparison operator for set ordering.
const Chamber & operator=(const Chamber &other)=delete
Chamber(defineArgs &&args)
Standard constructor taking the defineArgs.
void setParent(const SpectrometerSector *parent)
Sets the connection to the MS sector enclosing the chamber.
const SpectrometerSector * parent() const
Returns the pointer to the MS sector enclosing the chamber.
double halfY() const
Extend of the chamber in the y-direction.
ActsTrk::DetectorType detectorType() const
Returns the first readout elements detectorType (sorted by techIdx)
int sector() const
Returns the MS sector of the chamber.
Muon::MuonStationIndex::ChIndex chamberIndex() const
Returns the chamber index.
int stationPhi() const
Returns the station phi of the chamber.
int stationName() const
Returns an integer representing the stationName.
std::shared_ptr< Acts::Volume > boundingVolume(const ActsTrk::GeometryContext &gctx) const
Returns the Acts::Volume representation of the chamber.
const defineArgs & parameters() const
Returns the reference to the defining parameters of the chamber.
const Amg::Transform3D & localToGlobalTrans(const ActsTrk::GeometryContext &gctx) const
Returns the transformation chamber frame -> global transformation.
std::vector< const MuonReadoutElement * > ReadoutSet
Define the list of read out elements of the chamber.
bool barrel() const
Returns whether the chamber is placed in the barrel.
Amg::Transform3D globalToLocalTrans(const ActsTrk::GeometryContext &gctx) const
Returns the global -> local transformation.
double halfXShort() const
Short extend of the chamber in the x-direction at negative Y.
int8_t side() const
Returns the side of the chamber.
double halfZ() const
Thickness of the chamber in the z-direction.
std::shared_ptr< Acts::VolumeBounds > bounds() const
Returns the volume bounds.
Chamber(const Chamber &other)=delete
delete the copy constructors
const Muon::IMuonIdHelperSvc * idHelperSvc() const
Returns a pointer to the idHelperSvc.
A spectrometer sector forms the envelope of all chambers that are placed in the same MS sector & laye...
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
Eigen::Affine3d Transform3D
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
std::ostream & operator<<(std::ostream &ostr, const Chamber::defineArgs &args)
RpcReadoutElement::defineArgs defineArgs
ChIndex
enum to classify the different chamber layers in the muon spectrometer
std::shared_ptr< const Acts::PlaneSurface > surface
Associated chamber surface.
ReadoutSet detEles
List of associated readout elements.
std::shared_ptr< Acts::VolumeBounds > bounds
Chamber volume bounds.