8 #include <tracking/datcon/findlets/DATCONFPGAFindlet.h>
9 #include <tracking/trackFindingCDC/utilities/StringManipulation.h>
10 #include <framework/logging/Logger.h>
11 #include <framework/core/ModuleParamList.h>
14 using namespace TrackFindingCDC;
20 addProcessingSignalListener(&m_digitConverter);
21 addProcessingSignalListener(&m_uClusterizer);
22 addProcessingSignalListener(&m_vClusterizer);
23 addProcessingSignalListener(&m_clusterLoaderAndPreparer);
24 addProcessingSignalListener(&m_uInterceptFinder);
25 addProcessingSignalListener(&m_vInterceptFinder);
26 addProcessingSignalListener(&m_toPXDExtrapolator);
27 addProcessingSignalListener(&m_ROICalculator);
32 Super::exposeParameters(moduleParamList, prefix);
34 m_digitConverter.exposeParameters(moduleParamList, prefix);
35 m_uClusterizer.exposeParameters(moduleParamList, TrackFindingCDC::prefixed(prefix,
"uSide"));
36 m_vClusterizer.exposeParameters(moduleParamList, TrackFindingCDC::prefixed(prefix,
"vSide"));
38 m_clusterLoaderAndPreparer.exposeParameters(moduleParamList, prefix);
40 m_uInterceptFinder.exposeParameters(moduleParamList, TrackFindingCDC::prefixed(prefix,
"uSide"));
41 m_vInterceptFinder.exposeParameters(moduleParamList, TrackFindingCDC::prefixed(prefix,
"vSide"));
43 m_toPXDExtrapolator.exposeParameters(moduleParamList, prefix);
44 m_ROICalculator.exposeParameters(moduleParamList, prefix);
59 m_uExtrapolations.clear();
60 m_vExtrapolations.clear();
66 m_digitConverter.apply(m_uDigits, m_vDigits);
67 B2DEBUG(29,
"m_uDigits.size(): " << m_uDigits.size() <<
" m_vDigits.size(): " << m_vDigits.size());
69 m_uClusterizer.apply(m_uDigits, m_uClusters);
70 m_vClusterizer.apply(m_vDigits, m_vClusters);
71 B2DEBUG(29,
"m_uClusters.size(): " << m_uClusters.size() <<
" m_vClusters.size(): " << m_vClusters.size());
73 m_clusterLoaderAndPreparer.apply(m_uClusters, m_vClusters, m_uHits, m_vHits);
74 B2DEBUG(29,
"m_uHits.size(): " << m_uHits.size() <<
" m_vHits.size(): " << m_vHits.size());
77 if (m_uHits.empty() or m_vHits.empty()) {
81 m_uInterceptFinder.apply(m_uHits, m_uTracks);
82 m_vInterceptFinder.apply(m_vHits, m_vTracks);
84 B2DEBUG(29,
"m_uTracks.size(): " << m_uTracks.size() <<
" m_vTracks.size(): " << m_vTracks.size());
86 m_toPXDExtrapolator.apply(m_uTracks, m_vTracks, m_uExtrapolations, m_vExtrapolations);
88 m_ROICalculator.apply(m_uExtrapolations, m_vExtrapolations);
90 B2DEBUG(29,
"Event statistics: uSVDDigits: " << m_uDigits.size() <<
" vSVDDigits: " << m_vDigits.size() <<
" uSVDClusters: " <<
91 m_uClusters.size() <<
" vSVDClusters: " << m_vClusters.size() <<
" uHits: " << m_uHits.size() <<
" vHits: " <<
92 m_vHits.size() <<
" uTracks: " << m_uTracks.size() <<
" vTracks: " << m_vTracks.size() <<
93 " uExtrapolations: " << m_uExtrapolations.size() <<
" vExtrapolations: " << m_vExtrapolations.size());
DATCONFPGAFindlet()
Constructor for adding the subfindlets.
~DATCONFPGAFindlet()
Default desctructor.
void beginEvent() override
Clear the object pools.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
void apply() override
Function to call all the sub-findlets.
The Module parameter list class.
Abstract base class for different kinds of events.