Convience template to create a mva filter for a set of variables.
More...
#include <MVAFilter.dcl.h>
|
| MVAFilter (const std::string &defaultTrainingName="", double defaultCut=NAN) |
| Constructor of the filter.
|
|
| ~MVAFilter () |
| Default destructor.
|
|
void | exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override |
| Expose the set of parameters of the filter to the module parameter list.
|
|
void | initialize () override |
| Initialize the expert before event processing.
|
|
void | beginRun () override |
| Signal to load new run parameters.
|
|
Weight | operator() (const Object &obj) override |
| Function to object for its signalness.
|
|
Weight | operator() (const Object *obj) |
| Function to evaluate the object. More...
|
|
virtual double | predict (const Object &obj) |
| Evaluate the mva method.
|
|
bool | needsTruthInformation () override |
| Checks if any variables need Monte Carlo information.
|
|
std::unique_ptr< AVarSet > | releaseVarSet () && |
| Steal the set of variables form this filter - filter becomes disfunctional afterwards.
|
|
void | beginEvent () override |
| Receive and dispatch signal for the start of a new event.
|
|
void | endRun () override |
| Receive and dispatch signal for the end of the run.
|
|
void | terminate () override |
| Receive and dispatch Signal for termination of the event processing.
|
|
template<class AVarSet>
class Belle2::TrackFindingCDC::MVAFilter< AVarSet >
Convience template to create a mva filter for a set of variables.
Definition at line 95 of file MVAFilter.dcl.h.
◆ operator()()
Weight operator() |
( |
const Object * |
obj | ) |
|
|
inherited |
Function to evaluate the object.
Base implementation accepts all objects, except nullptr.
- Parameters
-
obj | The object to be accepted or rejected. |
- Returns
- A finit float value if the object is accepted. NAN if the object is rejected. Nullptr is always rejected.
Definition at line 60 of file Filter.icc.h.
The documentation for this class was generated from the following files: