![]() |
The Gaudi Framework
master (e68eea06)
|
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 | |
| void | fixNameAndDir (std::string &name, std::string &dir) |
| handles cases where name includes '/' character(s) and move needed part of it to dir. | |
| 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 | |
| TDirectory * | changeDir (TFile &file, std::string_view dir) |
| changes to the ROOT directory given in the current ROOT file and returns the current directory before the change | |
| 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 | |
| nlohmann::json Gaudi::Histograming::Sink::details::allAxisTojson | ( | Histo const & | h | ) |
Definition at line 352 of file Utils.h.
| nlohmann::json Gaudi::Histograming::Sink::details::binsTojson | ( | Histo const & | h | ) |
Definition at line 363 of file Utils.h.
|
inline |
changes to the ROOT directory given in the current ROOT file and returns the current directory before the change
Definition at line 329 of file Utils.h.
|
inline |
handles cases where name includes '/' character(s) and move needed part of it to dir.
Also handle case of absolute names
Definition at line 179 of file Utils.h.
|
inline |
extract an Axis from json data
Definition at line 169 of file Utils.h.
| 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... > | ) |
generic function to convert json to a ROOT Histogram - internal implementation
Definition at line 196 of file Utils.h.
| nlohmann::json Gaudi::Histograming::Sink::details::rootHistogramToJson | ( | Histo const & | h | ) |
automatic translation of Root Histograms to json
Definition at line 381 of file Utils.h.