The Gaudi Framework
master (37c0b60a)
|
Namespaces | |
detail | |
details | |
Classes | |
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 More... | |
template<typename Histo > | |
nlohmann::json | rootHistogramTojson (Histo const &) |
generic function to convert a ROOT Histogram to json More... | |
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 More... | |
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 More... | |
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. More... | |
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. More... | |
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. More... | |
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 | ||
) |
|
inline |
Definition at line 811 of file Utils.h.
|
inline |
Definition at line 854 of file Utils.h.
|
inline |
Definition at line 896 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 609 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 669 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 725 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 479 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 508 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 545 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 | ||
) |
void Gaudi::Histograming::Sink::saveRootHisto | ( | TFile & | file, |
std::string | dir, | ||
std::string | name, | ||
nlohmann::json const & | j | ||
) |
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