 |
Belle II Software
release-05-01-25
|
11 #include <tracking/trackFindingCDC/collectors/matchers/MatcherInterface.h>
13 #include <tracking/trackFindingCDC/eventdata/tracks/CDCTrack.h>
14 #include <tracking/trackFindingCDC/eventdata/hits/CDCRLWireHit.h>
21 namespace TrackFindingCDC {
26 template <
class AQuadTree>
27 class StereoHitTrackQuadTreeMatcher :
public MatcherInterface<CDCTrack, CDCRLWireHit> {
30 using Super = MatcherInterface<CDCTrack, CDCRLWireHit>;
34 void exposeParameters(ModuleParamList* moduleParamList,
const std::string& prefix)
override;
49 void match(
CDCTrack& track,
const std::vector<CDCRLWireHit>& rlWireHits,
50 std::vector<Super::WeightedRelationItem>& relationsForCollector)
override;
double m_param_checkForInWireBoundsFactor
Set to false to skip the in-wire-bound check (good for second stage).
Class representing a sequence of three dimensional reconstructed hits.
void writeDebugInformation()
Use the writeDebugInformation function of the quad tree to write the tree into a root file with a asc...
MatcherInterface< CDCTrack, CDCRLWireHit > Super
The parent class.
unsigned int m_param_minimumNumberOfHits
Minimal number of hits a quad tree node must have to be called a found bin.
AQuadTree m_quadTreeInstance
Quad tree instance.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters to the module.
Abstract base class for different kinds of events.
bool m_param_writeDebugInformation
Set to true to output debug information.
unsigned int m_numberOfPassedDebugCalls
Store the number of passed calls to the debug function.
void terminate() override
Terminate the filter and the quad tree.
void initialize() override
Initialize the filter and the quad tree.
void match(CDCTrack &track, const std::vector< CDCRLWireHit > &rlWireHits, std::vector< Super::WeightedRelationItem > &relationsForCollector) override
Create a QuadTree and fill with each unused stereo hit (to be exact: twice for each stereo hit - righ...
bool m_param_checkForB2BTracks
Parameters Set to false to skip the B2B check (good for curlers).
unsigned int m_param_quadTreeLevel
Maximum level of the quad tree search.