Main findlet of the ToCDCCKF module.
More...
#include <CKFToCDCFromEclFindlet.h>
|
using | IOTypes |
| Types that should be served to apply on invocation.
|
|
using | IOTypes |
| Types that should be served to apply on invocation.
|
|
using | IOVectors |
| Vector types that should be served to apply on invocation.
|
|
using | IOVectors |
| Vector types that should be served to apply on invocation.
|
|
|
| CKFToCDCFromEclFindlet () |
| Constructor, for setting module description and parameters.
|
|
| ~CKFToCDCFromEclFindlet () override |
| Default destructor.
|
|
void | exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override |
| Expose the parameters of the sub findlets.
|
|
void | apply (const std::vector< TrackFindingCDC::CDCWireHit > &wireHits) override |
| Do the track/hit finding/merging.
|
|
void | beginEvent () override |
| Clear the object pools.
|
|
virtual std::string | getDescription () |
| Brief description of the purpose of the concrete findlet.
|
|
virtual std::string | getDescription () |
| Brief description of the purpose of the concrete findlet.
|
|
virtual void | apply (ToVector< AIOTypes > &... ioVectors)=0 |
| Main function executing the algorithm.
|
|
void | initialize () override |
| Receive and dispatch signal before the start of the event processing.
|
|
void | beginRun () override |
| Receive and dispatch signal for the beginning of a new run.
|
|
void | endRun () override |
| Receive and dispatch signal for the end of the run.
|
|
void | terminate () override |
| Receive and dispatch Signal for termination of the event processing.
|
|
|
using | ToVector |
| Short hand for ToRangeImpl.
|
|
using | ToVector |
| Short hand for ToRangeImpl.
|
|
Main findlet of the ToCDCCKF module.
Definition at line 32 of file CKFToCDCFromEclFindlet.h.
◆ IOTypes [1/2]
Types that should be served to apply on invocation.
Definition at line 30 of file Findlet.h.
◆ IOTypes [2/2]
Types that should be served to apply on invocation.
Definition at line 30 of file Findlet.h.
◆ IOVectors [1/2]
Vector types that should be served to apply on invocation.
Definition at line 53 of file Findlet.h.
◆ IOVectors [2/2]
Vector types that should be served to apply on invocation.
Definition at line 53 of file Findlet.h.
◆ Super
◆ ToVector [1/2]
Short hand for ToRangeImpl.
Definition at line 49 of file Findlet.h.
◆ ToVector [2/2]
Short hand for ToRangeImpl.
Definition at line 49 of file Findlet.h.
◆ CKFToCDCFromEclFindlet()
Constructor, for setting module description and parameters.
Definition at line 24 of file CKFToCDCFromEclFindlet.cc.
25{
31}
CDCCKFResultStorer m_resultStorer
Result Storer.
StackTreeSearcher m_treeSearcher
Tree Searcher.
CDCCKFResultFinalizer m_resultFinalizer
Result Finalizer.
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 addProcessingSignalListener(ProcessingSignalListener *psl)
◆ addProcessingSignalListener()
Register a processing signal listener to be notified.
Definition at line 53 of file CompositeProcessingSignalListener.cc.
56{
58}
Interface for a minimal algorithm part that wants to expose some parameters to a module.
◆ apply()
Do the track/hit finding/merging.
Definition at line 69 of file CKFToCDCFromEclFindlet.cc.
70{
71 const auto& wireHitPtrs = TrackFindingCDC::as_pointers<const TrackFindingCDC::CDCWireHit>(wireHits);
72
73
75
76
77 for (
const auto& seed :
m_seeds) {
78 B2DEBUG(29, "Starting new seed");
83 }
84
85
87
88
90}
std::vector< CDCCKFResult > m_results
Current list of results.
std::vector< CDCCKFPath > m_seeds
Current list of seeds.
std::vector< CDCCKFPath > m_paths
Current list of paths.
◆ beginEvent()
Clear the object pools.
Reimplemented from ProcessingSignalListener.
Definition at line 53 of file CKFToCDCFromEclFindlet.cc.
54{
56
57
59 new CDC::RealisticCDCGeometryTranslator(true),
60 new CDC::RealisticTDCCountTranslator(true),
61 true);
62
63
67}
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.
void beginEvent() override
◆ beginRun()
Receive and dispatch signal for the beginning of a new run.
Definition at line 33 of file CompositeProcessingSignalListener.cc.
24{
28 }
29}
void beginRun() override
Receive and dispatch signal for the beginning of a new run.
virtual void beginRun()
Receive signal for the beginning of a new run.
◆ endRun()
Receive and dispatch signal for the end of the run.
Definition at line 39 of file CompositeProcessingSignalListener.cc.
40{
43 }
45}
void endRun() override
Receive and dispatch signal for the end of the run.
virtual void endRun()
Receive signal for the end of the run.
◆ exposeParameters()
void exposeParameters |
( |
ModuleParamList * | moduleParamList, |
|
|
const std::string & | prefix ) |
|
overridevirtual |
Expose the parameters of the sub findlets.
Reimplemented from CompositeProcessingSignalListener.
Definition at line 33 of file CKFToCDCFromEclFindlet.cc.
34{
36
42
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");
47
48 moduleParamList->
getParameter<std::string>(
"badTracksFilter").setDefaultValue(
"seedCharge");
49 moduleParamList->
getParameter<std::string>(
"duplicateTrackFilter").setDefaultValue(
"hitDistance");
50 moduleParamList->
getParameter<std::string>(
"duplicateSeedFilter").setDefaultValue(
"duplicateHits");
51}
virtual void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix)
ModuleParam< T > & getParameter(const std::string &name) const
Returns a reference to a parameter.
◆ getDescription() [1/2]
virtual std::string getDescription |
( |
| ) |
|
|
inlinevirtualinherited |
Brief description of the purpose of the concrete findlet.
Definition at line 60 of file Findlet.h.
61 {
62 return "(no description)";
63 }
◆ getDescription() [2/2]
virtual std::string getDescription |
( |
| ) |
|
|
inlinevirtualinherited |
Brief description of the purpose of the concrete findlet.
Definition at line 60 of file Findlet.h.
61 {
62 return "(no description)";
63 }
◆ getNProcessingSignalListener()
int getNProcessingSignalListener |
( |
| ) |
|
|
protectedinherited |
◆ initialize()
Receive and dispatch signal before the start of the event processing.
Definition at line 30 of file CompositeProcessingSignalListener.cc.
16{
20 }
21}
void initialize() override
Receive and dispatch signal before the start of the event processing.
virtual void initialize()
Receive signal before the start of the event processing.
◆ terminate()
Receive and dispatch Signal for termination of the event processing.
Definition at line 42 of file CompositeProcessingSignalListener.cc.
48{
51 }
53}
void terminate() override
Receive and dispatch Signal for termination of the event processing.
virtual void terminate()
Receive Signal for termination of the event processing.
◆ m_duplicateRemover
◆ m_initialized
◆ m_initializedAs
std::string m_initializedAs |
|
privateinherited |
◆ m_paths
◆ m_resultFinalizer
◆ m_results
◆ m_resultStorer
◆ m_seedCreator
◆ m_seeds
◆ m_subordinaryProcessingSignalListeners
◆ m_terminated
◆ m_treeSearcher
The documentation for this class was generated from the following files: