 |
Belle II Software
release-05-01-25
|
10 #include <tracking/trackFindingCDC/filters/facetRelation/MCFacetRelationFilter.h>
12 #include <tracking/trackFindingCDC/filters/base/MCSymmetricFilter.icc.h>
14 #include <tracking/trackFindingCDC/eventdata/hits/CDCFacet.h>
15 #include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
18 using namespace TrackFindingCDC;
24 , m_mcFacetFilter(allowReverse)
30 const std::string& prefix)
52 if ((fromFacetWeight > 0) and (toFacetWeight > 0)) {
56 if (
getAllowReverse() and (fromFacetWeight < 0) and (toFacetWeight < 0)) {
bool getAllowReverse() const
Getter for the allow reverse parameter.
void initialize() override
Initialize the before event processing.
void initialize() final
Initialize the before event processing.
const CDCWireHit & getStartWireHit() const
Getter for the hit wire of the first oriented wire hit.
MCFacetFilter m_mcFacetFilter
Monte Carlo cell filter to reject neighborhoods have false cells.
void addProcessingSignalListener(ProcessingSignalListener *psl)
Register a processing signal listener to be notified.
bool isOnWire(const CDCWire &wire) const
Checks if the wire hit is based on the given wire.
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 comparision to MC truth) s...
const CDCWire & getEndWire() const
Getter for the wire the third oriented wire hit is based on.
Abstract base class for different kinds of events.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Class representing a triple of neighboring oriented wire with additional trajectory information.
void setAllowReverse(bool allowReverse) override
Setter for the allow reverse parameter.
The Module parameter list class.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the set of parameters of the filter to the module parameter list.