10#include <tracking/trackingUtilities/filters/base/RelationFilter.dcl.h>
26 namespace TrackingUtilities {
29 namespace TrackFindingCDC {
49 const std::vector<TrackingUtilities::CDCWireHit*>& wireHits)
const final;
58 void prepare(
const std::vector<TrackingUtilities::CDCWireHit*>& wireHits);
Class representing a sense wire in the central drift chamber.
The Module parameter list class.
void prepare(const std::vector< TrackingUtilities::CDCWireHit * > &wireHits)
Precompute the wires of the given wire hits to speed up the searches in the following getPossibleTos ...
WholeWireHitRelationFilter(int neighborhoodDegree=2)
Constructor form the default neighborhood degree.
TrackingUtilities::CDCWireHit *const * m_preparedWireHitsData
Data pointer of the prepared wire hit vector used to recognize it in getPossibleTos.
~WholeWireHitRelationFilter() override
Default destructor.
std::vector< TrackingUtilities::CDCWireHit * > getPossibleTos(TrackingUtilities::CDCWireHit *from, const std::vector< TrackingUtilities::CDCWireHit * > &wireHits) const final
Returns a vector containing the neighboring wire hits of the given wire hit out of the sorted range g...
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
std::vector< const CDC::CDCWire * > m_preparedWires
Memory for the wires of the prepared wire hit vector.
std::size_t m_preparedWireHitsSize
Size of the prepared wire hit vector used to recognize it in getPossibleTos.
int m_param_degree
Degree of the neighbor extend.
Class representing a hit wire in the central drift chamber.
Base class for filtering the neighborhood of objects.
Abstract base class for different kinds of events.