12 #include <tracking/eventTimeExtraction/findlets/BaseEventTimeExtractor.dcl.h>
14 #include <tracking/trackFindingCDC/utilities/StringManipulation.h>
15 #include <framework/core/ModuleParamList.h>
22 template<
class ... AIOTypes>
25 return m_wasSuccessful;
28 template<
class ... AIOTypes>
31 moduleParamList->addParameter(TrackFindingCDC::prefixed(prefix,
"overwriteExistingEstimation"),
32 m_param_overwriteExistingEstimation,
33 "Is it fine to overwrite the current EventT0?",
34 m_param_overwriteExistingEstimation);
36 Super::exposeParameters(moduleParamList, prefix);
39 template<
class ... AIOTypes>
43 m_eventT0.registerInDataStore();
46 template<
class ... AIOTypes>
51 m_wasSuccessful =
false;
53 if (not m_eventT0.isValid()) {
57 m_eventT0Before = m_eventT0->getEventT0Component();
60 template<
class ... AIOTypes>
63 if (m_eventT0Before) {
64 m_eventT0->setEventT0(*m_eventT0Before);
66 m_eventT0->clearEventT0();