Project
Loading...
Searching...
No Matches
o2::framework::Metric2DViewIndex Struct Reference

#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.
 

Detailed Description

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.

Member Typedef Documentation

◆ Updater

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.

Member Function Documentation

◆ getUpdater()

Metric2DViewIndex::Updater o2::framework::Metric2DViewIndex::getUpdater ( )
static

Get the right updated function given a list of Metric views.

Definition at line 24 of file Metric2DViewIndex.cxx.

◆ isComplete()

bool o2::framework::Metric2DViewIndex::isComplete ( ) const
inline

Whether or not the view is ready to be used.

Definition at line 38 of file Metric2DViewIndex.h.

Member Data Documentation

◆ h

int o2::framework::Metric2DViewIndex::h = 0

The size in Y of the metrics.

Definition at line 34 of file Metric2DViewIndex.h.

◆ indexes

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.

◆ prefix

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.

◆ w

int o2::framework::Metric2DViewIndex::w = 0

The size in X of the metrics.

Definition at line 32 of file Metric2DViewIndex.h.


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