![]() |
Belle II Software release-09-00-03
|
Filter adapter to make a filter work on a set of variables. More...
#include <FilterOnVarSet.dcl.h>


Public Types | |
| using | Object = typename AFilter::Object |
| Type of pbject to be filtered. | |
Public Member Functions | |
| OnVarSet (std::unique_ptr< AVarSet > varSet) | |
| Constructor from the variable set the filter should use. | |
| ~OnVarSet () | |
| Default destructor. | |
| void | initialize () override |
| No reassignment of variable set possible for now. | |
| bool | needsTruthInformation () override |
| Checks if any variables need Monte Carlo information. | |
| Weight | operator() (const Object &obj) override |
| Function extracting the variables of the object into the variable set. | |
| std::unique_ptr< AVarSet > | releaseVarSet () && |
| Steal the set of variables form this filter - filter becomes disfunctional afterwards. | |
Protected Member Functions | |
| AVarSet & | getVarSet () const |
| Getter for the set of variables. | |
| void | setVarSet (std::unique_ptr< AVarSet > varSet) |
| Setter for the set of variables. | |
Private Types | |
| using | Super = AFilter |
| Type of the base class. | |
| using | AVarSet = BaseVarSet< Object > |
| Type of the variable set usedi in this filter. | |
Private Attributes | |
| std::unique_ptr< AVarSet > | m_varSet |
| Instance of the variable set to be used in the filter. | |
Filter adapter to make a filter work on a set of variables.
Definition at line 27 of file FilterOnVarSet.dcl.h.
|
private |
Type of the variable set usedi in this filter.
Definition at line 39 of file FilterOnVarSet.dcl.h.
| using Object = typename AFilter::Object |
Type of pbject to be filtered.
Definition at line 35 of file FilterOnVarSet.dcl.h.
|
private |
Type of the base class.
Definition at line 31 of file FilterOnVarSet.dcl.h.
Constructor from the variable set the filter should use.
Definition at line 32 of file FilterOnVarSet.icc.h.
|
protected |
Getter for the set of variables.
Definition at line 80 of file FilterOnVarSet.icc.h.
|
override |
No reassignment of variable set possible for now.
Definition at line 42 of file FilterOnVarSet.icc.h.
|
override |
Checks if any variables need Monte Carlo information.
Definition at line 49 of file FilterOnVarSet.icc.h.
|
override |
Function extracting the variables of the object into the variable set.
Definition at line 66 of file FilterOnVarSet.icc.h.
| auto releaseVarSet | ( | ) | && |
Steal the set of variables form this filter - filter becomes disfunctional afterwards.
Definition at line 75 of file FilterOnVarSet.icc.h.
|
protected |
Setter for the set of variables.
Definition at line 86 of file FilterOnVarSet.icc.h.
|
private |
Instance of the variable set to be used in the filter.
Definition at line 71 of file FilterOnVarSet.dcl.h.