#include <TracksterInferenceByCNNv4.h>
Public Member Functions | |
void | inputData (const std::vector< reco::CaloCluster > &layerClusters, std::vector< Trackster > &tracksters) override |
void | runInference (std::vector< Trackster > &tracksters) override |
TracksterInferenceByCNNv4 (const edm::ParameterSet &conf) | |
Public Member Functions inherited from ticl::TracksterInferenceAlgoBase | |
TracksterInferenceAlgoBase (const edm::ParameterSet &conf) | |
virtual | ~TracksterInferenceAlgoBase () |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &iDesc) |
Static Public Member Functions inherited from ticl::TracksterInferenceAlgoBase | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Private Attributes | |
int | batchSize_ |
int | doPID_ |
int | doRegression_ |
const float | eidMinClusterEnergy_ |
const int | eidNClusters_ |
const int | eidNLayers_ |
std::vector< std::vector< float > > | input_Data_ |
std::vector< std::vector< int64_t > > | input_shapes_ |
const std::vector< std::string > | inputNames_ |
const std::string | modelPath_ |
const cms::Ort::ONNXRuntime * | onnxSession_ |
const std::vector< std::string > | outputNames_ |
hgcal::RecHitTools | rhtools_ |
std::vector< int > | tracksterIndices_ |
Static Private Attributes | |
static constexpr int | eidNFeatures_ = 3 |
Additional Inherited Members | |
Protected Attributes inherited from ticl::TracksterInferenceAlgoBase | |
int | algo_verbosity_ |
Definition at line 9 of file TracksterInferenceByCNNv4.h.
|
explicit |
Definition at line 14 of file TracksterInferenceByCNNv4.cc.
References modelPath_, and onnxSession_.
|
static |
Definition at line 122 of file TracksterInferenceByCNNv4.cc.
References edm::ParameterSetDescription::add().
|
overridevirtual |
Implements ticl::TracksterInferenceAlgoBase.
Definition at line 32 of file TracksterInferenceByCNNv4.cc.
References a, funct::abs(), b, batchSize_, eidMinClusterEnergy_, eidNClusters_, eidNFeatures_, eidNLayers_, reco::CaloCluster::energy(), reco::CaloCluster::eta(), f, hgcal::RecHitTools::getLayerWithOffset(), reco::CaloCluster::hitsAndFractions(), mps_fire::i, input_Data_, input_shapes_, dqmiolumiharvest::j, isotrackApplyRegressor::k, hltEgammaHGCALIDVarsL1Seeded_cfi::layerClusters, reco::CaloCluster::phi(), rhtools_, jetUpdater_cfi::sort, tracksterIndices_, bphysicsOniaDQM_cfi::vertex, ticl::Trackster::vertex_multiplicity(), AlignmentTracksFromVertexSelector_cfi::vertices, and ticl::Trackster::vertices().
|
overridevirtual |
Implements ticl::TracksterInferenceAlgoBase.
Definition at line 91 of file TracksterInferenceByCNNv4.cc.
References batchSize_, doPID_, doRegression_, HBHEDarkening_cff::energy, mps_fire::i, input_Data_, input_shapes_, inputNames_, onnxSession_, outputNames_, cms::Ort::ONNXRuntime::run(), and tracksterIndices_.
|
private |
Definition at line 34 of file TracksterInferenceByCNNv4.h.
Referenced by inputData(), and runInference().
|
private |
Definition at line 27 of file TracksterInferenceByCNNv4.h.
Referenced by runInference().
|
private |
Definition at line 28 of file TracksterInferenceByCNNv4.h.
Referenced by runInference().
|
private |
Definition at line 23 of file TracksterInferenceByCNNv4.h.
Referenced by inputData().
|
private |
Definition at line 25 of file TracksterInferenceByCNNv4.h.
Referenced by inputData().
|
staticprivate |
Definition at line 26 of file TracksterInferenceByCNNv4.h.
Referenced by inputData().
|
private |
Definition at line 24 of file TracksterInferenceByCNNv4.h.
Referenced by inputData().
|
private |
Definition at line 33 of file TracksterInferenceByCNNv4.h.
Referenced by inputData(), and runInference().
|
private |
Definition at line 31 of file TracksterInferenceByCNNv4.h.
Referenced by inputData(), and runInference().
|
private |
Definition at line 21 of file TracksterInferenceByCNNv4.h.
Referenced by runInference().
|
private |
Definition at line 20 of file TracksterInferenceByCNNv4.h.
Referenced by TracksterInferenceByCNNv4().
|
private |
Definition at line 18 of file TracksterInferenceByCNNv4.h.
Referenced by runInference(), and TracksterInferenceByCNNv4().
|
private |
Definition at line 22 of file TracksterInferenceByCNNv4.h.
Referenced by runInference().
|
private |
Definition at line 30 of file TracksterInferenceByCNNv4.h.
Referenced by inputData().
|
private |
Definition at line 32 of file TracksterInferenceByCNNv4.h.
Referenced by inputData(), and runInference().