8#include <tracking/trackFindingCDC/findlets/combined/StereoHitFinder.h>
10#include <tracking/trackingUtilities/eventdata/hits/CDCWireHit.h>
11#include <tracking/trackingUtilities/eventdata/tracks/CDCTrack.h>
13#include <tracking/trackingUtilities/filters/base/ChooseableFilter.icc.h>
16using namespace TrackFindingCDC;
17using namespace TrackingUtilities;
34 return "Tries to add CDC stereo hits to the found CDC tracks by applying a histogramming method with a quad tree.";
50 m_matcher.exposeParameters(moduleParamList, prefix);
53 m_adder.exposeParameters(moduleParamList, prefix);
54 m_szFitter.exposeParameters(moduleParamList, prefix);
60 m_relations.reserve(2 * inputWireHits.size() * tracks.size());
The Module parameter list class.
TrackSZFitter m_szFitter
Fit the tracks after creation.
TrackingUtilities::FilterSelector< TrackingUtilities::CDCTrack, TrackingUtilities::CDCRLWireHit, TrackingUtilities::ChooseableFilter< StereoHitFilterFactory > > m_filterSelector
Filter for the Stereo Hits added to the track.
std::vector< TrackingUtilities::CDCRLWireHit > m_rlTaggedWireHits
Vector holding all possible wire hits with all possible RL combinations.
TrackingUtilities::Findlet< TrackingUtilities::CDCWireHit &, TrackingUtilities::CDCTrack & > Super
Type of the base class.
StereoHitTrackAdder m_adder
Add the hits to the tracks.
void beginEvent() final
Signal the beginning of a new event.
std::string getDescription() final
Short description of the findlet.
TrackingUtilities::SingleMatchSelector< TrackingUtilities::CDCTrack, TrackingUtilities::CDCRLWireHit, TrackingUtilities::HitComperator > m_singleMatchSelector
Select only those where the relation is unique (or the best one in those groups)
std::vector< TrackingUtilities::WeightedRelation< TrackingUtilities::CDCTrack, const TrackingUtilities::CDCRLWireHit > > m_relations
Vector of relations between tracks and hits.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void apply(std::vector< TrackingUtilities::CDCWireHit > &inputWireHits, std::vector< TrackingUtilities::CDCTrack > &tracks) final
Generates the segment from wire hits.
RLTaggedWireHitCreator m_rlWireHitCreator
Create RL wire hits out of the wire hits.
StereoHitTrackQuadTreeMatcher< HitZ0TanLambdaLegendre > m_matcher
Find matching hits to a track.
StereoHitFinder()
Constructor registering the subordinary findlets to the processing signal distribution machinery.
Convenvience wrapper to setup a Chooseable filter from a specific factory object.
Filter can delegate to a filter chosen and set up at run time by parameters.
void addProcessingSignalListener(ProcessingSignalListener *psl)
void beginEvent() override
virtual void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix)
Abstract base class for different kinds of events.