10#include <mva/dataobjects/DatabaseRepresentationOfWeightfile.h>
11#include <tracking/trackFindingVXD/utilities/Named.h>
12#include <mva/interface/Weightfile.h>
13#include <mva/interface/Expert.h>
15#include <framework/database/DBObjPtr.h>
Database representation of a Weightfile object.
void initialize()
Initialise the mva method.
void beginRun()
Update the mva method to the new run.
std::unique_ptr< DBObjPtr< DatabaseRepresentationOfWeightfile > > m_weightfileRepresentation
Database pointer to the Database representation of the weightfile.
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::unique_ptr< MVA::Expert > m_expert
Pointer to the current MVA Expert.
std::vector< Named< float * > > m_selectedNamedVariables
References to the selected named values from the source variable set.
std::unique_ptr< MVA::Dataset > m_dataset
Pointer to the current dataset.
float predict()
Evaluate the MVA method and return the MVAOutput.
std::vector< Named< float * > > m_allNamedVariables
References to the named values from the source variable set.
std::string m_identifier
DB identifier of the expert or file name.
Abstract base class of all Expert Each MVA library has its own implementation of this class,...
The Weightfile class serializes all information about a training into an xml tree.
A mixin class to attach a name to an object. Based on class with same name in CDC package.
Abstract base class for different kinds of events.