10#include <tracking/trackFindingCDC/filters/base/FilterOnVarSet.dcl.h>
12#include <tracking/trackFindingCDC/varsets/BaseVarSet.h>
14#include <RtypesCore.h>
24 class ModuleParamList;
25 namespace TrackFindingCDC {
31 template <
class AFilter>
40 using Object =
typename AFilter::Object;
74 template <
class ATruthVarSet>
84 using Object =
typename ATruthVarSet::Object;
The Module parameter list class.
Convince template to create a filter returning on variable from a set of variables.
typename ATruthVarSet::Object Object
Type of the filtered object.
~ChoosableFromVarSetFilter()
Default destructor.
Filter adapter to make a filter work on a set of variables and return on variable as the result of th...
Weight operator()(const Object &object) override
Returns the variable with the set requested name from the variable set.
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.
Float_t * m_variable
Reference to the location of the value in the variable set to be returned.
~ChoosableFromVarSet()
Default destructor.
typename AFilter::Object Object
Type of the filtered object.
std::string m_param_varName
Memory for the name of the variable selected as the return value of the filter.
Filter adapter to make a filter work on a set of variables.
Abstract base class for different kinds of events.