Belle II Software development
CKFToCDCFromEclFindlet.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
12#include <tracking/ckf/cdc/findlets/CDCCKFEclSeedCreator.h>
13#include <tracking/ckf/cdc/findlets/StackTreeSearcher.h>
14#include <tracking/ckf/cdc/findlets/CDCCKFResultFinalizer.h>
15#include <tracking/ckf/cdc/findlets/CDCCKFResultStorer.h>
16#include <tracking/ckf/cdc/findlets/CDCCKFDuplicateRemover.h>
17
18#include <tracking/ckf/cdc/entities/CDCCKFPath.h>
19
20#include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
21
22#include <vector>
23
24namespace Belle2 {
29 class ModuleParamList;
30
32 class CKFToCDCFromEclFindlet : public TrackFindingCDC::Findlet<const TrackFindingCDC::CDCWireHit> {
35
36 public:
39
42
44 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
45
47 void apply(const std::vector<TrackFindingCDC::CDCWireHit>& wireHits) override;
48
50 void beginEvent() override;
51
52 private:
53 // Findlets
64
65 // Object pools
67 std::vector<CDCCKFPath> m_paths;
69 std::vector<CDCCKFPath> m_seeds;
71 std::vector<CDCCKFResult> m_results;
72 };
74}
Remove duplicate paths created from ECLShowers These typically come from the seeding with two charge ...
Findlet to finalize CKF Paths in terms of final result.
Store resutling tracks and relations on the dataStore.
Main findlet of the ToCDCCKF module.
std::vector< CDCCKFResult > m_results
Current list of results.
std::vector< CDCCKFPath > m_seeds
Current list of seeds.
CDCCKFResultStorer m_resultStorer
Result Storer.
void apply(const std::vector< TrackFindingCDC::CDCWireHit > &wireHits) override
Do the track/hit finding/merging.
StackTreeSearcher m_treeSearcher
Tree Searcher.
CDCCKFResultFinalizer m_resultFinalizer
Result Finalizer.
~CKFToCDCFromEclFindlet() override
Default desctructor.
void beginEvent() override
Clear the object pools.
CDCCKFDuplicateRemover m_duplicateRemover
Showers from Bremsstrahlung might lead to duplicate tracks.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
CDCCKFEclSeedCreator m_seedCreator
Findlet for retrieving the ecl showers and creating recoTracks out of it.
CKFToCDCFromEclFindlet()
Constructor, for setting module description and parameters.
std::vector< CDCCKFPath > m_paths
Current list of paths.
The Module parameter list class.
CKF tree searcher which traces several best paths.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Abstract base class for different kinds of events.