![]() |
ATLAS Offline Software
|
#include <MsTrackSeed.h>
Public Types | |
| enum class | Location : int8_t { Undefined =-1 , Barrel , Endcap } |
| Enum defining whether the seed is made in the endcap / barrel. More... | |
Public Member Functions | |
| MsTrackSeed (const Location loc, const ExpandedSector sector) | |
| Constructor with location defintion. | |
| std::span< const xAOD::MuonSegment *const > | segments () const |
| Returns the vector of associated segments. | |
| std::span< const Muon::MuonStationIndex::StIndex > | stations () const |
| The station indices of the associated sements. | |
| std::vector< const SpacePointBucket * > | buckets () const |
| Returns the list of associated buckets. | |
| void | addSegment (const xAOD::MuonSegment *seg) |
| Append a segment to the seed. | |
| void | replaceSegment (const xAOD::MuonSegment *exist, const xAOD::MuonSegment *updated) |
| Replaces an already added segment in the seed with a better suited one. | |
| const Amg::Vector3D & | position () const |
| Returns the seed's position. | |
| void | setPosition (Amg::Vector3D &&pos) |
| set the seed's position | |
| Location | location () const |
| Returns the location of the seed. | |
| ExpandedSector | sector () const |
| Returns the seed's sector. | |
| std::size_t | nStations () const |
| Returns the number of stations crossed by the seed. | |
| std::size_t | nMeasurements () const |
| Returns the number of measurements on the seed. | |
| void | prepareOverlap (std::shared_ptr< std::uint8_t > marker) |
| Prepare the overlap marker. | |
| void | triggerOverlapMarker () |
| Trigger the overlap marker. | |
| bool | hasOverlap () const |
| Returns whether the seed has been marked for overlap. | |
Static Public Member Functions | |
| static std::string | toString (const Location loc) |
Private Member Functions | |
| std::ostream & | print (std::ostream &ostr) const |
| float | pathLength (const xAOD::MuonSegment &segment) const |
| Return the position of the reference segment if exists. | |
Private Attributes | |
| Location | m_loc {Location::Undefined} |
| Location variable. | |
| ExpandedSector | m_sector {static_cast<std::int8_t>(0)} |
| The expanded sector of the seed (centre/left/right) + sector. | |
| Amg::Vector3D | m_pos {Amg::Vector3D::Zero()} |
| Posiion of the seed in the seeding space. | |
| std::vector< const xAOD::MuonSegment * > | m_segments {} |
| List of associated segments. | |
| std::size_t | m_nMeasurements {0ul} |
| Number of measurements in the seed. | |
| std::vector< Muon::MuonStationIndex::StIndex > | m_stations {} |
| Number of stations. | |
| std::vector< std::shared_ptr< std::uint8_t > > | m_overlapMarker {} |
| The overlap marker. | |
Friends | |
| std::ostream & | operator<< (std::ostream &ostr, const Location loc) |
| std::ostream & | operator<< (std::ostream &ostr, const MuonR4::MsTrackSeed &seed) |
Definition at line 22 of file MsTrackSeed.h.
|
strong |
Enum defining whether the seed is made in the endcap / barrel.
| Enumerator | |
|---|---|
| Undefined | |
| Barrel | |
| Endcap | |
Definition at line 25 of file MsTrackSeed.h.
|
explicit |
Constructor with location defintion.
| loc | Localtion definition whether the seed is constructed on the barrel or on the endcap surface |
| sector | In which tree sector is the seed constructed: sector: 2*MS-sector +- Overlap |
Definition at line 37 of file MsTrackSeed.cxx.
| void MuonR4::MsTrackSeed::addSegment | ( | const xAOD::MuonSegment * | seg | ) |
Append a segment to the seed.
Definition at line 63 of file MsTrackSeed.cxx.
| std::vector< const SpacePointBucket * > MuonR4::MsTrackSeed::buckets | ( | ) | const |
Returns the list of associated buckets.
Definition at line 40 of file MsTrackSeed.cxx.
| bool MuonR4::MsTrackSeed::hasOverlap | ( | ) | const |
Returns whether the seed has been marked for overlap.
Definition at line 97 of file MsTrackSeed.cxx.
| MsTrackSeed::Location MuonR4::MsTrackSeed::location | ( | ) | const |
| std::size_t MuonR4::MsTrackSeed::nMeasurements | ( | ) | const |
| std::size_t MuonR4::MsTrackSeed::nStations | ( | ) | const |
|
private |
Return the position of the reference segment if exists.
Definition at line 79 of file MsTrackSeed.cxx.
| const Amg::Vector3D & MuonR4::MsTrackSeed::position | ( | ) | const |
Returns the seed's position.
Definition at line 77 of file MsTrackSeed.cxx.
| void MuonR4::MsTrackSeed::prepareOverlap | ( | std::shared_ptr< std::uint8_t > | marker | ) |
Prepare the overlap marker.
Definition at line 89 of file MsTrackSeed.cxx.
|
private |
Definition at line 18 of file MsTrackSeed.cxx.
| void MuonR4::MsTrackSeed::replaceSegment | ( | const xAOD::MuonSegment * | exist, |
| const xAOD::MuonSegment * | updated ) |
Replaces an already added segment in the seed with a better suited one.
| exist | Pointer to the segment that is already part of the seed (Exception is thrown if not) |
| updated | Pointer to the segment with which the segment is replaced with |
Definition at line 51 of file MsTrackSeed.cxx.
|
inline |
| std::span< const xAOD::MuonSegment *const > MuonR4::MsTrackSeed::segments | ( | ) | const |
| void MuonR4::MsTrackSeed::setPosition | ( | Amg::Vector3D && | pos | ) |
set the seed's position
Definition at line 78 of file MsTrackSeed.cxx.
| std::span< const Muon::MuonStationIndex::StIndex > MuonR4::MsTrackSeed::stations | ( | ) | const |
The station indices of the associated sements.
Definition at line 60 of file MsTrackSeed.cxx.
Definition at line 28 of file MsTrackSeed.cxx.
| void MuonR4::MsTrackSeed::triggerOverlapMarker | ( | ) |
Trigger the overlap marker.
Shared seeds are not passed
Definition at line 93 of file MsTrackSeed.cxx.
Definition at line 31 of file MsTrackSeed.h.
|
friend |
Definition at line 34 of file MsTrackSeed.h.
|
private |
|
private |
|
private |
|
private |
Posiion of the seed in the seeding space.
Definition at line 86 of file MsTrackSeed.h.
|
private |
The expanded sector of the seed (centre/left/right) + sector.
Definition at line 84 of file MsTrackSeed.h.
|
private |
|
private |