The Gaudi Framework  master (37c0b60a)
StatEntity.cpp File Reference
Include dependency graph for StatEntity.cpp:

Go to the source code of this file.

Functions

void to_json (nlohmann::json &j, StatEntity const &s)
 

Function Documentation

◆ to_json()

void to_json ( nlohmann::json &  j,
StatEntity const &  s 
)

Definition at line 14 of file StatEntity.cpp.

14  {
15  j = { { "type", s.typeString },
16  { "empty", s.nEntries() == 0 },
17  { "nEntries", s.nEntries() },
18  { "sum", s.sum() },
19  { "mean", s.mean() },
20  { "sum2", s.sum2() },
21  { "standard_deviation", s.standard_deviation() },
22  { "min", s.min() },
23  { "max", s.max() },
24  { "nTrueEntries", s.nTrueEntries() },
25  { "nFalseEntries", s.nFalseEntries() },
26  { "efficiency", s.efficiency() },
27  { "efficiencyErr", s.efficiencyErr() } };
28 }
gaudirun.s
string s
Definition: gaudirun.py:346
ProduceConsume.j
j
Definition: ProduceConsume.py:104