8 #include "lwtnn/LightweightNeuralNetwork.hh" 9 #include "lwtnn/parse_json.hh" 31 fileName_(iConfig.getParameter<
edm::FileInPath>(
"fileName"))
41 descriptions.
add(
"lwtnnESProducer", desc);
47 return std::make_unique<lwt::LightweightNeuralNetwork>(config.inputs, config.layers, config.outputs);
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
~LwtnnESProducer() override=default
LwtnnESProducer(const edm::ParameterSet &iConfig)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::unique_ptr< lwt::LightweightNeuralNetwork > produce(const TrackingComponentsRecord &iRecord)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
edm::FileInPath fileName_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::string fullPath() const