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

#include <HistogramSpec.h>

Static Public Member Functions

template<typename T >
static std::unique_ptr< T > createHist (const HistogramSpec &histSpec)
 
static HistPtr createHistVariant (const HistogramSpec &histSpec)
 
template<typename T >
static TAxis * getAxis (const int i, T *hist)
 

Detailed Description

Static helper class to generate histograms from the specifications. Also provides functions to obtain pointer to the created histogram casted to the correct alternative of the std::variant HistPtr that is used in HistogramRegistry.

Definition at line 211 of file HistogramSpec.h.

Member Function Documentation

◆ createHist()

template<typename T >
std::unique_ptr< T > o2::framework::HistFactory::createHist ( const HistogramSpec histSpec)
static

Definition at line 136 of file HistogramSpec.cxx.

◆ createHistVariant()

HistPtr o2::framework::HistFactory::createHistVariant ( const HistogramSpec histSpec)
static

Definition at line 147 of file HistogramSpec.cxx.

◆ getAxis()

template<typename T >
TAxis * o2::framework::HistFactory::getAxis ( const int  i,
T *  hist 
)
static

Definition at line 195 of file HistogramSpec.cxx.


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