Belle II Software  release-08-01-10
PIDNeuralNetworkParametersCreatorModule.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
11 #include <framework/core/Module.h>
12 #include <analysis/dbobjects/PIDNeuralNetworkParameters.h>
13 
14 
15 namespace Belle2 {
24 
25  public:
26 
31 
33  void initialize() override;
34 
35 
36  private:
37 
40  std::string m_description;
41  std::vector<std::string> m_inputNames;
42  std::string m_modelDefinition;
43  std::vector<int> m_outputSpeciesPdg;
44  std::vector<float> m_meanValues;
45  std::vector<float> m_standardDeviations;
51  int m_runLow;
52  int m_runHigh;
53  };
55 }
Base class for Modules.
Definition: Module.h:72
Module that creates PID neural network parameters and uploads them to the DB.
PIDNNInputsToCut m_inputsToCut
overwrite certain input variables
std::vector< float > m_standardDeviations
standard deviations of inputs
PIDNeuralNetworkParametersCreatorModule()
Constructor: Sets the description, the properties and the parameters of the module.
std::vector< std::string > m_inputNames
list of input names
std::string m_neuralNetworkParametersName
Name of the set of parameters.
std::string m_modelDefinition
neural network string for frugally-deep
std::vector< int > m_outputSpeciesPdg
PDG codes of hypotheses of neural-network output.
std::string m_description
description of neural network parameters
std::vector< std::tuple< size_t, size_t, double, double, double > > PIDNNInputsToCut
Stores information on whether and how to overwrite certain inputs.
std::vector< std::tuple< size_t, float > > PIDNNMissingInputs
Stores information on how to handle missing inputs, i.e.
Abstract base class for different kinds of events.