Belle II Software  release-08-01-10
RecoTrackRelator.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 #include <tracking/trackFindingCDC/utilities/WeightedRelation.h>
12 #include <tracking/ckf/svd/filters/results/ChooseableSVDResultFilter.h>
13 
14 namespace Belle2 {
19  class ModuleParamList;
20  class RecoTrack;
21  class CKFToSVDResult;
22 
30  class RecoTrackRelator : public TrackFindingCDC::Findlet<const CKFToSVDResult,
31  TrackFindingCDC::WeightedRelation<const RecoTrack, const RecoTrack>> {
32  public:
36 
39 
41  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
42 
44  void apply(const std::vector<CKFToSVDResult>& results,
45  std::vector<TrackFindingCDC::WeightedRelation<const RecoTrack, const RecoTrack>>& relationsCDCToSVD) final;
46 
47  private:
50  };
52 }
Specialized CKF Result for extrapolating into the SVD.
The Module parameter list class.
The results of the CKF ar in the form (seed -> vector of hits).
ChooseableSVDResultFilter m_overlapFilter
Filter for the results.
void apply(const std::vector< CKFToSVDResult > &results, std::vector< TrackFindingCDC::WeightedRelation< const RecoTrack, const RecoTrack >> &relationsCDCToSVD) final
Create relations between tracks from the results (applying a filter)
RecoTrackRelator()
Add the sub findelts as listener.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters of the sub findlet.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Type for two related objects with a weight.
Abstract base class for different kinds of events.