![]() |
The Gaudi Framework
v39r3 (979e3109)
|
Classes | |
struct | Axis |
Small helper struct representing the Axis of an Histogram. More... | |
struct | BinAvValue |
struct | ProfileWrapper |
helper Wrapper around TProfileX to be able to fill it More... | |
struct | TraitsBase |
Common base for Traits dealing with Histogram conversions to Root Provides generic implementation for creating the histogram and filling meta data The filling (method fill) is not implemented. More... | |
Functions | |
Axis | jsonToAxis (nlohmann::json &jAxis) |
extract an Axis from json data More... | |
void | fixNameAndDir (std::string &name, std::string &dir) |
handles cases where name includes '/' character(s) and move needed part of it to dir. More... | |
template<typename Traits , std::size_t... index> | |
std::tuple< typename Traits::Histo, std::string > | jsonToRootHistogramInternal (std::string &dir, std::string &name, nlohmann::json const &j, std::index_sequence< index... >) |
generic function to convert json to a ROOT Histogram - internal implementation More... | |
TDirectory * | changeDir (TFile &file, const std::string &dir) |
changes to the ROOT directory given in the current ROOT file and returns the current directory before the change More... | |
template<typename Histo > | |
nlohmann::json | allAxisTojson (Histo const &h) |
template<typename Histo > | |
nlohmann::json | binsTojson (Histo const &h) |
template<typename Histo > | |
nlohmann::json | rootHistogramToJson (Histo const &h) |
automatic translation of Root Histograms to json More... | |
nlohmann::json Gaudi::Histograming::Sink::details::allAxisTojson | ( | Histo const & | h | ) |
nlohmann::json Gaudi::Histograming::Sink::details::binsTojson | ( | Histo const & | h | ) |
|
inline |
changes to the ROOT directory given in the current ROOT file and returns the current directory before the change
Definition at line 328 of file Utils.h.
|
inline |
|
inline |
std::tuple<typename Traits::Histo, std::string> Gaudi::Histograming::Sink::details::jsonToRootHistogramInternal | ( | std::string & | dir, |
std::string & | name, | ||
nlohmann::json const & | j, | ||
std::index_sequence< index... > | |||
) |
nlohmann::json Gaudi::Histograming::Sink::details::rootHistogramToJson | ( | Histo const & | h | ) |
automatic translation of Root Histograms to json
Definition at line 384 of file Utils.h.