 |
Belle II Software
release-05-02-19
|
12 #include <framework/core/Module.h>
14 #include <mva/dataobjects/DatabaseRepresentationOfWeightfile.h>
15 #include <mva/interface/Weightfile.h>
16 #include <mva/interface/Expert.h>
18 #include <framework/database/DBObjPtr.h>
20 #include <analysis/VariableManager/Manager.h>
62 virtual void event()
override;
92 std::vector<std::string>
96 std::vector<std::vector<const Variable::Manager::Var*>>
101 std::map<const Variable::Manager::Var*, float>
104 std::vector<std::unique_ptr<DBObjPtr<DatabaseRepresentationOfWeightfile>>>
void init_mva(MVA::Weightfile &weightfile, unsigned int i)
Initialize mva expert, dataset and features Called everytime the weightfile in the database changes i...
std::vector< std::unique_ptr< MVA::SingleDataset > > m_datasets
Vector of pointers to the current input datasets.
std::vector< std::unique_ptr< MVA::Expert > > m_experts
Vector of pointers to the current MVA Experts.
double m_signal_fraction_override
Signal Fraction which should be used.
The Weightfile class serializes all information about a training into an xml tree.
virtual void initialize() override
Initialize the module.
MVAMultipleExpertsModule()
Constructor.
This module adds an ExtraInfo to the Particle objects in a given ParticleList.
std::vector< std::string > m_extraInfoNames
Names under which the SignalProbability is stored in the extraInfo of the Particle object.
virtual void terminate() override
Called at the end of the event processing.
std::vector< float > analyse(Particle *)
Calculates expert output for given Particle pointer.
Abstract base class for different kinds of events.
std::vector< std::string > m_identifiers
weight-files
Class to store reconstructed particles.
std::vector< std::unique_ptr< DBObjPtr< DatabaseRepresentationOfWeightfile > > > m_weightfile_representations
Vector of database pointers to the Database representation of the weightfile.
std::vector< std::string > m_listNames
input particle list names
virtual void beginRun() override
Called at the beginning of a new run.
virtual void event() override
Called for each event.
std::map< const Variable::Manager::Var *, float > m_feature_variables
Map containing the values of all needed feature variables.
std::vector< std::vector< const Variable::Manager::Var * > > m_individual_feature_variables
Vector of pointers to the feature variables for each expert.