11 #include <framework/core/Module.h>
12 #include <framework/datastore/StoreObjPtr.h>
13 #include <framework/dataobjects/EventT0.h>
36 void event()
override;
Module to combine the EventT0 values from multiple sub-detectors.
const std::string m_combinationModeCombineSVDandECL
In this mode, the SVD t0 value (if available) will be used to select the ECL t0 information which is ...
std::string m_paramCombinationMode
Mode to combine the t0 values of the sub-detectors.
StoreObjPtr< EventT0 > m_eventT0
Access to global EventT0 which will be read and updated.
virtual ~EventT0CombinerModule()=default
Destructor.
void event() override
This method is called for each event.
const std::string m_combinationModePreferCDC
In this mode, the CDC t0 value (if available) will be set as the final T0 value.
const std::string m_combinationModePreferSVD
In this mode, the SVD t0 value (if available) will be set as the final T0 value.
EventT0::EventT0Component computeCombination(std::vector< EventT0::EventT0Component > measurements) const
computes the new average between multiple, un-correlated sub-detector measurements
EventT0CombinerModule()
Default constructor.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.
Structure for storing the extracted event t0s together with its detector and its uncertainty.