![]() |
ATLAS Offline Software
|
#include <MsTrackSeed.h>
Public Types | |
enum | Location : int8_t { Location::Undefined =-1, Location::Barrel, Location::Endcap } |
Enum defining whether the seed is made in the endcap / barrel. More... | |
Public Member Functions | |
MsTrackSeed (const Location loc) | |
Constructor with location defintion. More... | |
const std::vector< const xAOD::MuonSegment * > & | segments () const |
Returns the vector of associated segments. More... | |
const std::vector< const Segment * > & | detailedSegments () const |
Returns the list of detailed segments. More... | |
void | addSegment (const xAOD::MuonSegment *seg) |
Append a segment to the seed. More... | |
const std::unordered_set< const SpacePointBucket * > & | buckets () const |
Returns the list of associated buckets. More... | |
const Amg::Vector3D & | position () const |
Returns the seed's position. More... | |
void | setPosition (Amg::Vector3D &&pos) |
set the seed's position More... | |
const MuonGMR4::SpectrometerSector * | msSector () const |
Returns the associated MS sector. More... | |
Location | location () const |
Returns the location of the seed. More... | |
bool | operator== (const MsTrackSeed &other) const |
Equality operator. More... | |
bool | operator< (const MsTrackSeed &other) const |
Returns if all segments of this seed are also in the seed as well. More... | |
Static Private Member Functions | |
static bool | compatibleSectors (const MuonGMR4::SpectrometerSector *secA, const MuonGMR4::SpectrometerSector *secB) |
Returns whether two spectrometer sectors may be compatbile. More... | |
Private Attributes | |
Location | m_loc {Location::Undefined} |
Amg::Vector3D | m_pos {Amg::Vector3D::Zero()} |
std::vector< const xAOD::MuonSegment * > | m_segments {} |
std::vector< const Segment * > | m_detSegments {} |
std::unordered_set< const SpacePointBucket * > | m_buckets {} |
Definition at line 18 of file MsTrackSeed.h.
|
strong |
Enum defining whether the seed is made in the endcap / barrel.
Enumerator | |
---|---|
Undefined | |
Barrel | |
Endcap |
Definition at line 21 of file MsTrackSeed.h.
void MuonR4::MsTrackSeed::addSegment | ( | const xAOD::MuonSegment * | seg | ) |
const std::unordered_set< const SpacePointBucket * > & MuonR4::MsTrackSeed::buckets | ( | ) | const |
|
staticprivate |
Returns whether two spectrometer sectors may be compatbile.
secA | First sector to compare |
secB | Second sector to compare |
Definition at line 69 of file MsTrackSeed.cxx.
MsTrackSeed::Location MuonR4::MsTrackSeed::location | ( | ) | const |
const MuonGMR4::SpectrometerSector * MuonR4::MsTrackSeed::msSector | ( | ) | const |
Returns the associated MS sector.
Definition at line 66 of file MsTrackSeed.cxx.
bool MuonR4::MsTrackSeed::operator< | ( | const MsTrackSeed & | other | ) | const |
Returns if all segments of this seed are also in the seed as well.
Definition at line 35 of file MsTrackSeed.cxx.
bool MuonR4::MsTrackSeed::operator== | ( | const MsTrackSeed & | other | ) | const |
const Amg::Vector3D & MuonR4::MsTrackSeed::position | ( | ) | const |
const std::vector< const xAOD::MuonSegment * > & MuonR4::MsTrackSeed::segments | ( | ) | const |
void MuonR4::MsTrackSeed::setPosition | ( | Amg::Vector3D && | pos | ) |
set the seed's position
Definition at line 65 of file MsTrackSeed.cxx.
|
private |
Definition at line 59 of file MsTrackSeed.h.
Definition at line 58 of file MsTrackSeed.h.
|
private |
Definition at line 55 of file MsTrackSeed.h.
|
private |
Definition at line 56 of file MsTrackSeed.h.
|
private |
Definition at line 57 of file MsTrackSeed.h.