|
ATLAS Offline Software
|
Go to the documentation of this file.
14 m_muonSpectrometerTrackLink(trackLink), m_muonSpectrometerTrack((*m_muonSpectrometerTrackLink)->
track()) {}
17 m_muonSpectrometerTrackLink(trackLink),
18 m_extrapolatedTrackLink(saTrackLink),
19 m_muonSpectrometerTrack((*m_muonSpectrometerTrackLink)->
track()),
20 m_extContIdx(container_idx) {}
24 m_extrapolatedParticleLink{msoeTrackLink},
25 m_extrapolatedTrackLink{(*msoeTrackLink)->trackLink()},
26 m_muonSpectrometerTrack{oldCandidate.m_muonSpectrometerTrack},
27 m_isCommissioning{oldCandidate.m_isCommissioning},
28 m_assoc_segments{oldCandidate.m_assoc_segments},
29 m_extContIdx{oldCandidate.m_extContIdx} {}
36 std::ostringstream sout;
38 sout <<
" Track has no perigee parameters!";
40 sout <<
" pt " << perigee->momentum().perp() <<
" eta " << perigee->momentum().eta() <<
" phi " << perigee->momentum().phi();
41 sout <<
" hasExtrapolatedTrack " << (
extrapolatedTrack() ?
"yes" :
"no") << std::endl;
const ElementLink< xAOD::TrackParticleContainer > m_extrapolatedParticleLink
element link to the extrapolated muon track particle
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
const Trk::Track * primaryTrack() const
Returns the extrapolated track otherwise the muonSpectrometer.
const Trk::Track * m_muonSpectrometerTrack
pointer to spectrometer track, not owned
const ElementLink< xAOD::TrackParticleContainer > m_muonSpectrometerTrackLink
element link to spectrometer track
std::vector< const Muon::MuonSegment * > m_assoc_segments
Segments associated with the candidate.
const ElementLink< TrackCollection > m_extrapolatedTrackLink
element link to extrapolated track
bool isValid() const
Test to see if the link can be dereferenced.
const ElementLink< xAOD::TrackParticleContainer > & muonSpectrometerTrackLink() const
access spectrometer track, always there
size_t extrapolatedElementID() const
returns the index of the container where the extrapolated track is located
MuonCandidate(const ElementLink< xAOD::TrackParticleContainer > &msTrackLink)
constructor taking an ElementLink to a xAOD::TrackParicle& Users should ensure that the element link ...
std::string toString() const
print candidate to string
const std::vector< const Muon::MuonSegment * > & getSegments() const
returns the vector of associated muon segments
const ElementLink< TrackCollection > & extrapolatedTrackLink() const
access extrapolated track element link
const Trk::Track * extrapolatedTrack() const
access extrapolated track, can be zero if back extrapolation failed
void setSegments(std::vector< const Muon::MuonSegment * > &&segments)
set the vector of associated segments to the candidate
The MuonTagToSegMap is an auxillary construct that links the MuonSegments associated with a combined ...
~MuonCandidate()
destructor
const ElementLink< xAOD::TrackParticleContainer > & extrapolatedParticleLink() const
access extrapolated track particle element link
const Trk::Track & muonSpectrometerTrack() const
access spectrometer track, always there
bool isCommissioning() const
Returns whether the muon belongs to the comissioning chain.
bool m_isCommissioning
flag whether the track belongs to the comissioning stream
size_t m_extContIdx
Index of the MSOE track in the output container.
void setCommissioning(bool b)
Sets ths comissioning flag.