![]() |
ATLAS Offline Software
|
#include <InDetCandidate.h>
Public Member Functions | |
InDetCandidate (const xAOD::TrackParticle &idTrack) | |
constructor taking a xAOD::TrackParicle& Users should ensure that the lifetime of the idTrack object is longer than the InDetCandidate as it internally caches a pointer to it. More... | |
InDetCandidate (const ElementLink< xAOD::TrackParticleContainer > &idTrackLink) | |
constructor taking an ElementLink to a xAOD::TrackParicle& Users should ensure that the element link is valid and the lifetime of the idTrack object is longer than the InDetCandidate as it internally caches a pointer to it. More... | |
bool | operator== (const InDetCandidate &other) const |
Define two InDetCandidates to be equal if they are built from the same track. More... | |
~InDetCandidate () | |
destructor More... | |
const xAOD::TrackParticle & | indetTrackParticle () const |
access TrackParticle More... | |
const ElementLink< xAOD::TrackParticleContainer > & | indetTrackParticleLink () const |
access TrackParticleLink More... | |
const Muon::MuonSystemExtension * | getExtension () const |
const Trk::CaloExtension * | getCaloExtension () const |
void | setExtension (std::unique_ptr< Muon::MuonSystemExtension > extension) |
void | setExtension (std::unique_ptr< Trk::CaloExtension > &extension) |
set CaloExtension More... | |
void | setExtension (const Trk::CaloExtension *extension) |
bool | isSiliconAssociated () const |
Returns true if this candidate was formed from a special far forward InDet track. More... | |
void | setSiliconAssociated (bool) |
Pass true if this candiate was created from a special far forward InDet track. More... | |
std::string | toString () const |
print candidate to string More... | |
Private Attributes | |
ElementLink< xAOD::TrackParticleContainer > | m_idTrackParticleLink |
ElementLink to the InDet TrackParticle. More... | |
const xAOD::TrackParticle * | m_idTrackParticle {nullptr} |
cached pointer to the InDet TrackParticle More... | |
bool | m_siAssociated {false} |
Was this created using a special far forward indet track. More... | |
std::unique_ptr< Muon::MuonSystemExtension > | m_extension {nullptr} |
std::unique_ptr< Trk::CaloExtension > | m_calo_extension {nullptr} |
const Trk::CaloExtension * | m_calo_extension_ptr {nullptr} |
Definition at line 18 of file InDetCandidate.h.
MuonCombined::InDetCandidate::InDetCandidate | ( | const xAOD::TrackParticle & | idTrack | ) |
constructor taking a xAOD::TrackParicle& Users should ensure that the lifetime of the idTrack object is longer than the InDetCandidate as it internally caches a pointer to it.
Definition at line 11 of file InDetCandidate.cxx.
MuonCombined::InDetCandidate::InDetCandidate | ( | const ElementLink< xAOD::TrackParticleContainer > & | idTrackLink | ) |
constructor taking an ElementLink to a xAOD::TrackParicle& Users should ensure that the element link is valid and the lifetime of the idTrack object is longer than the InDetCandidate as it internally caches a pointer to it.
Definition at line 13 of file InDetCandidate.cxx.
|
default |
destructor
const Trk::CaloExtension * MuonCombined::InDetCandidate::getCaloExtension | ( | ) | const |
Definition at line 47 of file InDetCandidate.cxx.
const Muon::MuonSystemExtension * MuonCombined::InDetCandidate::getExtension | ( | ) | const |
Definition at line 46 of file InDetCandidate.cxx.
const xAOD::TrackParticle & MuonCombined::InDetCandidate::indetTrackParticle | ( | ) | const |
const ElementLink< xAOD::TrackParticleContainer > & MuonCombined::InDetCandidate::indetTrackParticleLink | ( | ) | const |
bool MuonCombined::InDetCandidate::isSiliconAssociated | ( | ) | const |
Returns true if this candidate was formed from a special far forward InDet track.
Definition at line 35 of file InDetCandidate.cxx.
bool MuonCombined::InDetCandidate::operator== | ( | const InDetCandidate & | other | ) | const |
Define two InDetCandidates to be equal if they are built from the same track.
Definition at line 49 of file InDetCandidate.cxx.
void MuonCombined::InDetCandidate::setExtension | ( | const Trk::CaloExtension * | extension | ) |
Definition at line 44 of file InDetCandidate.cxx.
void MuonCombined::InDetCandidate::setExtension | ( | std::unique_ptr< Muon::MuonSystemExtension > | extension | ) |
Definition at line 39 of file InDetCandidate.cxx.
void MuonCombined::InDetCandidate::setExtension | ( | std::unique_ptr< Trk::CaloExtension > & | extension | ) |
void MuonCombined::InDetCandidate::setSiliconAssociated | ( | bool | value | ) |
Pass true if this candiate was created from a special far forward InDet track.
Definition at line 37 of file InDetCandidate.cxx.
std::string MuonCombined::InDetCandidate::toString | ( | ) | const |
print candidate to string
Definition at line 17 of file InDetCandidate.cxx.
|
private |
Definition at line 74 of file InDetCandidate.h.
|
private |
Definition at line 75 of file InDetCandidate.h.
|
private |
Definition at line 73 of file InDetCandidate.h.
|
private |
cached pointer to the InDet TrackParticle
Definition at line 68 of file InDetCandidate.h.
|
private |
ElementLink to the InDet TrackParticle.
Definition at line 65 of file InDetCandidate.h.
|
private |
Was this created using a special far forward indet track.
Definition at line 71 of file InDetCandidate.h.