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>
30 , m_param_allowReverse(allowReverse)
34 template <
class AFilter>
37 template <
class AFilter>
40 Super::exposeParameters(moduleParamList, prefix);
41 moduleParamList->
addParameter(prefixed(prefix,
"allowReverse"),
43 "Indication whether the reverse to the truth is accepted"
44 "preserving the propagation reversal symmetry.",
45 m_param_allowReverse);
48 template <
class AFilter>
55 template <
class AFilter>
62 template <
class AFilter>
68 template <
class AFilter>
71 m_param_allowReverse = allowReverse;
74 template <
class AFilter>
77 return m_param_allowReverse;
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.
~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.
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.