ATLAS Offline Software
|
Public Types | |
enum | CopyTarget { CopyTarget::GlobalTrkStates, CopyTarget::ChamberTrkStates } |
Switch indicating whether the track states are copied onto the global cache vector or onto the chamber cache vector. More... | |
Public Member Functions | |
RecoveryState (const Trk::Track &trk) | |
Trk::TrackStates::const_iterator | begin () const |
Trk::TrackStates::const_iterator | end () const |
const Trk::TrackStateOnSurface * | tsos () const |
bool | nextState () |
Increments the internal iterator. More... | |
void | copyState (CopyTarget target) |
const Trk::TrackParameters * | chamberPars () const |
Track parameters of the chamber. More... | |
void | finalizeChamber () |
Sorts the hits accumulated in the current chamber using the first track parameters in that chamber. More... | |
std::unique_ptr< Trk::TrackStates > | releaseStates () |
Moves the recovered track states on surface onto a Trk::TrackStates to be piped into a new Trk::Track object. More... | |
Public Attributes | |
std::set< Identifier > | layersOnTrk {} |
List of all measurement layers on track. More... | |
Identifier | tsosId {} |
Identifier of the current trackStateOnSurface. More... | |
NewTrackStates | chamberStates {} |
Vector of the track states on surface in the current chamber. More... | |
Private Attributes | |
const Trk::Track & | m_trk |
Trk::TrackStates::const_iterator | m_curr_itr {begin()} |
bool | m_nextCalled {false} |
NewTrackStates | m_newStates {} |
std::set< const Trk::TrackStateOnSurface * > | m_copiedStates {} |
Definition at line 53 of file MuonChamberHoleRecoveryTool.h.
Switch indicating whether the track states are copied onto the global cache vector or onto the chamber cache vector.
The chamber cache vector is sorted and moved onto the global
Enumerator | |
---|---|
GlobalTrkStates | |
ChamberTrkStates |
Definition at line 66 of file MuonChamberHoleRecoveryTool.h.
Muon::MuonChamberHoleRecoveryTool::RecoveryState::RecoveryState | ( | const Trk::Track & | trk | ) |
Definition at line 47 of file MuonChamberHoleRecoveryTool.cxx.
Trk::TrackStates::const_iterator Muon::MuonChamberHoleRecoveryTool::RecoveryState::begin | ( | ) | const |
Definition at line 48 of file MuonChamberHoleRecoveryTool.cxx.
const Trk::TrackParameters * Muon::MuonChamberHoleRecoveryTool::RecoveryState::chamberPars | ( | ) | const |
Track parameters of the chamber.
Usually that are the parameters of the first TSOS in the chamberStates vector
Definition at line 70 of file MuonChamberHoleRecoveryTool.cxx.
void Muon::MuonChamberHoleRecoveryTool::RecoveryState::copyState | ( | CopyTarget | target | ) |
Definition at line 65 of file MuonChamberHoleRecoveryTool.cxx.
Trk::TrackStates::const_iterator Muon::MuonChamberHoleRecoveryTool::RecoveryState::end | ( | ) | const |
Definition at line 51 of file MuonChamberHoleRecoveryTool.cxx.
void Muon::MuonChamberHoleRecoveryTool::RecoveryState::finalizeChamber | ( | ) |
Sorts the hits accumulated in the current chamber using the first track parameters in that chamber.
The sorted hits are moved onto the final track state vector
Definition at line 73 of file MuonChamberHoleRecoveryTool.cxx.
bool Muon::MuonChamberHoleRecoveryTool::RecoveryState::nextState | ( | ) |
std::unique_ptr< Trk::TrackStates > Muon::MuonChamberHoleRecoveryTool::RecoveryState::releaseStates | ( | ) |
Moves the recovered track states on surface onto a Trk::TrackStates to be piped into a new Trk::Track object.
Definition at line 80 of file MuonChamberHoleRecoveryTool.cxx.
const Trk::TrackStateOnSurface * Muon::MuonChamberHoleRecoveryTool::RecoveryState::tsos | ( | ) | const |
Definition at line 54 of file MuonChamberHoleRecoveryTool.cxx.
NewTrackStates Muon::MuonChamberHoleRecoveryTool::RecoveryState::chamberStates {} |
Vector of the track states on surface in the current chamber.
Definition at line 78 of file MuonChamberHoleRecoveryTool.h.
std::set<Identifier> Muon::MuonChamberHoleRecoveryTool::RecoveryState::layersOnTrk {} |
List of all measurement layers on track.
Definition at line 73 of file MuonChamberHoleRecoveryTool.h.
|
private |
Definition at line 97 of file MuonChamberHoleRecoveryTool.h.
|
private |
Definition at line 93 of file MuonChamberHoleRecoveryTool.h.
|
private |
Definition at line 96 of file MuonChamberHoleRecoveryTool.h.
|
private |
Definition at line 94 of file MuonChamberHoleRecoveryTool.h.
|
private |
Definition at line 92 of file MuonChamberHoleRecoveryTool.h.
Identifier Muon::MuonChamberHoleRecoveryTool::RecoveryState::tsosId {} |
Identifier of the current trackStateOnSurface.
Definition at line 75 of file MuonChamberHoleRecoveryTool.h.