Public Member Functions | |
DeepMETProducer (const edm::ParameterSet &, const DeepMETCache *) | |
void | produce (edm::Event &event, const edm::EventSetup &setup) override |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DeepMETCache > > | |
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 (DeepMETCache *) |
static std::unique_ptr< DeepMETCache > | initializeGlobalCache (const edm::ParameterSet &) |
Private Attributes | |
const bool | ignore_leptons_ |
tensorflow::Tensor | input_ |
tensorflow::Tensor | input_cat0_ |
tensorflow::Tensor | input_cat1_ |
tensorflow::Tensor | input_cat2_ |
const unsigned int | max_n_pf_ |
const float | norm_ |
const edm::EDGetTokenT< std::vector< pat::PackedCandidate > > | pf_token_ |
tensorflow::Session * | session_ |
Static Private Attributes | |
static const std::unordered_map< int, int32_t > | charge_embedding_ {{-1, 0}, {0, 1}, {1, 2}} |
static const std::unordered_map< int, int32_t > | pdg_id_embedding_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DeepMETCache > > | |
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 15 of file DeepMETProducer.cc.
|
explicit |
Definition at line 52 of file DeepMETProducer.cc.
References input_, input_cat0_, input_cat1_, input_cat2_, and max_n_pf_.
|
static |
Definition at line 151 of file DeepMETProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_2022v11_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
|
static |
Definition at line 135 of file DeepMETProducer.cc.
References utilities::cache(), edm::FileInPath::fullPath(), HLT_2022v11_cff::graphPath, tensorflow::loadGraphDef(), submitPVValidationJobs::params, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 69 of file DeepMETProducer.cc.
References funct::abs(), charge_embedding_, dqmMemoryStats::float, ignore_leptons_, input_, input_cat0_, input_cat1_, input_cat2_, max_n_pf_, eostools::move(), norm_, HLT_2022v11_cff::output_names, PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, HiggsValidation_cfi::pdg_id, pdg_id_embedding_, packedPFCandidateRefMixer_cfi::pf, pf_token_, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, tensorflow::run(), L1EGammaClusterEmuProducer_cfi::scale, and session_.
|
inlinestaticprivate |
Definition at line 38 of file DeepMETProducer.cc.
Referenced by produce().
|
private |
Definition at line 28 of file DeepMETProducer.cc.
Referenced by produce().
|
private |
Definition at line 33 of file DeepMETProducer.cc.
Referenced by DeepMETProducer(), and produce().
|
private |
Definition at line 34 of file DeepMETProducer.cc.
Referenced by DeepMETProducer(), and produce().
|
private |
Definition at line 35 of file DeepMETProducer.cc.
Referenced by DeepMETProducer(), and produce().
|
private |
Definition at line 36 of file DeepMETProducer.cc.
Referenced by DeepMETProducer(), and produce().
|
private |
Definition at line 29 of file DeepMETProducer.cc.
Referenced by DeepMETProducer(), and produce().
|
private |
Definition at line 27 of file DeepMETProducer.cc.
Referenced by produce().
|
inlinestaticprivate |
Definition at line 39 of file DeepMETProducer.cc.
Referenced by produce().
|
private |
Definition at line 26 of file DeepMETProducer.cc.
Referenced by produce().
|
private |
Definition at line 31 of file DeepMETProducer.cc.
Referenced by produce().