Belle II Software  release-08-01-10
MVAExpert Class Reference

Class to interact with the MVA package. More...

#include <MVAExpert.h>

Collaboration diagram for MVAExpert:

Classes

class  Impl
 Implementation of the class to interact with the MVA package. More...
 

Public Member Functions

 MVAExpert (const std::string &identifier, std::vector< Named< Float_t * >> namedVariables)
 Construct the Expert with the specified weight folder and the name of the training that was used in the teacher run. More...
 
 ~MVAExpert ()
 Destructor must be defined in cpp because of PImpl pointer.
 
void initialize ()
 Initialise the mva method. More...
 
void beginRun ()
 Update the mva method to the new run.
 
double predict ()
 Evaluate the MVA method and return the MVAOutput.
 

Private Attributes

std::unique_ptr< Implm_impl
 Pointer to implementation hiding the details.
 

Detailed Description

Class to interact with the MVA package.

Definition at line 26 of file MVAExpert.h.

Constructor & Destructor Documentation

◆ MVAExpert()

MVAExpert ( const std::string &  identifier,
std::vector< Named< Float_t * >>  namedVariables 
)

Construct the Expert with the specified weight folder and the name of the training that was used in the teacher run.

Parameters
identifierA database identifier or local file name.
namedVariablesThe names and pointers to the variables to be fed to the mva method

Member Function Documentation

◆ initialize()

void initialize ( void  )
Initial value:
{
}
~MVAExpert()
Destructor must be defined in cpp because of PImpl pointer.

Initialise the mva method.

PImpl Interface.

Definition at line 178 of file MVAExpert.cc.

179 {
180  return m_impl->initialize();
181 }
std::unique_ptr< Impl > m_impl
Pointer to implementation hiding the details.
Definition: MVAExpert.h:51

The documentation for this class was generated from the following files: