#include <TracksterLinkingPassthrough.h>
◆ TracksterLinkingPassthrough()
◆ ~TracksterLinkingPassthrough()
ticl::TracksterLinkingPassthrough::~TracksterLinkingPassthrough |
( |
| ) |
|
|
inlineoverride |
◆ fillPSetDescription()
◆ initialize()
◆ linkTracksters()
void TracksterLinkingPassthrough::linkTracksters |
( |
const Inputs & |
input, |
|
|
std::vector< Trackster > & |
resultTracksters, |
|
|
std::vector< std::vector< unsigned int >> & |
linkedResultTracksters, |
|
|
std::vector< std::vector< unsigned int >> & |
linkedTracksterIdToInputTracksterId |
|
) |
| |
|
overridevirtual |
Implements ticl::TracksterLinkingAlgoBase.
Definition at line 6 of file TracksterLinkingPassthrough.cc.
References mps_fire::i, and input.
11 resultTracksters.reserve(
input.tracksters.size());
12 linkedResultTracksters.resize(
input.tracksters.size());
13 linkedTracksterIdToInputTracksterId.resize(
input.tracksters.size());
15 for (
size_t i = 0;
i <
input.tracksters.size(); ++
i) {
16 resultTracksters.push_back(
input.tracksters[
i]);
17 linkedResultTracksters[
i].push_back(resultTracksters.size() - 1);
18 linkedTracksterIdToInputTracksterId[
i].push_back(resultTracksters.size() - 1);
static std::string const input