8#include <tracking/trackFindingCDC/filters/facetRelation/MCFacetRelationFilter.h>
10#include <tracking/trackFindingCDC/filters/base/MCSymmetricFilter.icc.h>
12#include <tracking/trackFindingCDC/eventdata/hits/CDCFacet.h>
13#include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
16using namespace TrackFindingCDC;
28 const std::string& prefix)
50 if ((fromFacetWeight > 0) and (toFacetWeight > 0)) {
54 if (
getAllowReverse() and (fromFacetWeight < 0) and (toFacetWeight < 0)) {
The Module parameter list class.
Class representing a triple of neighboring oriented wire with additional trajectory information.
const CDCWireHit & getStartWireHit() const
Getter for the hit wire of the first oriented wire hit.
const CDCWire & getEndWire() const
Getter for the wire the third oriented wire hit is based on.
bool isOnWire(const CDCWire &wire) const
Checks if the wire hit is based on the given wire.
void addProcessingSignalListener(ProcessingSignalListener *psl)
MCFacetFilter m_mcFacetFilter
Monte Carlo cell filter to reject neighborhoods have false cells.
void initialize() final
Initialize the before event processing.
MCSymmetric< BaseFacetRelationFilter > Super
Type of the super class.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void setAllowReverse(bool allowReverse) override
Setter for the allow reverse parameter.
Weight operator()(const CDCFacet &fromFacet, const CDCFacet &toFacet) final
Main filter method returning the weight of the neighborhood relation.
MCFacetRelationFilter(bool allowReverse=false)
Constructor also setting the switch if the reversed version of a facet (in comparison to MC truth) sh...
Mixin for filters that use Monte Carlo information.
void initialize() override
bool getAllowReverse() const
Abstract base class for different kinds of events.