|
Gaudi Framework, version v21r6 |
| Home | Generated: 11 Nov 2009 |
Definition in file HistoTableFormat.cpp.
#include <string>
#include <cmath>
#include <vector>
#include "GaudiKernel/Kernel.h"
#include "AIDA/IHistogram1D.h"
#include "AIDA/IAxis.h"
#include "GaudiKernel/DataObject.h"
#include "GaudiKernel/IRegistry.h"
#include "GaudiUtils/HistoStats.h"
#include "GaudiUtils/HistoTableFormat.h"
#include "boost/format.hpp"

Go to the source code of this file.
Defines | |
| #define | class class GAUDI_API |
| : AIDA interfaces visibility | |
Functions | |
| GAUDI_API std::string | Gaudi::Utils::Histos::Formats::format (const int ID=Default) |
| get the format by enum | |
| GAUDI_API std::string | Gaudi::Utils::Histos::Formats::header (const int ID=Default) |
| get the recommended header by enum | |
| GAUDI_API std::string | Gaudi::Utils::Histos::path (const AIDA::IBaseHistogram *aida) |
| get the path in THS for AIDA histogram | |
| GAUDI_API std::string | Gaudi::Utils::Histos::format (const AIDA::IHistogram1D *histo, const std::string &fmt) |
| Make the string representation of the historgam according to the specified format. | |
| GAUDI_API std::string | Gaudi::Utils::Histos::format (const AIDA::IHistogram1D *histo, const std::string &ID, const std::string &fmt1, const std::string &fmt2) |
| format a full row in table, including ID, label, path or any other "extra" identifier in string form | |
| GAUDI_API std::string | Gaudi::Utils::Histos::format (const std::string &val1, const std::string &val2, const std::string &fmt) |
| helper method to merge the headers for short format table | |
Variables | |
| const std::string | s_histoFormatStat |
| The base statisical format : title, entries, mean, rms, skewness and kurtosis. | |
| const std::string | s_histoFormatStatOnly |
| The compact statisical format : entries, mean, rms, skewness and kurtosis. | |
| const std::string | s_histoFormatStat1 |
| The statisical format : entries, mean+-, rms+-, skewness+- and kurtosis+-. | |
| const std::string | s_histoFormatShapeOnly |
| The compact statisical format for "shape-only" variables : mean, rms, skewness and kurtosis, underflow & overflow fractions. | |
| const std::string | s_histoFormatShape |
| The compact statisical format for "shape-only" variables : mean, rms, skewness and kurtosis, underflow & overflow fractions and their errors. | |
| const std::string | s_histoFormatLineTitle |
| The line printout (similar to Matt's requestt): title, mean, rms, skewnes and kurtosis. | |
| const std::string | s_histoFormatLineOnly |
| The line printout (similar to Matt's requiest): mean, rms, skewnes and kurtosis. | |
| const std::string | s_histoFormatOld |
| "Old"-format: title, int, ent , mean, rms | |
| const std::string | s_histoFormatPathTitle = "| %1$-45.45s | %2$-45.45s | " |
| Path-title printout : path and title. | |
| const std::string | s_histoFormatFull |
| FULL format, with printout of all (15) predefined fields. | |
| const std::string | s_histoFormatFullStat |
| FULL stat. | |
| const std::string | s_histoFormatStatHeader |
| The table header, suitable for usage with "Stat"-format. | |
| const std::string | s_histoFormatStatOnlyHeader |
| The table header, suitable for usage with "StatOnly"-format. | |
| const std::string | s_histoFormatStat1Header |
| The table header, suitable for usage with "Stat1"-format. | |
| const std::string | s_histoFormatShapeOnlyHeader |
| The table header, suitable for usage with "ShapeOnly"-format. | |
| const std::string | s_histoFormatShapeHeader |
| The table header, suitable for usage with "Shape"-format. | |
| const std::string | s_histoFormatLineTitleHeader = " Title " |
| The table header, suitable for usage with "LineTitle"-format. | |
| const std::string | s_histoFormatLineOnlyHeader = "" |
| The table header, suitable for usage with "LineOnly"-format. | |
| const std::string | s_histoFormatOldHeader = "" |
| The table header, suitable for usage with "Old"-format. | |
| const std::string | s_histoFormatPathTitleHeader |
| The table header, suitable for usage with "PathTitle"-format. | |
| const std::string | s_histoFormatFullHeader |
| The table header, suitable for usage with "Full"-format. | |
| const std::string | s_histoFormatFullStatHeader |
| The table header, suitable for usage with "FullStat"-format. | |
const std::string s_histoFormatFull [static] |
Initial value:
"| %1$-45.45s | %2$-45.45s | %3$=7d |%4$5d/%5$-5d|%6$9.3g | %7$-9.3g|%8$9.3g+-%9$-9.3g|%10$9.3g+-%11$-9.3g|%12$9.3g+-%13$-9.3g|%14$9.3g+-%15$-9.3g|"
Definition at line 86 of file HistoTableFormat.cpp.
const std::string s_histoFormatFullHeader [static] |
Initial value:
"| Path in Histogram Data Store | Title | # |Udflw/Ovflw| nEff | Sum | Mean+-Error | RMS+-Error | Skewness+-Error | Kurtosis+-Error |"
Definition at line 128 of file HistoTableFormat.cpp.
const std::string s_histoFormatFullStat [static] |
Initial value:
"| %3$=7d |%4$5d/%5$-5d|%6$9.3g | %7$-9.3g|%8$9.3g+-%9$-9.3g|%10$9.3g+-%11$-9.3g|%12$9.3g+-%13$-9.3g|%14$9.3g+-%15$-9.3g|"
Definition at line 89 of file HistoTableFormat.cpp.
const std::string s_histoFormatFullStatHeader [static] |
Initial value:
"| # |Udflw/Ovflw| nEff | Sum | Mean+-Error | RMS+-Error | Skewness+-Error | Kurtosis+-Error |"
Definition at line 132 of file HistoTableFormat.cpp.
const std::string s_histoFormatLineOnly [static] |
Initial value:
" mean/sigma/skew/kurtosis = %8$10.4g/%10$10.4g/%12$10.4g/%14$10.4g"
Definition at line 75 of file HistoTableFormat.cpp.
const std::string s_histoFormatLineOnlyHeader = "" [static] |
The table header, suitable for usage with "LineOnly"-format.
Definition at line 118 of file HistoTableFormat.cpp.
const std::string s_histoFormatLineTitle [static] |
Initial value:
" %2$-45.45s mean/sigma/skew/kurtosis = %8$10.4g/%10$10.4g/%12$10.4g/%14$10.4g"
Definition at line 71 of file HistoTableFormat.cpp.
const std::string s_histoFormatLineTitleHeader = " Title " [static] |
The table header, suitable for usage with "LineTitle"-format.
Definition at line 115 of file HistoTableFormat.cpp.
const std::string s_histoFormatOld [static] |
Initial value:
" %2$-45.45s Ents/All=%7$5s/%3$5s<X>/sX=%8$.5g/%10$-.5g"
Definition at line 79 of file HistoTableFormat.cpp.
const std::string s_histoFormatOldHeader = "" [static] |
The table header, suitable for usage with "Old"-format.
Definition at line 121 of file HistoTableFormat.cpp.
const std::string s_histoFormatPathTitle = "| %1$-45.45s | %2$-45.45s | " [static] |
const std::string s_histoFormatPathTitleHeader [static] |
Initial value:
"| Path in Histogram Data Store | Title | "
Definition at line 124 of file HistoTableFormat.cpp.
const std::string s_histoFormatShape [static] |
Initial value:
"|%8$9.3g+-%9$-9.3g|%10$9.3g+-%11$-9.3g|%12$9.3g+-%13$-9.3g|%14$9.3g+-%15$-9.3g|%19$9.3g+-%20$-9.3g|%21$9.3g+-%22$-9.3g|"
Definition at line 67 of file HistoTableFormat.cpp.
const std::string s_histoFormatShapeHeader [static] |
Initial value:
"| Mean | RMS | Skewness | Kurtosis | Underflow [%] | Overflow [%] |"
Definition at line 111 of file HistoTableFormat.cpp.
const std::string s_histoFormatShapeOnly [static] |
Initial value:
"|%8$11.5g |%10$11.5g |%12$11.5g |%14$11.5g |%19$11.5g/%21$-11.5g|"
Definition at line 60 of file HistoTableFormat.cpp.
const std::string s_histoFormatShapeOnlyHeader [static] |
Initial value:
"| Mean | RMS | Skewness | Kurtosis | Underflow%/Overflow% |"
Definition at line 107 of file HistoTableFormat.cpp.
const std::string s_histoFormatStat [static] |
Initial value:
"| %2$-45.45s | %3$=7d |%8$11.5g | %10$-11.5g|%12$11.5g |%14$11.5g |"
Definition at line 46 of file HistoTableFormat.cpp.
const std::string s_histoFormatStat1 [static] |
Initial value:
"| %3$=7d |%8$9.3g+-%9$-9.3g|%10$9.3g+-%11$-9.3g|%12$9.3g+-%13$-9.3g|%14$9.3g+-%15$-9.3g|"
Definition at line 54 of file HistoTableFormat.cpp.
const std::string s_histoFormatStat1Header [static] |
Initial value:
"| # | Mean+-Error | RMS+-Error | Skewness+-Error | Kurtosis+-Error |"
Definition at line 103 of file HistoTableFormat.cpp.
const std::string s_histoFormatStatHeader [static] |
Initial value:
"| Title | # | Mean | RMS | Skewness | Kurtosis |"
Definition at line 95 of file HistoTableFormat.cpp.
const std::string s_histoFormatStatOnly [static] |
Initial value:
"| %3$=7d |%8$11.5g | %10$-11.5g|%12$11.5g |%14$11.5g |"
Definition at line 50 of file HistoTableFormat.cpp.
const std::string s_histoFormatStatOnlyHeader [static] |
Initial value:
"| # | Mean | RMS | Skewness | Kurtosis |"
Definition at line 99 of file HistoTableFormat.cpp.