![]() |
ATLAS Offline Software
|
A spectrometer sector forms the envelope of all chambers that are placed in the same MS sector & layer E.g. More...
#include <SpectrometerSector.h>
Classes | |
struct | chamberLocation |
: Helper struct for fast approximate navigation. More... | |
struct | defineArgs |
Public Types | |
using | ChamberPtr = GeoModel::TransientConstSharedPtr< Chamber > |
using | ChamberSet = std::vector< ChamberPtr > |
Public Member Functions | |
SpectrometerSector (defineArgs &&args) | |
Standard constructor taking the defining parameters. More... | |
SpectrometerSector (const SpectrometerSector &other)=delete | |
Delete the copy constructor and copy assignment. More... | |
SpectrometerSector & | operator= (const SpectrometerSector &other)=delete |
bool | operator< (const SpectrometerSector &other) const |
std::string | identString () const |
Returns a string encoding the chamber index & the sector of the MS sector. More... | |
const Muon::IMuonIdHelperSvc * | idHelperSvc () const |
Returns the IdHelpeSvc. More... | |
Muon::MuonStationIndex::ChIndex | chamberIndex () const |
Returns the chamber index scheme. More... | |
int | stationPhi () const |
: Returns the station phi of the sector More... | |
int | sector () const |
Returns the sector of the MS-sector. More... | |
int8_t | side () const |
Returns the side of the MS-sector 1 -> A side ; -1 -> C side. More... | |
bool | barrel () const |
Returns whether the sector is placed in the barrel. More... | |
const Amg::Transform3D & | localToGlobalTrans (const ActsGeometryContext &gctx) const |
Returns the local -> global tarnsformation from the sector. More... | |
Amg::Transform3D | globalToLocalTrans (const ActsGeometryContext &gctx) const |
Returns the global -> local transformation from the ATLAS global. More... | |
const ChamberSet & | chambers () const |
Returns the associated chambers with this sector. More... | |
double | halfXLong () const |
Long-extend of the chamber in the x-direction at positive Y. More... | |
double | halfXShort () const |
Short extend of the chamber in the x-direction at negative Y. More... | |
double | halfY () const |
Extend of the chamber in the y-direction. More... | |
double | halfZ () const |
Thickness of the chamber in the z-direction. More... | |
const defineArgs & | parameters () const |
Returns the reference to the defining parameters of the sector. More... | |
std::shared_ptr< Acts::Volume > | boundingVolume (const ActsGeometryContext &gctx) const |
Returns the Acts::Volume representation of the sector. More... | |
std::shared_ptr< Acts::TrapezoidVolumeBounds > | bounds () const |
Returns the volume bounds. More... | |
Chamber::ReadoutSet | readoutEles () const |
Returns the list of all associated readout elements. More... | |
const std::vector< chamberLocation > & | chamberLocations () const |
returns the list of all MDT chambers in the sector for fast navigation More... | |
Private Attributes | |
defineArgs | m_args {} |
A spectrometer sector forms the envelope of all chambers that are placed in the same MS sector & layer E.g.
sector 5 in BI on the A-side. The spectrometer sector defines a coordinate system which is primarly used in the pattern recognition stage of the muon reconstruction
x-axis: Points along the Mdt tubes & is hence sensitive to the phi direction y-axis: Points to the next Mdt tube in the layer or in other words to the big wheel in the sector, if the chamber is in the barrel or outside in radial direction z-axis: Points radially outwards if the chamber is in the barrel or in towards the cavern wall if it's an endcap chamber
The origin of the spectrometer sector is placed in the nominal centre of the envelope.
The spectrometer contains pointer to all chambers & readout elements that are enclosed by it.
Definition at line 40 of file SpectrometerSector.h.
Definition at line 42 of file SpectrometerSector.h.
using MuonGMR4::SpectrometerSector::ChamberSet = std::vector<ChamberPtr> |
Definition at line 43 of file SpectrometerSector.h.
MuonGMR4::SpectrometerSector::SpectrometerSector | ( | defineArgs && | args | ) |
|
delete |
Delete the copy constructor and copy assignment.
bool MuonGMR4::SpectrometerSector::barrel | ( | ) | const |
Returns whether the sector is placed in the barrel.
Definition at line 44 of file SpectrometerSector.cxx.
std::shared_ptr< Acts::Volume > MuonGMR4::SpectrometerSector::boundingVolume | ( | const ActsGeometryContext & | gctx | ) | const |
Returns the Acts::Volume representation of the sector.
gctx | Geometry context carrrying the alignment transformations |
Definition at line 63 of file SpectrometerSector.cxx.
std::shared_ptr< Acts::TrapezoidVolumeBounds > MuonGMR4::SpectrometerSector::bounds | ( | ) | const |
Returns the volume bounds.
Definition at line 66 of file SpectrometerSector.cxx.
Muon::MuonStationIndex::ChIndex MuonGMR4::SpectrometerSector::chamberIndex | ( | ) | const |
Returns the chamber index scheme.
Definition at line 41 of file SpectrometerSector.cxx.
const std::vector< SpectrometerSector::chamberLocation > & MuonGMR4::SpectrometerSector::chamberLocations | ( | ) | const |
returns the list of all MDT chambers in the sector for fast navigation
Definition at line 76 of file SpectrometerSector.cxx.
const ChamberSet & MuonGMR4::SpectrometerSector::chambers | ( | ) | const |
Returns the associated chambers with this sector.
Definition at line 50 of file SpectrometerSector.cxx.
Amg::Transform3D MuonGMR4::SpectrometerSector::globalToLocalTrans | ( | const ActsGeometryContext & | gctx | ) | const |
Returns the global -> local transformation from the ATLAS global.
Definition at line 54 of file SpectrometerSector.cxx.
double MuonGMR4::SpectrometerSector::halfXLong | ( | ) | const |
Long-extend of the chamber in the x-direction at positive Y.
Definition at line 57 of file SpectrometerSector.cxx.
double MuonGMR4::SpectrometerSector::halfXShort | ( | ) | const |
Short extend of the chamber in the x-direction at negative Y.
Definition at line 58 of file SpectrometerSector.cxx.
double MuonGMR4::SpectrometerSector::halfY | ( | ) | const |
Extend of the chamber in the y-direction.
Definition at line 59 of file SpectrometerSector.cxx.
double MuonGMR4::SpectrometerSector::halfZ | ( | ) | const |
Thickness of the chamber in the z-direction.
Definition at line 60 of file SpectrometerSector.cxx.
std::string MuonGMR4::SpectrometerSector::identString | ( | ) | const |
Returns a string encoding the chamber index & the sector of the MS sector.
Definition at line 45 of file SpectrometerSector.cxx.
const Muon::IMuonIdHelperSvc * MuonGMR4::SpectrometerSector::idHelperSvc | ( | ) | const |
Returns the IdHelpeSvc.
Definition at line 40 of file SpectrometerSector.cxx.
const Amg::Transform3D & MuonGMR4::SpectrometerSector::localToGlobalTrans | ( | const ActsGeometryContext & | gctx | ) | const |
Returns the local -> global tarnsformation from the sector.
gctx | Geometry context carrrying the alignment transformations |
Definition at line 51 of file SpectrometerSector.cxx.
bool MuonGMR4::SpectrometerSector::operator< | ( | const SpectrometerSector & | other | ) | const |
Definition at line 24 of file SpectrometerSector.cxx.
|
delete |
const SpectrometerSector::defineArgs & MuonGMR4::SpectrometerSector::parameters | ( | ) | const |
Returns the reference to the defining parameters of the sector.
Definition at line 39 of file SpectrometerSector.cxx.
Chamber::ReadoutSet MuonGMR4::SpectrometerSector::readoutEles | ( | ) | const |
Returns the list of all associated readout elements.
Definition at line 69 of file SpectrometerSector.cxx.
int MuonGMR4::SpectrometerSector::sector | ( | ) | const |
Returns the sector of the MS-sector.
Definition at line 43 of file SpectrometerSector.cxx.
int8_t MuonGMR4::SpectrometerSector::side | ( | ) | const |
Returns the side of the MS-sector 1 -> A side ; -1 -> C side.
Definition at line 36 of file SpectrometerSector.cxx.
int MuonGMR4::SpectrometerSector::stationPhi | ( | ) | const |
: Returns the station phi of the sector
Definition at line 42 of file SpectrometerSector.cxx.
|
private |
Definition at line 118 of file SpectrometerSector.h.