10#include <tracking/trackFindingCDC/filters/base/MCSymmetricFilter.dcl.h>
12#include <tracking/trackFindingCDC/mclookup/CDCMCManager.h>
14#include <framework/core/ModuleParamList.templateDetails.h>
15#include <tracking/trackFindingCDC/utilities/StringManipulation.h>
25 namespace TrackFindingCDC {
27 template <
class AFilter>
34 template <
class AFilter>
37 template <
class AFilter>
41 moduleParamList->
addParameter(prefixed(prefix,
"allowReverse"),
43 "Indication whether the reverse to the truth is accepted"
44 "preserving the propagation reversal symmetry.",
48 template <
class AFilter>
55 template <
class AFilter>
62 template <
class AFilter>
68 template <
class AFilter>
74 template <
class AFilter>
The Module parameter list class.
void requireTruthInformation()
Require the MC information store arrays.
void fill()
Fill Monte Carlo look up maps from the DataStore.
static CDCMCManager & getInstance()
Getter for the singleton instance.
void initialize() override
virtual void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix)
~MCSymmetric()
Default destructor.
bool needsTruthInformation() final
Indicates that the filter requires Monte Carlo information.
MCSymmetric(bool allowReverse=true)
Constructor.
void initialize() override
Initialize the before event processing.
AFilter Super
Type of the super class.
virtual void setAllowReverse(bool allowReverse)
Setter for the allow reverse parameter.
bool m_param_allowReverse
Switch to indicate if the reversed version of the object shall also be accepted (default is true).
void beginEvent() override
Signal the beginning of a new event.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the set of parameters of the filter to the module parameter list.
bool getAllowReverse() const
Getter for the allow reverse parameter.
void addParameter(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module list.
Abstract base class for different kinds of events.