 |
Belle II Software
release-05-01-25
|
13 #include <framework/core/Module.h>
14 #include <framework/datastore/StoreObjPtr.h>
15 #include <framework/dataobjects/EventT0.h>
26 class EventT0CombinerModule final :
public Module {
38 void event()
override;
StoreObjPtr< EventT0 > m_eventT0
Access to global EventT0 which will be read and updated.
Structure for storing the extracted event t0s together with its detector and its uncertainty.
std::string m_paramCombinationMode
Mode to combine the t0 values of the sub-detectors.
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
const std::string m_combinationModeCombineCDCandECL
In this mode, the CDC t0 value (if available) will be used to select the ECL t0 information which is ...
EventT0::EventT0Component computeCombination(std::vector< EventT0::EventT0Component > measurements) const
computes the new average between multiple, un-correlated sub-detector measurements
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.
EventT0CombinerModule()
Default constructor.
virtual ~EventT0CombinerModule()=default
Destructor.