The Gaudi Framework  master (37c0b60a)
nlohmann Namespace Reference

Classes

struct  adl_serializer< std::chrono::duration< Rep, Period > >
 

Functions

void to_json (nlohmann::json &j, TAxis const &axis)
 automatic translation of TAxis to json More...
 
void to_json (nlohmann::json &j, TH1D const &h)
 automatic translation of Root histograms to json More...
 
void to_json (nlohmann::json &j, TH2D const &h)
 
void to_json (nlohmann::json &j, TH3D const &h)
 
void to_json (nlohmann::json &j, TProfile const &h)
 
void to_json (nlohmann::json &j, TProfile2D const &h)
 

Function Documentation

◆ to_json() [1/6]

void nlohmann::to_json ( nlohmann::json &  j,
TAxis const &  axis 
)
inline

automatic translation of TAxis to json

Definition at line 955 of file Utils.h.

955  {
956  j = nlohmann::json{ { "nBins", axis.GetNbins() },
957  { "minValue", axis.GetXmin() },
958  { "maxValue", axis.GetXmax() },
959  { "title", axis.GetTitle() } };
960  }

◆ to_json() [2/6]

void nlohmann::to_json ( nlohmann::json &  j,
TH1D const &  h 
)
inline

automatic translation of Root histograms to json

Definition at line 962 of file Utils.h.

◆ to_json() [3/6]

void nlohmann::to_json ( nlohmann::json &  j,
TH2D const &  h 
)
inline

Definition at line 965 of file Utils.h.

◆ to_json() [4/6]

void nlohmann::to_json ( nlohmann::json &  j,
TH3D const &  h 
)
inline

Definition at line 968 of file Utils.h.

◆ to_json() [5/6]

void nlohmann::to_json ( nlohmann::json &  j,
TProfile const &  h 
)
inline

Definition at line 971 of file Utils.h.

◆ to_json() [6/6]

void nlohmann::to_json ( nlohmann::json &  j,
TProfile2D const &  h 
)
inline

Definition at line 974 of file Utils.h.

jsonFromLHCbLog.json
json
Definition: jsonFromLHCbLog.py:86
Gaudi::Histograming::Sink::details::rootHistogramToJson
nlohmann::json rootHistogramToJson(Histo const &h)
automatic translation of Root Histograms to json
Definition: Utils.h:383
ProduceConsume.j
j
Definition: ProduceConsume.py:104
AlgSequencer.h
h
Definition: AlgSequencer.py:31