#include <TracksterLinkingPassthrough.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 |
|
| TracksterLinkingPassthrough (const edm::ParameterSet &conf, edm::ConsumesCollector iC, cms::Ort::ONNXRuntime const *onnxRuntime=nullptr) |
|
| ~TracksterLinkingPassthrough () 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 () |
|
◆ TracksterLinkingPassthrough()
Definition at line 14 of file TracksterLinkingPassthrough.h.
TracksterLinkingAlgoBase(const edm::ParameterSet &conf, edm::ConsumesCollector, cms::Ort::ONNXRuntime const *onnxRuntime=nullptr)
◆ ~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