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