#include <TracksterLinkingRecovery.h>
|
void | initialize (const HGCalDDDConstants *hgcons, const hgcal::RecHitTools rhtools, const edm::ESHandle< MagneticField > bfieldH, const edm::ESHandle< Propagator > propH) override |
|
void | linkTracksters (const Inputs &input, std::vector< Trackster > &resultTracksters, std::vector< std::vector< unsigned int >> &linkedResultTracksters, std::vector< std::vector< unsigned int >> &linkedTracksterIdToInputTracksterId) override |
|
| TracksterLinkingRecovery (const edm::ParameterSet &conf, edm::ConsumesCollector iC, cms::Ort::ONNXRuntime const *onnxRuntime=nullptr) |
|
| ~TracksterLinkingRecovery () override |
|
virtual void | setEvent (edm::Event &iEvent, edm::EventSetup const &iEventSetup) |
|
| TracksterLinkingAlgoBase (const edm::ParameterSet &conf, edm::ConsumesCollector, cms::Ort::ONNXRuntime const *onnxRuntime=nullptr) |
|
virtual | ~TracksterLinkingAlgoBase () |
|
Definition at line 12 of file TracksterLinkingRecovery.h.
◆ TracksterLinkingRecovery()
Definition at line 14 of file TracksterLinkingRecovery.h.
TracksterLinkingAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector, cms::Ort::ONNXRuntime const *onnxRuntime=nullptr)
◆ ~TracksterLinkingRecovery()
ticl::TracksterLinkingRecovery::~TracksterLinkingRecovery |
( |
| ) |
|
|
inlineoverride |
◆ fillPSetDescription()
◆ initialize()
◆ linkTracksters()
void TracksterLinkingRecovery::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 TracksterLinkingRecovery.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