Belle II Software development
StereoHitFinder.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#pragma once
9
10#include <tracking/trackFindingCDC/findlets/base/Findlet.h>
11
12#include <tracking/trackFindingCDC/findlets/minimal/RLTaggedWireHitCreator.h>
13#include <tracking/trackFindingCDC/findlets/minimal/TrackSZFitter.h>
14
15#include <tracking/trackFindingCDC/collectors/matchers/StereoHitTrackQuadTreeMatcher.h>
16#include <tracking/trackFindingCDC/collectors/selectors/SingleMatchSelector.h>
17#include <tracking/trackFindingCDC/collectors/selectors/FilterSelector.h>
18#include <tracking/trackFindingCDC/collectors/adders/StereoHitTrackAdder.h>
19
20#include <tracking/trackFindingCDC/filters/stereoHits/BaseStereoHitFilter.h>
21#include <tracking/trackFindingCDC/filters/base/ChooseableFilter.dcl.h>
22#include <tracking/trackFindingCDC/filters/stereoHits/StereoHitFilterFactory.h>
23#include <tracking/trackFindingCDC/utilities/HitComperator.h>
24
25#include <tracking/trackFindingCDC/hough/z0_tanLambda/HitZ0TanLambdaLegendre.h>
26
27#include <vector>
28
29namespace Belle2 {
34 namespace TrackFindingCDC {
35 class CDCWireHit;
36 class CDCTrack;
37
38 // Guard to prevent repeated instantiations
39 extern template class TrackFindingCDC::Chooseable<BaseStereoHitFilter>;
40 extern template class TrackFindingCDC::ChooseableFilter<StereoHitFilterFactory>;
41
90 }
92}
The Module parameter list class.
Class representing an oriented hit wire including a hypotheses whether the causing track passes left ...
Class representing a sequence of three dimensional reconstructed hits.
Definition CDCTrack.h:41
Class representing a hit wire in the central drift chamber.
Definition CDCWireHit.h:55
Convenvience wrapper to setup a Chooseable filter from a specific factory object.
Selector to remove all weighted relations, where a definable Filter gives NaN as a result.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition Findlet.h:26
Findlet for creating a list of RLWireHits (always bot hypothesis) from a list of WireHits using only ...
Selector to remove all relations in the list, which share the same collection item - except one in ca...
Factory that can create appropriate stereo hit to track combination filters from associated names.
std::vector< WeightedRelation< CDCTrack, const CDCRLWireHit > > m_relations
Vector of relations between tracks and hits.
TrackSZFitter m_szFitter
Fit the tracks after creation.
std::vector< CDCRLWireHit > m_rlTaggedWireHits
Vector holding all possible wire hits with all possible RL combinations.
Findlet< CDCWireHit &, 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.
void apply(std::vector< CDCWireHit > &inputWireHits, std::vector< CDCTrack > &tracks) final
Generates the segment from wire hits.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
FilterSelector< CDCTrack, CDCRLWireHit, ChooseableFilter< StereoHitFilterFactory > > m_filterSelector
Filter for the Stereo Hits added to the track.
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.
SingleMatchSelector< CDCTrack, CDCRLWireHit, HitComperator > m_singleMatchSelector
Select only those where the relation is unique (or the best one in those groups)
Class to add the matched hits to the track and set the taken flag correctly.
A matcher algorithm for using a stereo quad tree for matching rl tagged wire hits to tracks.
Findlet for fitting a list of tracks in the SZ direction and replace their trajectory 3D.
Type for two related objects with a weight.
STL class.
Abstract base class for different kinds of events.
STL namespace.