![]() |
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::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. | |
Static Public Member Functions | |
| static std::string | toString (const Location loc) |
Private Attributes | |
| Location | m_loc {Location::Undefined} |
| Location variable. | |
| ExpandedSector | m_sector {static_cast<std::int8_t>(0)} |
| Amg::Vector3D | m_pos {Amg::Vector3D::Zero()} |
| std::vector< const xAOD::MuonSegment * > | m_segments {} |
Friends | |
| std::ostream & | operator<< (std::ostream &ostr, const Location loc) |
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.
| MuonR4::MsTrackSeed::MsTrackSeed | ( | const Location | loc, |
| const ExpandedSector | sector ) |
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 52 of file MsTrackSeed.cxx.
| void MuonR4::MsTrackSeed::addSegment | ( | const xAOD::MuonSegment * | seg | ) |
Append a segment to the seed.
Definition at line 75 of file MsTrackSeed.cxx.
| std::vector< const SpacePointBucket * > MuonR4::MsTrackSeed::buckets | ( | ) | const |
Returns the list of associated buckets.
Definition at line 55 of file MsTrackSeed.cxx.
| MsTrackSeed::Location MuonR4::MsTrackSeed::location | ( | ) | const |
| const Amg::Vector3D & MuonR4::MsTrackSeed::position | ( | ) | const |
| 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 66 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 84 of file MsTrackSeed.cxx.
Definition at line 43 of file MsTrackSeed.cxx.
Definition at line 31 of file MsTrackSeed.h.
|
private |
|
private |
Definition at line 66 of file MsTrackSeed.h.
|
private |
Definition at line 65 of file MsTrackSeed.h.
|
private |
Definition at line 67 of file MsTrackSeed.h.