Class to extract the event t0 using the drift-length approach.
More...
#include <FullGridDriftLengthTrackTimeExtractor.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.
|
|
|
| FullGridDriftLengthTrackTimeExtractor () |
| Constructor.
|
|
void | exposeParameters (ModuleParamList *moduleParamList, const std::string &prefix) override final |
| Copy the parameters.
|
|
void | apply (std::vector< RecoTrack * > &) override final |
| Timing extraction for this findlet.
|
|
bool | wasSuccessful () const |
| Returns true if the last run t0 extraction was successful.
|
|
bool | wasSuccessful () const |
| Returns true if the last run t0 extraction was successful.
|
|
virtual void | initialize () override |
| Initialize the event t0 store obj ptr.
|
|
virtual void | initialize () override |
| Initialize the event t0 store obj ptr.
|
|
virtual void | beginEvent () override |
| Create the event t0 store obj ptr.
|
|
virtual void | beginEvent () override |
| Create the event t0 store obj ptr.
|
|
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 | 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.
|
|
Class to extract the event t0 using the drift-length approach.
Definition at line 26 of file FullGridDriftLengthTrackTimeExtractor.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.
◆ FullGridDriftLengthTrackTimeExtractor()
◆ addProcessingSignalListener()
◆ apply()
void apply |
( |
std::vector< RecoTrack * > & | recoTracks | ) |
|
|
finaloverride |
Timing extraction for this findlet.
Definition at line 39 of file FullGridDriftLengthTrackTimeExtractor.cc.
40{
41 const auto& temporaryT0Extractions =
m_eventT0->getTemporaryEventT0s(Const::CDC);
42 B2ASSERT("There should only be a single or none extraction at this stage!", temporaryT0Extractions.size() <= 1);
43
44 if (temporaryT0Extractions.empty()) {
46
49 return;
50 }
51 } else {
52
53 m_eventT0->setEventT0(temporaryT0Extractions[0]);
54 }
55
58
60 B2DEBUG(25, "Resetting the event t0 as the final extraction was not successful.");
62 }
63}
bool wasSuccessful() const
void resetEventT0() const
◆ beginEvent() [1/2]
virtual void beginEvent |
( |
| ) |
|
|
overridevirtualinherited |
◆ beginEvent() [2/2]
Create the event t0 store obj ptr.
Reimplemented from ProcessingSignalListener.
Definition at line 39 of file BaseEventTimeExtractor.icc.h.
46 {
47 Super::beginEvent();
48
49 m_wasSuccessful = false;
50
51 if (not m_eventT0.isValid()) {
52 m_eventT0.create();
53 }
54
55 m_eventT0Before = m_eventT0->getEventT0Component();
56 }
◆ beginRun()
◆ 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.
◆ exposeParameters()
void exposeParameters |
( |
ModuleParamList * | moduleParamList, |
|
|
const std::string & | prefix ) |
|
finaloverridevirtual |
◆ 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() [1/2]
virtual void initialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ initialize() [2/2]
◆ resetEventT0()
void resetEventT0 |
( |
| ) |
const |
|
protectedinherited |
Reset the t0 value to cached value if it exists or clear it otherwise.
Definition at line 43 of file BaseEventTimeExtractor.icc.h.
60 {
61 if (m_eventT0Before) {
62 m_eventT0->setEventT0(*m_eventT0Before);
63 } else {
64 m_eventT0->clearEventT0();
65 }
66 }
◆ 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.
◆ wasSuccessful()
bool wasSuccessful |
( |
| ) |
const |
|
inherited |
Returns true if the last run t0 extraction was successful.
Definition at line 30 of file BaseEventTimeExtractor.icc.h.
22 {
23 return m_wasSuccessful;
24 }
◆ m_eventT0 [1/2]
◆ m_eventT0 [2/2]
◆ m_eventT0Before [1/2]
◆ m_eventT0Before [2/2]
◆ m_finalExtractor
◆ m_gridExtractor
◆ m_initialized
◆ m_initializedAs
std::string m_initializedAs |
|
privateinherited |
◆ m_param_overwriteExistingEstimation [1/2]
bool m_param_overwriteExistingEstimation |
|
privateinherited |
◆ m_param_overwriteExistingEstimation [2/2]
bool m_param_overwriteExistingEstimation |
|
privateinherited |
◆ m_subordinaryProcessingSignalListeners
◆ m_terminated
◆ m_wasSuccessful [1/2]
◆ m_wasSuccessful [2/2]
The documentation for this class was generated from the following files: