Belle II Software development
TrackCandidateOverlapResolver.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 <framework/datastore/StoreArray.h>
12#include <svd/dataobjects/SVDCluster.h>
13
14#include <string>
15#include <vector>
16
17namespace Belle2 {
22 class ModuleParamList;
23 class SpacePointTrackCand;
24
25 namespace vxdHoughTracking {
26
28 class TrackCandidateOverlapResolver : public TrackFindingCDC::Findlet<SpacePointTrackCand> {
31
32 public:
35
38
40 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
41
43 void initialize() override;
44
46 void apply(std::vector<SpacePointTrackCand>& spacePointTrackCandsToResolve) override;
47
48 private:
52 std::string m_nameSVDClusters = "SVDClusters";
53
55 std::string m_resolveMethod = "greedy";
56
58 double m_minActivityState = 0.7;
59 };
60
61 }
63}
The Module parameter list class.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
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.
void apply(std::vector< SpacePointTrackCand > &spacePointTrackCandsToResolve) override
Reject bad SpacePointTrackCands and bad hits inside the remaining.
StoreArray< SVDCluster > m_svdClusters
Stay connected to the DataStore for timing improvement.
TrackCandidateOverlapResolver()
Find intercepts in the 2D Hough space.
std::string m_resolveMethod
Strategy used to resolve overlaps.
double m_minActivityState
Minimum of activityState of candidate required to be accepted by the algorithm.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
Abstract base class for different kinds of events.