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