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 | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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 > > | |
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 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(), edm::ParameterSetDescription::add(), HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
|
static |
Definition at line 135 of file DeepMETProducer.cc.
References utilities::cache(), edm::FileInPath::fullPath(), tensorflow::loadGraphDef(), CalibrationSummaryClient_cfi::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_, hltPfDeepFlavourJetTags_cfi::output_names, PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, p4, HiggsValidation_cfi::pdg_id, pdg_id_embedding_, packedPFCandidateRefMixer_cfi::pf, pf_token_, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, tensorflow::run(), Scenarios_cff::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().