![]() |
![]() |
Public Member Functions | |
DeepVertexONNXJetTagsProducer (const edm::ParameterSet &, const ONNXRuntime *) | |
~DeepVertexONNXJetTagsProducer () 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 | |
enum | InputIndexes { kGlobal = 0, kSeedingTracks = 1, kNeighbourTracks = 2 } |
typedef reco::JetTagCollection | JetTagCollection |
typedef std::vector< reco::DeepFlavourTagInfo > | TagInfoCollection |
Private Member Functions | |
void | make_inputs (unsigned i_jet, const reco::DeepFlavourTagInfo &taginfo) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
FloatArrays | data_ |
std::vector< std::string > | flav_names_ |
std::vector< std::string > | input_names_ |
const double | max_jet_eta_ |
const double | min_jet_pt_ |
std::vector< std::string > | output_names_ |
const edm::EDGetTokenT< TagInfoCollection > | src_ |
Static Private Attributes | |
static const std::vector< unsigned > | input_sizes_ |
static const unsigned | n_features_global_ = deepvertex::n_features_global |
static const unsigned | n_features_neighbor_ = deepvertex::n_features_neighbor |
static const unsigned | n_features_seed_ = deepvertex::n_features_seed |
static const unsigned | n_neighbor_ = deepvertex::n_neighbor |
static const unsigned | n_seed_ = deepvertex::n_seed |
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 23 of file DeepVertexONNXJetTagsProducer.cc.
Definition at line 35 of file DeepVertexONNXJetTagsProducer.cc.
|
private |
Definition at line 34 of file DeepVertexONNXJetTagsProducer.cc.
|
private |
Enumerator | |
---|---|
kGlobal | |
kSeedingTracks | |
kNeighbourTracks |
Definition at line 49 of file DeepVertexONNXJetTagsProducer.cc.
|
explicit |
Definition at line 75 of file DeepVertexONNXJetTagsProducer.cc.
References flav_names_, input_names_, and input_sizes_.
|
override |
Definition at line 90 of file DeepVertexONNXJetTagsProducer.cc.
|
static |
Definition at line 92 of file DeepVertexONNXJetTagsProducer.cc.
References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::add().
|
static |
Definition at line 122 of file DeepVertexONNXJetTagsProducer.cc.
|
static |
Definition at line 118 of file DeepVertexONNXJetTagsProducer.cc.
References edm::ParameterSet::getParameter().
|
private |
Definition at line 195 of file DeepVertexONNXJetTagsProducer.cc.
References data_, DEFINE_FWK_MODULE, postprocess-scan-build::features, reco::FeaturesTagInfo< Features >::features(), input_sizes_, btagbtvdeep::jet4vec_tensor_filler(), kGlobal, kNeighbourTracks, kSeedingTracks, min(), n_features_global_, n_features_neighbor_, n_features_seed_, n_neighbor_, n_seed_, btagbtvdeep::neighbourTrack_tensor_filler(), PFRecoTauDiscriminationByIsolation_cfi::offset, and btagbtvdeep::seedTrack_tensor_filler().
Referenced by produce().
|
overrideprivate |
Definition at line 124 of file DeepVertexONNXJetTagsProducer.cc.
References data_, flav_names_, edm::Event::getByToken(), mps_fire::i, input_names_, input_sizes_, make_inputs(), edm::makeRefToBaseProdFrom(), max_jet_eta_, min_jet_pt_, eostools::move(), output_names_, PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, edm::Event::put(), src_, and lumiTag::taginfo.
|
private |
Definition at line 59 of file DeepVertexONNXJetTagsProducer.cc.
Referenced by make_inputs(), and produce().
|
private |
Definition at line 42 of file DeepVertexONNXJetTagsProducer.cc.
Referenced by DeepVertexONNXJetTagsProducer(), and produce().
|
private |
Definition at line 43 of file DeepVertexONNXJetTagsProducer.cc.
Referenced by DeepVertexONNXJetTagsProducer(), and produce().
|
staticprivate |
Definition at line 56 of file DeepVertexONNXJetTagsProducer.cc.
Referenced by DeepVertexONNXJetTagsProducer(), make_inputs(), and produce().
|
private |
Definition at line 47 of file DeepVertexONNXJetTagsProducer.cc.
Referenced by produce().
|
private |
Definition at line 46 of file DeepVertexONNXJetTagsProducer.cc.
Referenced by produce().
|
staticprivate |
Definition at line 50 of file DeepVertexONNXJetTagsProducer.cc.
Referenced by make_inputs().
|
staticprivate |
Definition at line 54 of file DeepVertexONNXJetTagsProducer.cc.
Referenced by make_inputs().
|
staticprivate |
Definition at line 52 of file DeepVertexONNXJetTagsProducer.cc.
Referenced by make_inputs().
|
staticprivate |
Definition at line 53 of file DeepVertexONNXJetTagsProducer.cc.
Referenced by make_inputs().
|
staticprivate |
Definition at line 51 of file DeepVertexONNXJetTagsProducer.cc.
Referenced by make_inputs().
|
private |
Definition at line 44 of file DeepVertexONNXJetTagsProducer.cc.
Referenced by produce().
|
private |
Definition at line 41 of file DeepVertexONNXJetTagsProducer.cc.
Referenced by produce().