10#include <tracking/trackFindingCDC/numerics/Weight.h>
18 class ModuleParamList;
20 namespace TrackFindingCDC {
23 template<
class AFilter>
39 Weight
operator()(
const typename Super::Object&
object)
override;
The Module parameter list class.
A filter that accepts every "sloppinessFactor"th candidate on average (random selection)
unsigned int m_param_sloppinessFactor
Parameter : The prescaling of the false items returning true.
AFilter Super
The parent class.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the set of parameters of the filter to the module parameter list.
Weight operator()(const typename Super::Object &object) override
Reject an item if the truth variable is 0 or in some fractions of the events, else accept it.
Abstract base class for different kinds of events.