Belle II Software development
TrackQualityEstimator.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/minimal/CDCMCCloneLookUpFiller.h>
11
12#include <tracking/trackFindingCDC/filters/track/TrackQualityFilterFactory.h>
13#include <tracking/trackingUtilities/filters/base/ChooseableFilter.dcl.h>
14
15#include <vector>
16#include <string>
17
18namespace Belle2 {
23
24 namespace TrackingUtilities {
25 class CDCTrack;
26 }
27 namespace TrackFindingCDC {
28
30 class TrackQualityEstimator : public TrackingUtilities::Findlet<TrackingUtilities::CDCTrack&> {
31
32 private:
35
36 public:
38 explicit TrackQualityEstimator(const std::string& defaultFilterName = "mva");
39
41 std::string getDescription() final;
42
44 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
45
47 void initialize() override;
48
50 void apply(std::vector<TrackingUtilities::CDCTrack>& tracks) final;
51
52 private:
55
58
61
64
66 TrackingUtilities::ChooseableFilter<TrackQualityFilterFactory> m_trackQualityFilter;
67 };
68 }
70}
The Module parameter list class.
Findlet to exports CDCTracks as RecoTracks.
bool m_param_resetTakenFlag
Reset taken flag for deleted tracks so that hits can be used by subsequent TFs.
bool m_param_deleteTracks
Delete tracks below threshold instead of just assigning quality indicator.
void initialize() override
Receive and dispatch signal before the start of the event processing.
void apply(std::vector< TrackingUtilities::CDCTrack > &tracks) final
Main algorithm.
bool m_needsTruthInformation
Store output of needsTruthInformation from filter in member variable.
TrackingUtilities::Findlet< TrackingUtilities::CDCTrack & > Super
Type of the base class.
std::string getDescription() final
Short description of the findlet.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
CDCMCCloneLookUpFiller m_mcCloneLookUpFiller
Findlet to fill CDCTracks into lookup table (singleton) with clone information.
TrackQualityEstimator(const std::string &defaultFilterName="mva")
Constructor adding the filter as a subordinary processing signal listener.
TrackingUtilities::ChooseableFilter< TrackQualityFilterFactory > m_trackQualityFilter
Reference to the filter to be used to filter.
Derived class of TrackFilterFactory with a truth target that also discards clones Probably this whole...
Class representing a sequence of three dimensional reconstructed hits.
Definition CDCTrack.h:39
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition Findlet.h:26
STL class.
Abstract base class for different kinds of events.
STL namespace.