![]() |
![]() |
Public Member Functions | |
BoostedJetONNXJetTagsProducer (const edm::ParameterSet &, const ONNXRuntime *) | |
~BoostedJetONNXJetTagsProducer () override | |
![]() | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
static void | globalEndJob (const ONNXRuntime *) |
static std::unique_ptr< ONNXRuntime > | initializeGlobalCache (const edm::ParameterSet &) |
Private Types | |
typedef reco::JetTagCollection | JetTagCollection |
typedef std::vector< reco::DeepBoostedJetTagInfo > | TagInfoCollection |
Private Member Functions | |
std::vector< float > | center_norm_pad (const std::vector< float > &input, float center, float scale, unsigned min_length, unsigned max_length, float pad_value=0, float replace_inf_value=0, float min=0, float max=-1) |
void | make_inputs (const reco::DeepBoostedJetTagInfo &taginfo) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
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_ |
std::unordered_map< std::string, PreprocessParams > | prep_info_map_ |
const edm::EDGetTokenT< TagInfoCollection > | src_ |
Additional Inherited Members | |
![]() | |
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 29 of file BoostedJetONNXJetTagsProducer.cc.
Definition at line 41 of file BoostedJetONNXJetTagsProducer.cc.
|
private |
Definition at line 40 of file BoostedJetONNXJetTagsProducer.cc.
|
explicit |
Definition at line 68 of file BoostedJetONNXJetTagsProducer.cc.
References gather_cfg::cout, data_, debug_, flav_names_, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), mps_fire::i, input_names_, input_shapes_, input_sizes_, edmPickEvents::json, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, pfDeepBoostedJetPreprocessParams_cfi::median, pfDeepBoostedJetPreprocessParams_cfi::norm_factor, dumpparser::parse(), prep_info_map_, pfDeepBoostedJetPreprocessParams_cfi::replace_inf_value, AlCaHLTBitMon_QueryRunRegistry::string, pfDeepBoostedJetPreprocessParams_cfi::upper_bound, and x.
|
override |
Definition at line 164 of file BoostedJetONNXJetTagsProducer.cc.
|
private |
Definition at line 264 of file BoostedJetONNXJetTagsProducer.cc.
References btagbtvdeep::catch_infs(), mps_fire::i, and MillePedeFileConverter_cfg::out.
Referenced by make_inputs().
|
static |
Definition at line 166 of file BoostedJetONNXJetTagsProducer.cc.
References edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), edm::ParameterSetDescription::addOptionalUntracked(), edm::ConfigurationDescriptions::addWithDefaultLabel(), pfDeepBoostedJet_cff::preprocessParams, and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 207 of file BoostedJetONNXJetTagsProducer.cc.
|
static |
Definition at line 203 of file BoostedJetONNXJetTagsProducer.cc.
References edm::ParameterSet::getParameter().
|
private |
Definition at line 286 of file BoostedJetONNXJetTagsProducer.cc.
References center_norm_pad(), popcon2dropbox::copy(), gather_cfg::cout, data_, debug_, DEFINE_FWK_MODULE, reco::FeaturesTagInfo< Features >::features(), lumiContext::fill, mps_fire::i, info(), input_names_, input_shapes_, input_sizes_, prep_info_map_, findQualityFiles::v, and heppy_batch::val.
Referenced by produce().
|
overrideprivate |
Definition at line 209 of file BoostedJetONNXJetTagsProducer.cc.
References gather_cfg::cout, data_, debug_, edm::EventID::event(), flav_names_, edm::Event::getByToken(), mps_fire::i, edm::EventBase::id(), input_names_, input_shapes_, edm::EventID::luminosityBlock(), make_inputs(), edm::makeRefToBaseProdFrom(), eostools::move(), PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, edm::Event::put(), edm::EventID::run(), src_, and lumiTag::taginfo.
|
private |
Definition at line 63 of file BoostedJetONNXJetTagsProducer.cc.
Referenced by BoostedJetONNXJetTagsProducer(), make_inputs(), and produce().
|
private |
Definition at line 65 of file BoostedJetONNXJetTagsProducer.cc.
Referenced by BoostedJetONNXJetTagsProducer(), make_inputs(), and produce().
|
private |
Definition at line 57 of file BoostedJetONNXJetTagsProducer.cc.
Referenced by BoostedJetONNXJetTagsProducer(), and produce().
|
private |
Definition at line 58 of file BoostedJetONNXJetTagsProducer.cc.
Referenced by BoostedJetONNXJetTagsProducer(), make_inputs(), and produce().
|
private |
Definition at line 59 of file BoostedJetONNXJetTagsProducer.cc.
Referenced by BoostedJetONNXJetTagsProducer(), make_inputs(), and produce().
|
private |
Definition at line 60 of file BoostedJetONNXJetTagsProducer.cc.
Referenced by BoostedJetONNXJetTagsProducer(), and make_inputs().
|
private |
Definition at line 61 of file BoostedJetONNXJetTagsProducer.cc.
Referenced by BoostedJetONNXJetTagsProducer(), and make_inputs().
|
private |
Definition at line 56 of file BoostedJetONNXJetTagsProducer.cc.
Referenced by produce().