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>
24 class DatabaseRepresentationOfWeightfile;
Class to interact with the MVA package, based on class with same name in CDC package.
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.
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.
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.