Public Member Functions | |
PNETLeptonProducer (const edm::ParameterSet &, const cms::Ort::ONNXRuntime *) | |
~PNETLeptonProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< cms::Ort::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 &) |
Private Types | |
using | LeptonTagInfoCollection = DeepBoostedJetFeaturesCollection |
Private Member Functions | |
void | make_inputs (const DeepBoostedJetFeatures &) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
cms::Ort::FloatArrays | data_ |
bool | debug_ = false |
std::vector< std::string > | flav_names_ |
std::vector< std::string > | input_names_ |
std::vector< std::vector< int64_t > > | input_shapes_ |
std::vector< unsigned > | input_sizes_ |
edm::EDGetTokenT< edm::View< LeptonType > > | leps_ |
std::unordered_map< std::string, btagbtvdeep::PreprocessParams > | prep_info_map_ |
edm::EDGetTokenT< LeptonTagInfoCollection > | src_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< cms::Ort::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 31 of file PNETLeptonProducer.cc.
|
private |
Definition at line 42 of file PNETLeptonProducer.cc.
|
explicit |
Definition at line 61 of file PNETLeptonProducer.cc.
References gather_cfg::cout, PNETLeptonProducer< LeptonType >::data_, PNETLeptonProducer< LeptonType >::debug_, PNETLeptonProducer< LeptonType >::flav_names_, mps_fire::i, PNETLeptonProducer< LeptonType >::input_names_, PNETLeptonProducer< LeptonType >::input_shapes_, PNETLeptonProducer< LeptonType >::input_sizes_, btagbtvdeep::ParticleNetConstructor(), PNETLeptonProducer< LeptonType >::prep_info_map_, and x.
|
inlineoverride |
Definition at line 34 of file PNETLeptonProducer.cc.
|
static |
Definition at line 137 of file PNETLeptonProducer.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, timingPdfMaker::modname, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 134 of file PNETLeptonProducer.cc.
|
static |
Definition at line 128 of file PNETLeptonProducer.cc.
References looper::cfg, and contentValuesFiles::fullPath.
|
private |
Definition at line 156 of file PNETLeptonProducer.cc.
References btagbtvdeep::center_norm_pad(), EcalPhiSymFlatTableProducers_cfi::fill, btagbtvdeep::DeepBoostedJetFeatures::get(), mps_fire::i, and info().
|
overrideprivate |
Definition at line 93 of file PNETLeptonProducer.cc.
References cms::cuda::assert(), SplitLinear::begin, mps_fire::end, trigObjTnPSource_cfi::filler, iEvent, TtSemiLepHitFitProducer_Electrons_cfi::leps, eostools::move(), PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, and TrackRefitter_38T_cff::src.
|
private |
Definition at line 56 of file PNETLeptonProducer.cc.
Referenced by PNETLeptonProducer< LeptonType >::PNETLeptonProducer().
|
private |
Definition at line 57 of file PNETLeptonProducer.cc.
Referenced by PNETLeptonProducer< LeptonType >::PNETLeptonProducer().
|
private |
Definition at line 49 of file PNETLeptonProducer.cc.
Referenced by PNETLeptonProducer< LeptonType >::PNETLeptonProducer().
|
private |
Definition at line 50 of file PNETLeptonProducer.cc.
Referenced by PNETLeptonProducer< LeptonType >::PNETLeptonProducer().
|
private |
Definition at line 51 of file PNETLeptonProducer.cc.
Referenced by PNETLeptonProducer< LeptonType >::PNETLeptonProducer().
|
private |
Definition at line 52 of file PNETLeptonProducer.cc.
Referenced by PNETLeptonProducer< LeptonType >::PNETLeptonProducer().
|
private |
Definition at line 48 of file PNETLeptonProducer.cc.
|
private |
Definition at line 54 of file PNETLeptonProducer.cc.
Referenced by PNETLeptonProducer< LeptonType >::PNETLeptonProducer().
|
private |
Definition at line 47 of file PNETLeptonProducer.cc.