CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Static Public Member Functions | Protected Attributes
ticl::TracksterLinkingAlgoBase Class Referenceabstract

#include <TracksterLinkingAlgoBase.h>

Inheritance diagram for ticl::TracksterLinkingAlgoBase:
ticl::TracksterLinkingbyFastJet ticl::TracksterLinkingbySkeletons ticl::TracksterLinkingbySuperClusteringDNN ticl::TracksterLinkingbySuperClusteringMustache ticl::TracksterLinkingRecovery

Classes

struct  Inputs
 

Public Member Functions

virtual void initialize (const HGCalDDDConstants *hgcons, const hgcal::RecHitTools rhtools, const edm::ESHandle< MagneticField > bfieldH, const edm::ESHandle< Propagator > propH)=0
 
virtual void linkTracksters (const Inputs &input, std::vector< Trackster > &resultTracksters, std::vector< std::vector< unsigned int >> &linkedResultTracksters, std::vector< std::vector< unsigned int >> &linkedTracksterIdToInputTracksterId)=0
 
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 ()
 

Static Public Member Functions

static void fillPSetDescription (edm::ParameterSetDescription &desc)
 

Protected Attributes

int algo_verbosity_
 
cms::Ort::ONNXRuntime const * onnxRuntime_
 

Detailed Description

Definition at line 40 of file TracksterLinkingAlgoBase.h.

Constructor & Destructor Documentation

◆ TracksterLinkingAlgoBase()

ticl::TracksterLinkingAlgoBase::TracksterLinkingAlgoBase ( const edm::ParameterSet conf,
edm::ConsumesCollector  ,
cms::Ort::ONNXRuntime const *  onnxRuntime = nullptr 
)
inline
Parameters
confthe configuration of the plugin
onnxRuntimethe ONNXRuntime, if onnxModelPath was provided in plugin configuration (nullptr otherwise)

Definition at line 45 of file TracksterLinkingAlgoBase.h.

48  : algo_verbosity_(conf.getParameter<int>("algo_verbosity")), onnxRuntime_(onnxRuntime) {}
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
cms::Ort::ONNXRuntime const * onnxRuntime_

◆ ~TracksterLinkingAlgoBase()

virtual ticl::TracksterLinkingAlgoBase::~TracksterLinkingAlgoBase ( )
inlinevirtual

Definition at line 49 of file TracksterLinkingAlgoBase.h.

49 {}

Member Function Documentation

◆ fillPSetDescription()

static void ticl::TracksterLinkingAlgoBase::fillPSetDescription ( edm::ParameterSetDescription desc)
inlinestatic

◆ initialize()

virtual void ticl::TracksterLinkingAlgoBase::initialize ( const HGCalDDDConstants hgcons,
const hgcal::RecHitTools  rhtools,
const edm::ESHandle< MagneticField bfieldH,
const edm::ESHandle< Propagator propH 
)
pure virtual

◆ linkTracksters()

virtual void ticl::TracksterLinkingAlgoBase::linkTracksters ( const Inputs input,
std::vector< Trackster > &  resultTracksters,
std::vector< std::vector< unsigned int >> &  linkedResultTracksters,
std::vector< std::vector< unsigned int >> &  linkedTracksterIdToInputTracksterId 
)
pure virtual

◆ setEvent()

virtual void ticl::TracksterLinkingAlgoBase::setEvent ( edm::Event iEvent,
edm::EventSetup const &  iEventSetup 
)
inlinevirtual

Reimplemented in ticl::TracksterLinkingbySuperClusteringMustache.

Definition at line 77 of file TracksterLinkingAlgoBase.h.

77 {}

Member Data Documentation

◆ algo_verbosity_

int ticl::TracksterLinkingAlgoBase::algo_verbosity_
protected

Definition at line 79 of file TracksterLinkingAlgoBase.h.

◆ onnxRuntime_

cms::Ort::ONNXRuntime const* ticl::TracksterLinkingAlgoBase::onnxRuntime_
protected