Belle II Software prerelease-11-00-00a
TrackCandidateResultRefiner.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/trackingUtilities/findlets/base/Findlet.h>
11#include <tracking/vxdHoughTracking/findlets/TrackCandidateOverlapResolver.h>
12#include <tracking/trackingUtilities/utilities/WeightedRelation.h>
13#include <framework/database/DBObjPtr.h>
14
15namespace Belle2 {
21 class ModuleParamList;
24
25 namespace vxdHoughTracking {
26
28 class TrackCandidateResultRefiner : public TrackingUtilities::Findlet<SpacePointTrackCand, SpacePointTrackCand> {
31
32 public:
35
38
40 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
41
43 void initialize() override;
44
46 void beginRun() override;
47
49 void apply(std::vector<SpacePointTrackCand>& unrefinedResults, std::vector<SpacePointTrackCand>& refinedResults) override;
50
51 private:
54 std::string m_EstimationMethod = "tripletFit";
56 std::string m_MCRecoTracksStoreArrayName = "MCRecoTracks";
60 std::unique_ptr<QualityEstimatorBase> m_estimator;
61
64
71
74
77 };
78
79 }
81}
Class for accessing objects in the database.
Definition DBObjPtr.h:21
The Module parameter list class.
BaseClass for QualityEstimators.
The payload containing all parameters for the SVDHough.
Storage for (VXD) SpacePoint-based track candidates.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition Findlet.h:26
Findlet for rejecting wrong SpacePointTrackCands and for removing bad hits.
double m_minQualitiyIndicatorSize4
Cut on the quality estimator and only further propagate SPTCs with four hits that are above this valu...
TrackingUtilities::Findlet< SpacePointTrackCand, SpacePointTrackCand > Super
Parent class.
DBObjPtr< SVDHoughParameters > m_SVDHoughParameters
DB object containing the SVDHough parameters.
std::string m_EstimationMethod
Identifier which estimation method to use.
uint m_maxNumberOfEachPathLength
Accept nHits for each size at maximum.
double m_minQualitiyIndicatorSize3
Cut on the quality estimator and only further propagate SPTCs with three hits that are above this val...
void apply(std::vector< SpacePointTrackCand > &unrefinedResults, std::vector< SpacePointTrackCand > &refinedResults) override
Reject bad SpacePointTrackCands and bad hits inside the remaining.
TrackCandidateOverlapResolver m_overlapResolver
Resolve hit overlaps in track candidates.
std::string m_MCRecoTracksStoreArrayName
sets the name of the expected StoreArray containing MCRecoTracks. Only required for MCInfo method
std::unique_ptr< QualityEstimatorBase > m_estimator
pointer to the selected QualityEstimator
double m_minQualitiyIndicatorSize5
Cut on the quality estimator and only further propagate SPTCs with five hits that are above this valu...
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
TrackCandidateResultRefiner()
Find intercepts in the 2D Hough space.
Abstract base class for different kinds of events.