![]() |
Project
|
Matcher on actual time, as reported in the DataProcessingHeader. More...
#include <DataDescriptorMatcher.h>
Inherits o2::framework::data_matcher::ValueHolder< uint64_t >.
Public Member Functions | |
StartTimeValueMatcher (ContextRef variableId, uint64_t scale=1) | |
StartTimeValueMatcher (std::string const &s, uint64_t scale=1) | |
StartTimeValueMatcher (uint64_t v, uint64_t scale=1) | |
bool | match (header::DataHeader const &dh, DataProcessingHeader const &dph, VariableContext &context) const |
![]() | |
ValueHolder (uint64_t const &s) | |
ValueHolder (ContextRef variableId) | |
bool | operator== (ValueHolder< uint64_t > const &other) const |
decltype(auto) | visit (VISITOR visitor) const |
Additional Inherited Members | |
![]() | |
std::variant< uint64_t, ContextRef > | mValue |
Matcher on actual time, as reported in the DataProcessingHeader.
Definition at line 192 of file DataDescriptorMatcher.h.
|
inline |
|
inline |
The passed string s is the expected numerical value for the SubSpecification type.
|
inline |
This means that the matcher is looking for a constant. We will divide the input by scale so that we can map quantities with different granularities to the same record.
bool o2::framework::data_matcher::StartTimeValueMatcher::match | ( | header::DataHeader const & | dh, |
DataProcessingHeader const & | dph, | ||
VariableContext & | context | ||
) | const |
This will match the timing information which is currently in the DataProcessingHeader. Notice how we apply the scale to the actual values found.
Definition at line 122 of file DataDescriptorMatcher.cxx.