Public Member Functions | |
void | beginRun (edm::Run const &iEvent, edm::EventSetup const &es) override |
void | produce (edm::Event &, const edm::EventSetup &) override |
TracksterLinksProducer (const edm::ParameterSet &ps, const ONNXRuntime *) | |
~TracksterLinksProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< ONNXRuntime > > | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | globalEndJob (const ONNXRuntime *) |
static std::unique_ptr< ONNXRuntime > | initializeGlobalCache (const edm::ParameterSet &iConfig) |
Private Member Functions | |
void | dumpTrackster (const Trackster &) const |
void | energyRegressionAndID (const std::vector< reco::CaloCluster > &layerClusters, const tensorflow::Session *, std::vector< Trackster > &result) const |
void | printTrackstersDebug (const std::vector< Trackster > &, const char *label) const |
Static Private Attributes | |
static constexpr int | eidNFeatures_ = 3 |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< ONNXRuntime > > | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Definition at line 51 of file TracksterLinksProducer.cc.
|
explicit |
Definition at line 102 of file TracksterLinksProducer.cc.
References algoType_, detector_, get, edm::ParameterSet::getParameter(), hdc_token_, linkingAlgo_, hltTiclTracksterLinks_cfi::linkingPSet, original_masks_tokens_, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, and tracksters_tokens_.
|
inlineoverride |
Definition at line 54 of file TracksterLinksProducer.cc.
|
override |
Definition at line 163 of file TracksterLinksProducer.cc.
References algoType_, bfield_token_, relativeConstraints::geom, geometry_token_, edm::EventSetup::getHandle(), hdc_token_, hgcons_, linkingAlgo_, edm::ESHandle< T >::product(), TrackCandidateProducer_cfi::propagator, propagator_token_, rhtools_, and hgcal::RecHitTools::setGeometry().
|
private |
Definition at line 178 of file TracksterLinksProducer.cc.
References alignBH_cfg::fixed, nano_mu_digi_cff::float, LogDebug, AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::s, mathSSE::sqrt(), and submitPVValidationJobs::t.
|
private |
Definition at line 200 of file TracksterLinksProducer.cc.
References a, funct::abs(), b, HLT_FULL_cff::batchSize, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), data, eidInputName_, eidMinClusterEnergy_, eidNClusters_, eidNFeatures_, eidNLayers_, eidOutputNameEnergy_, eidOutputNameId_, hcalRecHitTable_cff::energy, reco::CaloCluster::energy(), reco::CaloCluster::eta(), f, lowptgsfeleseed::features(), nano_mu_digi_cff::float, hgcal::RecHitTools::getLayerWithOffset(), reco::CaloCluster::hitsAndFractions(), mps_fire::i, input, crabTemplate::inputList, createfilelist::int, dqmiolumiharvest::j, dqmdumpme::k, MainPageGenerator::l, hltEgammaHGCALIDVarsL1Seeded_cfi::layerClusters, jetsAK4_CHS_cff::outputNames, PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, reco::CaloCluster::phi(), rhtools_, tensorflow::run(), l1trig_cff::shape, jetUpdater_cfi::sort, submitPVValidationJobs::t, ticl::Trackster::vertex_multiplicity(), and ticl::Trackster::vertices().
Referenced by produce().
|
static |
Definition at line 418 of file TracksterLinksProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addNode(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 161 of file TracksterLinksProducer.cc.
|
static |
Definition at line 153 of file TracksterLinksProducer.cc.
References edm::FileInPath::fullPath(), and edm::ParameterSet::getParameter().
|
private |
Definition at line 393 of file TracksterLinksProducer.cc.
References alignBH_cfg::fixed, nano_mu_digi_cff::float, label, dqm-mbProfile::log, LogDebug, AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::s, mathSSE::sqrt(), and submitPVValidationJobs::t.
|
override |
Definition at line 326 of file TracksterLinksProducer.cc.
References ticl::assignPCAtoTracksters(), clusters_token_, clustersTime_token_, energyRegressionAndID(), edm::Event::get(), edm::Event::getByToken(), edm::EventSetup::getData(), hgcal::RecHitTools::getPositionLayer(), mps_fire::i, input, dqmiolumiharvest::j, hgcal::RecHitTools::lastLayerEE(), hltEgammaHGCALIDVarsL1Seeded_cfi::layerClusters, linkingAlgo_, eostools::move(), original_masks_tokens_, edm::Event::put(), regressionAndPid_, rhtools_, tfDnnToken_, tfSession_, tracksters_tokens_, and z.
|
private |
Definition at line 70 of file TracksterLinksProducer.cc.
Referenced by beginRun(), and TracksterLinksProducer().
|
private |
Definition at line 95 of file TracksterLinksProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 73 of file TracksterLinksProducer.cc.
Referenced by produce().
|
private |
Definition at line 74 of file TracksterLinksProducer.cc.
Referenced by produce().
|
private |
Definition at line 92 of file TracksterLinksProducer.cc.
Referenced by TracksterLinksProducer().
|
private |
Definition at line 80 of file TracksterLinksProducer.cc.
Referenced by energyRegressionAndID().
|
private |
Definition at line 83 of file TracksterLinksProducer.cc.
Referenced by energyRegressionAndID().
|
private |
Definition at line 85 of file TracksterLinksProducer.cc.
Referenced by energyRegressionAndID().
|
staticprivate |
Definition at line 86 of file TracksterLinksProducer.cc.
Referenced by energyRegressionAndID().
|
private |
Definition at line 84 of file TracksterLinksProducer.cc.
Referenced by energyRegressionAndID().
|
private |
Definition at line 81 of file TracksterLinksProducer.cc.
Referenced by energyRegressionAndID().
|
private |
Definition at line 82 of file TracksterLinksProducer.cc.
Referenced by energyRegressionAndID().
|
private |
Definition at line 87 of file TracksterLinksProducer.cc.
|
private |
Definition at line 91 of file TracksterLinksProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 99 of file TracksterLinksProducer.cc.
Referenced by beginRun(), and TracksterLinksProducer().
|
private |
Definition at line 97 of file TracksterLinksProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 69 of file TracksterLinksProducer.cc.
Referenced by beginRun(), produce(), and TracksterLinksProducer().
|
private |
Definition at line 89 of file TracksterLinksProducer.cc.
Referenced by produce(), and TracksterLinksProducer().
|
private |
Definition at line 96 of file TracksterLinksProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 93 of file TracksterLinksProducer.cc.
|
private |
Definition at line 76 of file TracksterLinksProducer.cc.
Referenced by produce().
|
private |
Definition at line 98 of file TracksterLinksProducer.cc.
Referenced by beginRun(), energyRegressionAndID(), and produce().
|
private |
Definition at line 77 of file TracksterLinksProducer.cc.
|
private |
Definition at line 78 of file TracksterLinksProducer.cc.
Referenced by produce().
|
private |
Definition at line 79 of file TracksterLinksProducer.cc.
Referenced by produce().
|
private |
Definition at line 72 of file TracksterLinksProducer.cc.
Referenced by produce(), and TracksterLinksProducer().