 |
Belle II Software
release-05-01-25
|
12 #include <mva/dataobjects/DatabaseRepresentationOfWeightfile.h>
13 #include <tracking/trackFindingVXD/utilities/Named.h>
14 #include <mva/interface/Weightfile.h>
15 #include <mva/interface/Expert.h>
17 #include <framework/database/DBObjPtr.h>
26 class DatabaseRepresentationOfWeightfile;
68 std::unique_ptr<MVA::Expert>
m_expert;
std::unique_ptr< MVA::Dataset > m_dataset
Pointer to the current dataset.
MVAExpert(const std::string &identifier, std::vector< Named< float * >> namedVariables)
Construct the Expert with the specified weight folder and the name of the training that was used in t...
std::unique_ptr< MVA::Weightfile > getWeightFile()
Resolves the source of the weight file and unpacks it.
std::vector< Named< float * > > m_selectedNamedVariables
References to the selected named values from the source variable set.
void initialize()
Initialise the mva method.
void beginRun()
Update the mva method to the new run.
std::vector< Named< float * > > m_allNamedVariables
References to the named values from the source variable set.
std::unique_ptr< DBObjPtr< DatabaseRepresentationOfWeightfile > > m_weightfileRepresentation
Database pointer to the Database representation of the weightfile.
Abstract base class for different kinds of events.
std::unique_ptr< MVA::Expert > m_expert
Pointer to the current MVA Expert.
std::string m_identifier
DB identifier of the expert or file name.
float predict()
Evaluate the MVA method and return the MVAOutput.