MC Filter Type using a VarSet and the truth variable in it.
More...
#include <TruthVarFilter.dcl.h>
|
| TruthVarFilter () |
| Constructor.
|
|
| ~TruthVarFilter () |
| Default destructor.
|
|
Weight | operator() (const Object &object) override |
| Reject an item if the truth variable is 0, else accept it.
|
|
void | exposeParameters (ModuleParamList *parameterList, const std::string &prefix) override |
| Add the parameters of this filter to the given parameter list.
|
|
void | initialize () override |
| Initialisation method sets up a reference to the value in the variable set to be returned.
|
|
Weight | operator() (const Object &object) override |
| Returns the variable with the set requested name from the variable set.
|
|
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.
|
|
|
std::string | m_param_varName |
| Memory for the name of the variable selected as the return value of the filter.
|
|
Float_t * | m_variable |
| Reference to the location of the value in the variable set to be returned.
|
|
std::unique_ptr< AVarSet > | m_varSet |
| Instance of the variable set to be used in the filter.
|
|
template<class ATruthVarSet>
class Belle2::TrackFindingCDC::TruthVarFilter< ATruthVarSet >
MC Filter Type using a VarSet and the truth variable in it.
Definition at line 20 of file TruthVarFilter.dcl.h.
The documentation for this class was generated from the following files: