 |
Belle II Software
release-05-01-25
|
12 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
13 #include <tracking/ckf/svd/entities/CKFToSVDResult.h>
14 #include <tracking/ckf/svd/entities/CKFToSVDState.h>
15 #include <tracking/trackFindingCDC/utilities/WeightedRelation.h>
17 #include <tracking/ckf/general/findlets/SpacePointTagger.dcl.h>
18 #include <tracking/ckf/general/findlets/TrackLoader.h>
19 #include <tracking/ckf/general/findlets/StateCreator.dcl.h>
20 #include <tracking/ckf/general/findlets/StateCreatorWithReversal.dcl.h>
21 #include <tracking/ckf/general/findlets/CKFRelationCreator.dcl.h>
22 #include <tracking/ckf/general/findlets/TreeSearcher.dcl.h>
23 #include <tracking/ckf/general/findlets/OverlapResolver.dcl.h>
24 #include <tracking/ckf/general/findlets/ResultStorer.dcl.h>
25 #include <tracking/ckf/svd/findlets/SVDStateRejecter.h>
26 #include <tracking/ckf/svd/findlets/SpacePointLoader.h>
28 #include <tracking/ckf/svd/filters/relations/ChooseableSVDRelationFilter.h>
29 #include <tracking/ckf/svd/filters/results/ChooseableSVDResultFilter.h>
40 class ModuleParamList;
58 class CKFToSVDFindlet :
public TrackFindingCDC::Findlet<> {
60 using Super = TrackFindingCDC::Findlet<>;
73 void apply()
override;
111 std::vector<CKFToSVDState>
m_states;
113 std::vector<TrackFindingCDC::WeightedRelation<CKFToSVDState>>
m_relations;
std::vector< CKFToSVDState > m_states
States for the hits.
StateCreatorWithReversal< CKFToSVDState > m_stateCreatorFromTracks
Findlet for creating states out of tracks.
ResultStorer< CKFToSVDResult > m_resultStorer
Findlet for storing the results.
TreeSearcher< CKFToSVDState, SVDStateRejecter, CKFToSVDResult > m_treeSearchFindlet
Findlet doing the main work: the tree finding.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
void beginEvent() override
Clear the object pools.
unsigned int m_param_minimalHitRequirement
Minimal hit requirement for the results (counted in number of space points)
StateCreator< const SpacePoint, CKFToSVDState > m_stateCreatorFromHits
Findlet for creating states out of hits.
OverlapResolver< ChooseableSVDResultFilter > m_overlapResolver
Findlet for resolving overlaps.
TrackLoader m_dataHandler
Findlet for retrieving the cdc tracks and writing the result out.
TrackFindingCDC::Findlet<> Super
Parent class.
This findlet does also handle the storing of the results.
Load the space points from the store array to the given vector.
CKFToSVDFindlet()
Constructor, for setting module description and parameters.
An adaption of the normal state creator introducing another parameter to reverse the seed.
std::vector< CKFToSVDState > m_seedStates
States for the tracks.
Findlet for loading the seeds from the data store.
std::vector< CKFToSVDResult > m_results
Vector for storing the results.
Abstract base class for different kinds of events.
Simple findlet for searching the best candidate for a given seed aplying the given filter.
std::vector< CKFToSVDResult > m_filteredResults
Vector for storing the filtered results.
Findlet for applying filters for creating hit-hit and hit-seed relations.
void apply() override
Do the track/hit finding/merging.
CKFRelationCreator< CKFToSVDState, ChooseableSVDRelationFilter > m_relationCreator
Findlet for creating relations between states.
Findlet for constructing result paths out of a list of states, which are connected with weighted rela...
SpacePointTagger< CKFToSVDResult, SVDCluster > m_spacePointTagger
Findlet for tagging the used space points.
Create new states and add them to a vector from a given object vector.
Findlet for tagging all space points in the results vector as used.
The Module parameter list class.
std::vector< const SpacePoint * > m_spacePointVector
Pointers to the (const) SpacePoints as a vector.
SpacePointLoader m_hitsLoader
Findlet for loading the space points.
std::vector< TrackFindingCDC::WeightedRelation< CKFToSVDState > > m_relations
Relations between states.
std::vector< RecoTrack * > m_cdcRecoTrackVector
Pointers to the CDC Reco tracks as a vector.
~CKFToSVDFindlet() override
Default desctructor.