9#include <tracking/ckf/cdc/findlets/CKFToCDCFromEclFindlet.h>
11#include <tracking/trackFindingCDC/utilities/Algorithms.h>
13#include <framework/core/ModuleParamList.h>
15#include <cdc/dataobjects/CDCRecoHit.h>
16#include <cdc/translators/LinearGlobalADCCountTranslator.h>
17#include <cdc/translators/RealisticCDCGeometryTranslator.h>
18#include <cdc/translators/RealisticTDCCountTranslator.h>
43 moduleParamList->
getParameter<std::string>(
"statePreFilter").setDefaultValue(
"all");
44 moduleParamList->
getParameter<std::string>(
"stateBasicFilter").setDefaultValue(
"rough_eclSeed");
45 moduleParamList->
getParameter<std::string>(
"stateExtrapolationFilter").setDefaultValue(
"extrapolate_and_update");
46 moduleParamList->
getParameter<std::string>(
"stateFinalFilter").setDefaultValue(
"distance");
48 moduleParamList->
getParameter<std::string>(
"badTracksFilter").setDefaultValue(
"seedCharge");
49 moduleParamList->
getParameter<std::string>(
"duplicateTrackFilter").setDefaultValue(
"hitDistance");
50 moduleParamList->
getParameter<std::string>(
"duplicateSeedFilter").setDefaultValue(
"duplicateHits");
71 const auto& wireHitPtrs = TrackFindingCDC::as_pointers<const TrackFindingCDC::CDCWireHit>(wireHits);
77 for (
const auto& seed :
m_seeds) {
78 B2DEBUG(29,
"Starting new seed");
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.
void apply(std::vector< CDCCKFPath > &seeds) override
Load in the reco tracks and the hits.
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.
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.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
void apply(const std::vector< CDCCKFResult > &results) override
Do the track/hit finding/merging.
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.
This class simply assumes a linear translation through (0,0)
This class uses the realistic detector geometry (the one after alignment procedure) for the translati...
Translator mirroring the realistic Digitization.
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 destructor.
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.
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 ...
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
void addProcessingSignalListener(ProcessingSignalListener *psl)
Register a processing signal listener to be notified.
void beginEvent() override
Receive and dispatch signal for the start of a new event.
virtual void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix)
Forward prefixed parameters of this findlet to the module parameter list.
ModuleParam< T > & getParameter(const std::string &name) const
Returns a reference to a parameter.
Abstract base class for different kinds of events.