Belle II Software  release-08-01-10
BinnedEventT0 Class Reference

Database object for storing a binned EventT0 coming from the trigger. More...

#include <BinnedEventT0.h>

Inheritance diagram for BinnedEventT0:
Collaboration diagram for BinnedEventT0:

Public Member Functions

int getBinnedEventT0 (const Const::EDetector detector) const
 Return the stored binned event t0 for the given detector or 0 if nothing stored.
 
void addBinnedEventT0 (int eventT0, Const::EDetector detector)
 Store a binned event t0 for the given detector replacing any other hypothesis for this detector.
 
bool hasBinnedEventT0 (const Const::EDetector detector) const
 Check if one of the detectors in the given set has a binned t0 estimation.
 
void clear ()
 Clear the list of extracted event T0 estimations.
 

Private Attributes

std::map< Const::EDetector, int > m_eventT0Map
 Internal storage of the event t0 list.
 

Detailed Description

Database object for storing a binned EventT0 coming from the trigger.

It stores one binned (integer) event t0 estimation for each detector, which will be replaced whenever you store a new one for the same detector.

It is only possible to extract the estimations for one detector at the time, as averaging does not make sense for the binned data (additionally, the detectors may have different time offsets unknown to this object).

It is in the responsibility of the user to calculate a floating point t0 in nanoseconds out of the integer estimations if desired.

Definition at line 33 of file BinnedEventT0.h.


The documentation for this class was generated from the following files: