![]()  | 
  
    The Gaudi Framework
    v38r3 (c3fc9673)
    
   | 
 
Namespaces | |
| details | |
Classes | |
| class | Base | 
| 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 form 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 form 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 form 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) | 
| std::tuple< typename Traits::Histo, std::string > Gaudi::Histograming::Sink::jsonToRootHistogram | ( | std::string & | dir, | 
| std::string & | name, | ||
| nlohmann::json const & | j | ||
| ) | 
| details::ProfileWrapper<TProfile> Gaudi::Histograming::Sink::profileHisto1DToRoot | ( | std::string | name, | 
| Monitoring::Hub::Entity const & | ent | ||
| ) | 
Direct conversion of 1D histograms form Gaudi to ROOT format.
Definition at line 416 of file Utils.h.
| details::ProfileWrapper<TProfile2D> Gaudi::Histograming::Sink::profileHisto2DToRoot | ( | std::string | name, | 
| Monitoring::Hub::Entity const & | ent | ||
| ) | 
Direct conversion of 2D histograms form Gaudi to ROOT format.
Definition at line 446 of file Utils.h.
| details::ProfileWrapper<TProfile3D> Gaudi::Histograming::Sink::profileHisto3DToRoot | ( | std::string | name, | 
| Monitoring::Hub::Entity const & | ent | ||
| ) | 
Direct conversion of 3D histograms form Gaudi to ROOT format.
Definition at line 484 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