 |
Belle II Software
release-05-01-25
|
11 #include <tracking/ckf/cdc/findlets/CKFToCDCFromEclFindlet.h>
13 #include <tracking/trackFindingCDC/utilities/Algorithms.h>
15 #include <framework/core/ModuleParamList.h>
17 #include <cdc/dataobjects/CDCRecoHit.h>
18 #include <cdc/translators/LinearGlobalADCCountTranslator.h>
19 #include <cdc/translators/RealisticCDCGeometryTranslator.h>
20 #include <cdc/translators/RealisticTDCCountTranslator.h>
45 moduleParamList->
getParameter<std::string>(
"statePreFilter").setDefaultValue(
"all");
46 moduleParamList->
getParameter<std::string>(
"stateBasicFilter").setDefaultValue(
"rough_eclSeed");
47 moduleParamList->
getParameter<std::string>(
"stateExtrapolationFilter").setDefaultValue(
"extrapolate_and_update");
48 moduleParamList->
getParameter<std::string>(
"stateFinalFilter").setDefaultValue(
"distance");
50 moduleParamList->
getParameter<std::string>(
"badTracksFilter").setDefaultValue(
"seedCharge");
51 moduleParamList->
getParameter<std::string>(
"duplicateTrackFilter").setDefaultValue(
"hitDistance");
52 moduleParamList->
getParameter<std::string>(
"duplicateSeedFilter").setDefaultValue(
"duplicateHits");
73 const auto& wireHitPtrs = TrackFindingCDC::as_pointers<const TrackFindingCDC::CDCWireHit>(wireHits);
79 for (
const auto& seed :
m_seeds) {
80 B2DEBUG(100,
"Starting new seed");
void beginEvent() override
Clear the object pools.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
std::vector< CDCCKFPath > m_paths
Current list of paths.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
Translator mirroring the realistic Digitization.
void apply(std::vector< CDCCKFPath > &paths, const std::vector< const TrackFindingCDC::CDCWireHit * > &wireHits) override
Main method to update the paths. Input: vector of the selected paths and a vector of CDC wirehits to ...
This class simply assumes a linear translation through (0,0)
ModuleParam< T > & getParameter(const std::string &name) const
Returns a reference to a parameter.
std::vector< CDCCKFResult > m_results
Current list of results.
void apply(std::vector< CDCCKFPath > &seeds) override
Load in the reco tracks and the hits.
static void setTranslators(CDC::ADCCountTranslatorBase *const adcCountTranslator, CDC::CDCGeometryTranslatorBase *const cdcGeometryTranslator, CDC::TDCCountTranslatorBase *const tdcCountTranslator, bool useTrackTime=false, bool cosmics=false)
Setter for the Translators.
CDCCKFResultFinalizer m_resultFinalizer
Result Finalizer.
void addProcessingSignalListener(ProcessingSignalListener *psl)
Register a processing signal listener to be notified.
void apply(const std::vector< CDCCKFResult > &results) override
Do the track/hit finding/merging.
This class uses the realistic detector geometry (the one after alignment procedure) for the translati...
void apply(const std::vector< CDCCKFPath > &paths, std::vector< CDCCKFResult > &results) override
main method of the findlet, for a list of paths create a list of results.
Abstract base class for different kinds of events.
virtual void exposeParameters(ModuleParamList *moduleParamList __attribute__((unused)), const std::string &prefix __attribute__((unused)))
Forward prefixed parameters of this findlet to the module parameter list.
~CKFToCDCFromEclFindlet() override
Default desctructor.
CDCCKFDuplicateRemover m_duplicateRemover
Showers from Bremsstrahlung might lead to duplicate tracks.
CDCCKFEclSeedCreator m_seedCreator
Findlet for retrieving the ecl showers and creating recoTracks out of it.
void apply(const std::vector< TrackFindingCDC::CDCWireHit > &wireHits) override
Do the track/hit finding/merging.
void beginEvent() override
Receive and dispatch signal for the start of a new event.
void apply(std::vector< CDCCKFResult > &results) override
main method of the findlet, merges and filters paths
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
The Module parameter list class.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
StackTreeSearcher m_treeSearcher
Tree Searcher.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
CDCCKFResultStorer m_resultStorer
Result Storer.
std::vector< CDCCKFPath > m_seeds
Current list of seeds.
CKFToCDCFromEclFindlet()
Constructor, for setting module description and parameters.