![]() |
The Gaudi Framework
master (9f3f8895)
|
Namespaces | |
| namespace | detail |
| namespace | details |
Classes | |
| struct | ArthTypeAccessor |
| class | Base |
| struct | BinAccessor |
| struct | Root |
| struct | Traits |
| templated Traits dealing with Root Histogram filling for standard histograms More... | |
| struct | Traits< false, RootHisto, N > |
| Specialization of Traits dealing with non profile Root Histograms. More... | |
| struct | Traits< true, RootHisto, N > |
| Specialization of Traits dealing with profile Root Histograms. More... | |
Functions | |
| template<typename Traits> | |
| std::tuple< typename Traits::Histo, std::string > | jsonToRootHistogram (std::string &dir, std::string &name, nlohmann::json const &j) |
| generic function to convert json to a ROOT Histogram | |
| template<typename Histo> | |
| nlohmann::json | rootHistogramTojson (Histo const &) |
| generic function to convert a ROOT Histogram to json | |
| template<typename Traits> | |
| void | saveRootHisto (TFile &file, std::string dir, std::string name, nlohmann::json const &j) |
| generic method to save histograms to files, based on Traits | |
| template<unsigned int N, bool isProfile, typename ROOTHisto> | |
| void | saveRootHisto (TFile &file, std::string dir, std::string name, nlohmann::json const &j) |
| generic method to save regular histograms to files | |
| template<Accumulators::atomicity Atomicity = Accumulators::atomicity::full, typename Arithmetic = double> | |
| details::ProfileWrapper< TProfile > | profileHisto1DToRoot (std::string name, Monitoring::Hub::Entity const &ent) |
| Direct conversion of 1D histograms from Gaudi to ROOT format. | |
| template<Accumulators::atomicity Atomicity = Accumulators::atomicity::full, typename Arithmetic = double> | |
| details::ProfileWrapper< TProfile2D > | profileHisto2DToRoot (std::string name, Monitoring::Hub::Entity const &ent) |
| Direct conversion of 2D histograms from Gaudi to ROOT format. | |
| template<Accumulators::atomicity Atomicity = Accumulators::atomicity::full, typename Arithmetic = double> | |
| details::ProfileWrapper< TProfile3D > | profileHisto3DToRoot (std::string name, Monitoring::Hub::Entity const &ent) |
| Direct conversion of 3D histograms from Gaudi to ROOT format. | |
| template<unsigned int N, Accumulators::atomicity Atomicity = Accumulators::atomicity::full, typename Arithmetic = double> | |
| void | saveProfileHisto (TFile &file, std::string dir, std::string name, Monitoring::Hub::Entity const &ent) |
| template<Gaudi::Accumulators::atomicity Atomicity = Gaudi::Accumulators::atomicity::full, typename Arithmetic = double> | |
| std::string | printProfileHisto1D (std::string_view name, Gaudi::Monitoring::Hub::Entity const &ent, unsigned int stringsWidth=45) |
| template<Gaudi::Accumulators::atomicity Atomicity = Gaudi::Accumulators::atomicity::full, typename Arithmetic = double> | |
| std::string | printProfileHisto2D (std::string_view name, Gaudi::Monitoring::Hub::Entity const &ent, unsigned int stringsWidth=45) |
| template<Gaudi::Accumulators::atomicity Atomicity = Gaudi::Accumulators::atomicity::full, typename Arithmetic = double> | |
| std::string | printProfileHisto3D (std::string_view name, Gaudi::Monitoring::Hub::Entity const &ent, unsigned int stringsWidth=45) |
| std::string | printHistogram1D (std::string_view type, std::string_view name, std::string_view title, const nlohmann::json &j, unsigned int stringsWidth=45) |
| std::string | printHistogram2D (std::string_view type, std::string_view name, std::string_view title, const nlohmann::json &j, unsigned int stringsWidth=45) |
| std::string | printHistogram3D (std::string_view type, std::string_view name, std::string_view title, const nlohmann::json &j, unsigned int stringsWidth=45) |
| std::tuple< typename Traits::Histo, std::string > Gaudi::Histograming::Sink::jsonToRootHistogram | ( | std::string & | dir, |
| std::string & | name, | ||
| nlohmann::json const & | j ) |
generic function to convert json to a ROOT Histogram
returns the Root histogram and the dir where to save it in the Root file This may be different from input dir in case name has slashes
Definition at line 522 of file Utils.h.
|
inline |
Definition at line 877 of file Utils.h.
|
inline |
Definition at line 903 of file Utils.h.
|
inline |
Definition at line 937 of file Utils.h.
| std::string Gaudi::Histograming::Sink::printProfileHisto1D | ( | std::string_view | name, |
| Gaudi::Monitoring::Hub::Entity const & | ent, | ||
| unsigned int | stringsWidth = 45 ) |
Definition at line 711 of file Utils.h.
| std::string Gaudi::Histograming::Sink::printProfileHisto2D | ( | std::string_view | name, |
| Gaudi::Monitoring::Hub::Entity const & | ent, | ||
| unsigned int | stringsWidth = 45 ) |
Definition at line 748 of file Utils.h.
| std::string Gaudi::Histograming::Sink::printProfileHisto3D | ( | std::string_view | name, |
| Gaudi::Monitoring::Hub::Entity const & | ent, | ||
| unsigned int | stringsWidth = 45 ) |
Definition at line 794 of file Utils.h.
| details::ProfileWrapper< TProfile > Gaudi::Histograming::Sink::profileHisto1DToRoot | ( | std::string | name, |
| Monitoring::Hub::Entity const & | ent ) |
Direct conversion of 1D histograms from Gaudi to ROOT format.
Definition at line 546 of file Utils.h.
| details::ProfileWrapper< TProfile2D > Gaudi::Histograming::Sink::profileHisto2DToRoot | ( | std::string | name, |
| Monitoring::Hub::Entity const & | ent ) |
Direct conversion of 2D histograms from Gaudi to ROOT format.
Definition at line 575 of file Utils.h.
| details::ProfileWrapper< TProfile3D > Gaudi::Histograming::Sink::profileHisto3DToRoot | ( | std::string | name, |
| Monitoring::Hub::Entity const & | ent ) |
Direct conversion of 3D histograms from Gaudi to ROOT format.
Definition at line 612 of file Utils.h.
| nlohmann::json Gaudi::Histograming::Sink::rootHistogramTojson | ( | Histo const & | ) |
generic function to convert a ROOT Histogram to json
essentially used for backward compatibility of old HistogramService with MonitoringHub
| void Gaudi::Histograming::Sink::saveProfileHisto | ( | TFile & | file, |
| std::string | dir, | ||
| std::string | name, | ||
| Monitoring::Hub::Entity const & | ent ) |
Definition at line 657 of file Utils.h.
| void Gaudi::Histograming::Sink::saveRootHisto | ( | TFile & | file, |
| std::string | dir, | ||
| std::string | name, | ||
| nlohmann::json const & | j ) |
generic method to save regular histograms to files
Can be used in most cases as the handler function to register into Sink::Base contains all the boiler plate code and redirects specific code to the adapted Traits template
Definition at line 540 of file Utils.h.
| void Gaudi::Histograming::Sink::saveRootHisto | ( | TFile & | file, |
| std::string | dir, | ||
| std::string | name, | ||
| nlohmann::json const & | j ) |
generic method to save histograms to files, based on Traits
Definition at line 528 of file Utils.h.