![]() |
ATLAS Offline Software
|
: Helper struct for fast approximate navigation. More...
#include <SpectrometerSector.h>
Public Types | |
using | BoundPtr_t = std::shared_ptr< const Acts::TrapezoidVolumeBounds > |
Public Member Functions | |
chamberLocation (const Amg::Vector3D &origin, const MuonReadoutElement *reEle, BoundPtr_t bounds) | |
Standard constructor taking the position of the readout element inside the sector frame, the pointer to the readout element itself and the volume bounds enclosing the element volume. More... | |
chamberLocation (const chamberLocation &other)=default | |
Copy constructor. More... | |
chamberLocation (chamberLocation &&other)=default | |
Move constructor. More... | |
chamberLocation & | operator= (const chamberLocation &other)=default |
Copy assignment. More... | |
chamberLocation & | operator= (chamberLocation &&other)=default |
Move assignment. More... | |
bool | insideYZ (const Amg::Vector3D &pos) const |
Returns whether the external position is inside the boundaries in the y-z plane. More... | |
double | minY () const |
Returns the minimum y covered by the chamber location. More... | |
double | maxY () const |
Returns the maximum u covered by the chamber location. More... | |
double | minZ () const |
Returns the minimum y covered by the chamber location. More... | |
double | maxZ () const |
Returns the maximum u covered by the chamber location. More... | |
double | width (const double y0) const |
Calculate the strip / tube length at a given position in the y-z plane. More... | |
const MuonReadoutElement * | readoutEle () const |
Returns the poter to the associate readout element More... | |
const BoundPtr_t & | bounds () const |
Returns the pointer to the associate bounds. More... | |
const Amg::Vector3D & | location () const |
Returns the location. More... | |
Private Attributes | |
Amg::Vector3D | m_origin {Amg::Vector3D::Zero()} |
Origin vector of the readout element inside the spectrometer frame. More... | |
const MuonReadoutElement * | m_reEle {nullptr} |
Associated readout element. More... | |
BoundPtr_t | m_bounds {} |
Pointer to the associated bounds. More... | |
: Helper struct for fast approximate navigation.
Maps regions instrumented by chambers in the y-z frame. Used in pattern recognition.
Definition at line 48 of file SpectrometerSector.h.
using MuonGMR4::SpectrometerSector::chamberLocation::BoundPtr_t = std::shared_ptr<const Acts::TrapezoidVolumeBounds> |
Definition at line 51 of file SpectrometerSector.h.
|
inline |
Standard constructor taking the position of the readout element inside the sector frame, the pointer to the readout element itself and the volume bounds enclosing the element volume.
origin | Position of the readout element centre expressed in the chamber frame |
reEle | Pointer to the readout element of interest |
bounds | Pointer to the bounds of interest. |
Definition at line 58 of file SpectrometerSector.h.
|
default |
Copy constructor.
|
default |
Move constructor.
|
inline |
|
inline |
|
inline |
|
inline |
Returns the maximum u covered by the chamber location.
Definition at line 80 of file SpectrometerSector.h.
|
inline |
Returns the maximum u covered by the chamber location.
Definition at line 84 of file SpectrometerSector.h.
|
inline |
Returns the minimum y covered by the chamber location.
Definition at line 78 of file SpectrometerSector.h.
|
inline |
Returns the minimum y covered by the chamber location.
Definition at line 82 of file SpectrometerSector.h.
|
default |
Move assignment.
|
default |
Copy assignment.
|
inline |
Returns the poter to the associate readout element
Definition at line 92 of file SpectrometerSector.h.
|
inline |
Calculate the strip / tube length at a given position in the y-z plane.
Definition at line 86 of file SpectrometerSector.h.
|
private |
Pointer to the associated bounds.
Definition at line 103 of file SpectrometerSector.h.
|
private |
Origin vector of the readout element inside the spectrometer frame.
Definition at line 99 of file SpectrometerSector.h.
|
private |
Associated readout element.
Definition at line 101 of file SpectrometerSector.h.