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 | printTrackstersDebug (const std::vector< Trackster > &, const char *label) const |
Private Attributes | |
std::string | algoType_ |
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | bfield_token_ |
const edm::EDGetTokenT< std::vector< reco::CaloCluster > > | clusters_token_ |
const edm::EDGetTokenT< edm::ValueMap< std::pair< float, float > > > | clustersTime_token_ |
const std::string | detector_ |
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | geometry_token_ |
edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > | hdc_token_ |
const HGCalDDDConstants * | hgcons_ |
std::unique_ptr< TracksterInferenceAlgoBase > | inferenceAlgo_ |
std::unique_ptr< TracksterLinkingAlgoBase > | linkingAlgo_ |
std::vector< edm::EDGetTokenT< std::vector< float > > > | original_masks_tokens_ |
const edm::ESGetToken< Propagator, TrackingComponentsRecord > | propagator_token_ |
const std::string | propName_ |
const bool | regressionAndPid_ |
hgcal::RecHitTools | rhtools_ |
std::vector< edm::EDGetTokenT< std::vector< Trackster > > > | tracksters_tokens_ |
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 52 of file TracksterLinksProducer.cc.
|
explicit |
Definition at line 90 of file TracksterLinksProducer.cc.
References algoType_, detector_, get, edm::ParameterSet::getParameter(), hdc_token_, inferenceAlgo_, linkingAlgo_, hltTiclTracksterLinks_cfi::linkingPSet, original_masks_tokens_, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, and tracksters_tokens_.
|
inlineoverride |
Definition at line 55 of file TracksterLinksProducer.cc.
|
override |
Definition at line 146 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 161 of file TracksterLinksProducer.cc.
References alignBH_cfg::fixed, ALCARECOEcalPhiSym_cff::float, LogDebug, AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::s, mathSSE::sqrt(), and submitPVValidationJobs::t.
|
static |
Definition at line 278 of file TracksterLinksProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addNode(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 144 of file TracksterLinksProducer.cc.
|
static |
Definition at line 136 of file TracksterLinksProducer.cc.
References edm::FileInPath::fullPath(), and edm::ParameterSet::getParameter().
|
private |
Definition at line 253 of file TracksterLinksProducer.cc.
References alignBH_cfg::fixed, ALCARECOEcalPhiSym_cff::float, label, CrabHelper::log, LogDebug, AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::s, mathSSE::sqrt(), submitPVValidationJobs::t, and HitToTracksterAssociation_cfi::tracksters.
|
override |
Definition at line 183 of file TracksterLinksProducer.cc.
References ticl::assignPCAtoTracksters(), clusters_token_, clustersTime_token_, edm::Event::get(), edm::Event::getByToken(), hgcal::RecHitTools::getPositionLayer(), mps_fire::i, inferenceAlgo_, input, dqmiolumiharvest::j, hgcal::RecHitTools::lastLayerEE(), hltEgammaHGCALIDVarsL1Seeded_cfi::layerClusters, linkingAlgo_, eostools::move(), original_masks_tokens_, edm::Event::put(), regressionAndPid_, rhtools_, tracksters_tokens_, and z.
|
private |
Definition at line 68 of file TracksterLinksProducer.cc.
Referenced by beginRun(), and TracksterLinksProducer().
|
private |
Definition at line 83 of file TracksterLinksProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 71 of file TracksterLinksProducer.cc.
Referenced by produce().
|
private |
Definition at line 72 of file TracksterLinksProducer.cc.
Referenced by produce().
|
private |
Definition at line 80 of file TracksterLinksProducer.cc.
Referenced by TracksterLinksProducer().
|
private |
Definition at line 79 of file TracksterLinksProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 87 of file TracksterLinksProducer.cc.
Referenced by beginRun(), and TracksterLinksProducer().
|
private |
Definition at line 85 of file TracksterLinksProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 75 of file TracksterLinksProducer.cc.
Referenced by produce(), and TracksterLinksProducer().
|
private |
Definition at line 67 of file TracksterLinksProducer.cc.
Referenced by beginRun(), produce(), and TracksterLinksProducer().
|
private |
Definition at line 77 of file TracksterLinksProducer.cc.
Referenced by produce(), and TracksterLinksProducer().
|
private |
Definition at line 84 of file TracksterLinksProducer.cc.
Referenced by beginRun().
|
private |
Definition at line 81 of file TracksterLinksProducer.cc.
|
private |
Definition at line 74 of file TracksterLinksProducer.cc.
Referenced by produce().
|
private |
Definition at line 86 of file TracksterLinksProducer.cc.
Referenced by beginRun(), and produce().
|
private |
Definition at line 70 of file TracksterLinksProducer.cc.
Referenced by produce(), and TracksterLinksProducer().