10#include <tracking/trackFindingCDC/filters/base/Filter.dcl.h>
12#include <tracking/trackFindingCDC/numerics/Weight.h>
22 class ModuleParamList;
31 namespace TrackFindingCDC {
33 template<
class AObject>
36 template<
class AObject>
39 template <
class AObject>
41 const std::string& prefix __attribute__((unused)))
45 template <
class AObject>
51 template <
class AObject>
57 template <
class AObject>
60 return obj ? operator()(*obj) : NAN;
63 template <
class AObject>
66 std::vector<float> out;
67 for (
const auto& obj : objs) {
68 out.push_back(
operator()(obj));
The Module parameter list class.
virtual void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix)
Expose the set of parameters of the filter to the module parameter list.
AObject Object
Type of the object to be analysed.
virtual Weight operator()(const Object &obj)
Function to evaluate the object.
Filter()
Default constructor.
virtual bool needsTruthInformation()
Indicates if the filter requires Monte Carlo information.
virtual ~Filter()
Make destructor of interface class virtual.
Abstract base class for different kinds of events.