The Gaudi Framework  v38r1 (3af3a718)
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 406 of file Utils.h.

406  {
407  j = nlohmann::json{ { "nBins", axis.GetNbins() },
408  { "minValue", axis.GetXmin() },
409  { "maxValue", axis.GetXmax() },
410  { "title", axis.GetTitle() } };
411  }

◆ 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 413 of file Utils.h.

◆ to_json() [3/6]

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

Definition at line 416 of file Utils.h.

◆ to_json() [4/6]

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

Definition at line 419 of file Utils.h.

◆ to_json() [5/6]

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

Definition at line 422 of file Utils.h.

◆ to_json() [6/6]

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

Definition at line 425 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:312
ProduceConsume.j
j
Definition: ProduceConsume.py:101
AlgSequencer.h
h
Definition: AlgSequencer.py:31