ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
MuPatSegment.h
MuPatTrack.h
Muon::MuPatSegment::removeTrack
void removeTrack(MuPatTrack *)
remove a track from the segment
Definition
MuPatSegment.cxx:13
Muon::MuPatSegment::m_associatedTracks
std::set< MuPatTrack * > m_associatedTracks
Definition
MuPatSegment.h:77
Muon::MuPatSegment::addTrack
void addTrack(MuPatTrack *)
add a new track to the segment
Definition
MuPatSegment.cxx:10
Muon::MuPatTrack
track candidate object.
Definition
MuPatTrack.h:37
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Generated on
for ATLAS Offline Software by
1.17.0