Public Member Functions | |
MLPFProducer (const edm::ParameterSet &, const MLPFCache *) | |
void | produce (edm::Event &event, const edm::EventSetup &setup) override |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< MLPFCache > > | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | globalEndJob (MLPFCache *) |
static std::unique_ptr< MLPFCache > | initializeGlobalCache (const edm::ParameterSet &) |
Private Attributes | |
const edm::EDGetTokenT< reco::PFBlockCollection > | inputTagBlocks_ |
const std::string | model_path_ |
const edm::EDPutTokenT< reco::PFCandidateCollection > | pfCandidatesPutToken_ |
tensorflow::Session * | session_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< MLPFCache > > | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 14 of file MLPFProducer.cc.
|
explicit |
Definition at line 31 of file MLPFProducer.cc.
|
static |
Definition at line 132 of file MLPFProducer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
|
static |
Definition at line 116 of file MLPFProducer.cc.
References utilities::cache(), contentValuesFiles::fullPath, edm::FileInPath::fullPath(), tensorflow::loadGraphDef(), LogDebug, CalibrationSummaryClient_cfi::params, castor_dqm_sourceclient_file_cfg::path, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 38 of file MLPFProducer.cc.
References reco::mlpf::argMax(), cms::cuda::assert(), reco::mlpf::BATCH_SIZE, gather_cfg::blocks, dqmMemoryStats::float, reco::mlpf::getElementProperties(), reco::mlpf::getPFElements(), reco::mlpf::IDX_CHARGE, reco::mlpf::IDX_ENERGY, reco::mlpf::IDX_ETA, reco::mlpf::IDX_PHI, input, inputTagBlocks_, reco::mlpf::LSH_BIN_SIZE, reco::mlpf::makeCandidate(), reco::mlpf::normalize(), reco::mlpf::NUM_CLASS, reco::mlpf::NUM_ELEMENT_FEATURES, reco::mlpf::NUM_MAX_ELEMENTS_BATCH, PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, reco::mlpf::pdgid_encoding, pfCandidatesPutToken_, tensorflow::run(), session_, and reco::mlpf::setCandidateRefs().
|
private |
Definition at line 26 of file MLPFProducer.cc.
Referenced by produce().
|
private |
Definition at line 27 of file MLPFProducer.cc.
|
private |
Definition at line 25 of file MLPFProducer.cc.
Referenced by produce().
|
private |
Definition at line 28 of file MLPFProducer.cc.
Referenced by produce().