![]() |
Project
|
#include <Metric2DViewIndex.h>
Public Types | |
using | Updater = std::function< void(std::array< Metric2DViewIndex *, 2 > &views, std::string const &, MetricInfo const &, int value, size_t metricIndex)> |
Public Member Functions | |
bool | isComplete () const |
Whether or not the view is ready to be used. | |
Static Public Member Functions | |
static Updater | getUpdater () |
Get the right updated function given a list of Metric views. | |
Public Attributes | |
std::string | prefix |
The prefix in the metrics store to be used for the view. | |
int | w = 0 |
The size in X of the metrics. | |
int | h = 0 |
The size in Y of the metrics. | |
std::vector< std::size_t > | indexes = {} |
The row major list of indices for the metrics which compose the 2D view. | |
This allows keeping track of the metrics which should be grouped together in some sort of 2D representation.
Definition at line 27 of file Metric2DViewIndex.h.
using o2::framework::Metric2DViewIndex::Updater = std::function<void(std::array<Metric2DViewIndex*, 2>& views, std::string const&, MetricInfo const&, int value, size_t metricIndex)> |
Definition at line 28 of file Metric2DViewIndex.h.
|
static |
Get the right updated function given a list of Metric views.
Definition at line 24 of file Metric2DViewIndex.cxx.
|
inline |
Whether or not the view is ready to be used.
Definition at line 38 of file Metric2DViewIndex.h.
int o2::framework::Metric2DViewIndex::h = 0 |
The size in Y of the metrics.
Definition at line 34 of file Metric2DViewIndex.h.
std::vector<std::size_t> o2::framework::Metric2DViewIndex::indexes = {} |
The row major list of indices for the metrics which compose the 2D view.
Definition at line 36 of file Metric2DViewIndex.h.
std::string o2::framework::Metric2DViewIndex::prefix |
The prefix in the metrics store to be used for the view.
Definition at line 30 of file Metric2DViewIndex.h.
int o2::framework::Metric2DViewIndex::w = 0 |
The size in X of the metrics.
Definition at line 32 of file Metric2DViewIndex.h.