ATLAS Offline Software
MuonSpectrometer
MuonReconstruction
MuonTrackMakers
MuonTrackMakerTools
MuPatPrimitives
src
MuPatSegment.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MuPatPrimitives/MuPatSegment.h
"
6
#include "
MuPatPrimitives/MuPatTrack.h
"
7
#include <iostream>
8
namespace
Muon
{
9
10
void
MuPatSegment::addTrack
(
MuPatTrack
*
track
) {
11
m_associatedTracks
.insert(
track
);
12
}
13
void
MuPatSegment::removeTrack
(
MuPatTrack
*
track
) {
14
// look up track
15
std::set<MuPatTrack*>::iterator
pos
=
m_associatedTracks
.find(
track
);
16
if
(
pos
!=
m_associatedTracks
.end()) {
17
// if found remove it from list
18
m_associatedTracks
.erase(
pos
);
19
}
20
21
}
22
23
}
// namespace Muon
xAOD::iterator
JetConstituentVector::iterator iterator
Definition:
JetConstituentVector.cxx:68
Muon::MuPatSegment::removeTrack
void removeTrack(MuPatTrack *)
remove a track from the segment
Definition:
MuPatSegment.cxx:13
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition:
TrackSystemController.h:45
MuPatSegment.h
Muon::MuPatSegment::addTrack
void addTrack(MuPatTrack *)
add a new track to the segment
Definition:
MuPatSegment.cxx:10
MuPatTrack.h
python.LumiBlobConversion.pos
pos
Definition:
LumiBlobConversion.py:18
Muon::MuPatSegment::m_associatedTracks
std::set< MuPatTrack * > m_associatedTracks
Definition:
MuPatSegment.h:77
Muon::MuPatTrack
track candidate object.
Definition:
MuPatTrack.h:37
xAOD::track
@ track
Definition:
TrackingPrimitives.h:512
Generated on Sun Dec 22 2024 21:15:34 for ATLAS Offline Software by
1.8.18