The Gaudi Framework
master (37c0b60a)
|
Namespaces | |
Formats | |
Classes | |
class | HistoStrings |
class | Table |
Typedefs | |
typedef std::vector< std::string > | Labels |
Typedef for a list of labels. More... | |
typedef std::pair< unsigned, std::string > | BinLabel |
Typedef for a bin number and its associated label. More... | |
typedef std::vector< BinLabel > | BinLabels |
Typedef for a list of bin numbers and their associated label. More... | |
Functions | |
GAUDI_API std::string | histoDump (const AIDA::IHistogram1D *histo, const std::size_t width=80, const std::size_t height=50, const bool errors=false) |
dump the text representation of the histogram More... | |
GAUDI_API std::string | histoDump (const AIDA::IProfile1D *histo, const std::size_t width=80, const std::size_t height=50, const bool spread=true) |
dump the text representation of the 1D-profile More... | |
GAUDI_API std::string | histoDump (const TProfile *histo, const std::size_t width=80, const std::size_t height=50) |
dump the text representation of the histogram More... | |
GAUDI_API std::string | histoDump (const TH1 *histo, const std::size_t width=80, const std::size_t height=50, const bool errors=false) |
dump the text representation of the histogram More... | |
GAUDI_API bool | setBinLabels (AIDA::IHistogram1D *hist, const Labels &labels) |
Set the Bin labels for a given 1D histogram. More... | |
GAUDI_API bool | setBinLabels (AIDA::IHistogram1D *hist, const BinLabels &labels) |
Set the Bin labels for a given 1D histogram. More... | |
GAUDI_API bool | setBinLabels (AIDA::IProfile1D *hist, const Labels &labels) |
Set the Bin labels for a given 1D profile histogram. More... | |
GAUDI_API bool | setBinLabels (AIDA::IProfile1D *hist, const BinLabels &labels) |
Set the Bin labels for a given 1D profile histogram. More... | |
GAUDI_API bool | setBinLabels (AIDA::IHistogram2D *hist, const Labels &xlabels, const Labels &ylabels) |
Set the Bin labels for a given 2D histogram. More... | |
GAUDI_API bool | setBinLabels (AIDA::IHistogram2D *hist, const BinLabels &xlabels, const BinLabels &ylabels) |
Set the Bin labels for a given 2D histogram. More... | |
GAUDI_API bool | setBinLabels (AIDA::IProfile2D *hist, const Labels &xlabels, const Labels &ylabels) |
Set the Bin labels for a given 2D profile histogram. More... | |
GAUDI_API bool | setBinLabels (AIDA::IProfile2D *hist, const BinLabels &xlabels, const BinLabels &ylabels) |
Set the Bin labels for a given 2D profile histogram. More... | |
GAUDI_API bool | setAxisLabels (AIDA::IHistogram1D *hist, const std::string &xAxis, const std::string &yAxis) |
Set the axis labels for the given 1D histogram. More... | |
GAUDI_API bool | setAxisLabels (AIDA::IProfile1D *hist, const std::string &xAxis, const std::string &yAxis) |
Set the axis labels for the given 1D profile histogram. More... | |
GAUDI_API bool | setAxisLabels (AIDA::IHistogram2D *hist, const std::string &xAxis, const std::string &yAxis) |
Set the axis labels for the given 2D histogram. More... | |
GAUDI_API bool | setAxisLabels (AIDA::IProfile2D *hist, const std::string &xAxis, const std::string &yAxis) |
Set the axis labels for the given 2D profile histogram. More... | |
GAUDI_API std::string | path (const AIDA::IBaseHistogram *aida) |
get the path in THS for AIDA histogram More... | |
GAUDI_API std::string | format (const AIDA::IHistogram1D *histo, const std::string &fmt) |
Make the string representation of the histogram according to the specified format. More... | |
GAUDI_API std::string | format (const AIDA::IProfile1D *histo, const std::string &fmt) |
Make the string representation of the profile histogram according to the specified format. More... | |
GAUDI_API std::string | 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 More... | |
GAUDI_API std::string | format (const AIDA::IProfile1D *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 More... | |
template<class HISTO , class STREAM , class TERMINATOR > | |
STREAM & | printList (HISTO first, HISTO last, const std::string &fmt, STREAM &stream, TERMINATOR term) |
print the simple sequence (list-like) of histograms as table More... | |
template<class LIST , class STREAM , class TERMINATOR > | |
STREAM & | printList (const LIST &histos, const std::string &fmt, STREAM &stream, TERMINATOR term) |
print the simple container of histograms as table More... | |
template<class HISTO , class STREAM , class TERMINATOR > | |
STREAM & | printMap (HISTO begin, HISTO end, const std::string &fmt1, const std::string &fmt2, STREAM &stream, TERMINATOR term) |
Print the "associative sequence" (e.g. More... | |
template<class MAP , class STREAM , class TERMINATOR > | |
STREAM & | printMap (const MAP &histos, const std::string &fmt1, const std::string &fmt2, STREAM &stream, TERMINATOR term) |
Print the "associative sequence" (e.g. More... | |
GAUDI_API std::string | format (const std::string &val1, const std::string &val2, const std::string &fmt) |
helper method to merge the headers for short format table More... | |
GAUDI_API std::ostream & | toXml (const TH1D &histo, std::ostream &stream) |
stream the ROOT histogram into output stream as XML More... | |
GAUDI_API std::ostream & | toXml (const TH2D &histo, std::ostream &stream) |
stream the ROOT histogram into output stream as XML More... | |
GAUDI_API std::ostream & | toXml (const TH3D &histo, std::ostream &stream) |
stream the ROOT histogram into output stream as XML More... | |
GAUDI_API std::ostream & | toXml (const TProfile &histo, std::ostream &stream) |
stream the ROOT histogram into output stream as XML More... | |
GAUDI_API std::ostream & | toXml (const TProfile2D &histo, std::ostream &stream) |
stream the ROOT histogram into output stream as XML More... | |
GAUDI_API std::ostream & | toXml (const AIDA::IHistogram1D &histo, std::ostream &stream) |
stream the AIDA histogram into the output stream as XML More... | |
GAUDI_API std::ostream & | toXml (const AIDA::IHistogram2D &histo, std::ostream &stream) |
stream the AIDA histogram into the output stream as XML More... | |
GAUDI_API std::ostream & | toXml (const AIDA::IHistogram3D &histo, std::ostream &stream) |
stream the AIDA histogram into the output stream as XML More... | |
GAUDI_API std::ostream & | toXml (const AIDA::IProfile1D &histo, std::ostream &stream) |
stream the AIDA histogram into the output stream as XML More... | |
GAUDI_API std::ostream & | toXml (const TH1F &histo, std::ostream &stream) |
stream the ROOT histogram into output stream as XML More... | |
GAUDI_API std::ostream & | toXml (const TH2F &histo, std::ostream &stream) |
stream the ROOT histogram into output stream as XML More... | |
GAUDI_API std::ostream & | toXml (const TH3F &histo, std::ostream &stream) |
stream the ROOT histogram into output stream as XML More... | |
GAUDI_API std::ostream & | toXml (const AIDA::IProfile2D &histo, std::ostream &stream) |
stream the AIDA histogram into the output stream as XML More... | |
GAUDI_API StatusCode | fromXml (TH1D &result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH2D &result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH3D &result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TProfile &result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TProfile2D &result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH1F &result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH2F &result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH3F &result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH1D *&result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH2D *&result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH3D *&result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TProfile *&result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TProfile2D *&result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (AIDA::IHistogram1D &result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (AIDA::IHistogram2D &result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (AIDA::IHistogram3D &result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (AIDA::IProfile1D &result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (AIDA::IProfile2D &result, std::string_view input) |
parse the histogram from standard ROOT XML More... | |
Collection of useful utilities for manipulations with AIDA hisgograms
typedef std::pair<unsigned, std::string> Gaudi::Utils::Histos::BinLabel |
Typedef for a bin number and its associated label.
Definition at line 35 of file HistoLabels.h.
Typedef for a list of bin numbers and their associated label.
Definition at line 37 of file HistoLabels.h.
Typedef for a list of labels.
Definition at line 33 of file HistoLabels.h.
std::string Gaudi::Utils::Histos::format | ( | const AIDA::IHistogram1D * | histo, |
const std::string & | fmt | ||
) |
Make the string representation of the histogram according to the specified format.
The method could be used to access/print various quantities
histo | reference to the histogram |
fmt | the printout format |
Definition at line 233 of file HistoTableFormat.cpp.
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
histo | pointer to the histogram |
ID | historgam ID, title, label or other extra information |
fmt1 | "short" format used for the table |
fmt2 | format used for the histogram printout |
Definition at line 325 of file HistoTableFormat.cpp.
std::string Gaudi::Utils::Histos::format | ( | const AIDA::IProfile1D * | histo, |
const std::string & | fmt | ||
) |
Make the string representation of the profile histogram according to the specified format.
The method could be used to access/print various quantities
histo | reference to the histogram |
fmt | the printout format |
Definition at line 279 of file HistoTableFormat.cpp.
std::string Gaudi::Utils::Histos::format | ( | const AIDA::IProfile1D * | 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
histo | pointer to the histogram |
ID | historgam ID, title, label or other extra information |
fmt1 | "short" format used for the table |
fmt2 | format used for the histogram printout |
Definition at line 342 of file HistoTableFormat.cpp.
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
Definition at line 357 of file HistoTableFormat.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | AIDA::IHistogram1D & | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 431 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | AIDA::IHistogram2D & | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 442 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | AIDA::IHistogram3D & | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 453 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | AIDA::IProfile1D & | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 464 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | AIDA::IProfile2D & | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 475 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH1D & | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 199 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH1D *& | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 345 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH1F & | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 254 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH2D & | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 218 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH2D *& | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 362 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH2F & | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 272 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH3D & | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 236 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH3D *& | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 379 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH3F & | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 290 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TProfile & | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 308 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TProfile *& | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 397 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TProfile2D & | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 326 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TProfile2D *& | result, |
std::string_view | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 414 of file HistoXML.cpp.
std::string Gaudi::Utils::Histos::histoDump | ( | const AIDA::IHistogram1D * | histo, |
const std::size_t | width = 80 , |
||
const std::size_t | height = 50 , |
||
const bool | errors = false |
||
) |
dump the text representation of the histogram
histo | (INPUT) the histogram |
width | (INPUT) the maximal column width |
height | (INPUT) the proposed column height |
erorrs | (INPUT) print/plot errors |
Definition at line 565 of file HistoDump.cpp.
std::string Gaudi::Utils::Histos::histoDump | ( | const AIDA::IProfile1D * | histo, |
const std::size_t | width = 80 , |
||
const std::size_t | height = 50 , |
||
const bool | spread = true |
||
) |
dump the text representation of the 1D-profile
histo | (INPUT) the histogram |
width | (INPUT) the maximal column width |
height | (INPUT) the proposed column height |
spread | (INPUT) print/plto spread vs rms |
Definition at line 616 of file HistoDump.cpp.
std::string Gaudi::Utils::Histos::histoDump | ( | const TH1 * | histo, |
const std::size_t | width = 80 , |
||
const std::size_t | height = 50 , |
||
const bool | errors = false |
||
) |
dump the text representation of the histogram
histo | (INPUT) the histogram |
width | (INPUT) the maximal column width |
height | (INPUT) the propsoed coulmn height |
erorrs | (INPUT) print/plot errors |
Definition at line 662 of file HistoDump.cpp.
std::string Gaudi::Utils::Histos::histoDump | ( | const TProfile * | histo, |
const std::size_t | width = 80 , |
||
const std::size_t | height = 50 |
||
) |
dump the text representation of the histogram
histo | (INPUT) the histogram |
width | (INPUT) the maximal column width |
height | (INPUT) the propsoed coulmn height |
erorrs | (INPUT) print/plot errors |
Definition at line 704 of file HistoDump.cpp.
std::string Gaudi::Utils::Histos::path | ( | const AIDA::IBaseHistogram * | aida | ) |
get the path in THS for AIDA histogram
Definition at line 218 of file HistoTableFormat.cpp.
|
inline |
print the simple container of histograms as table
histos | the sequence of histograms |
stream | the stream to be used for printout |
term | the terminmator for the stream |
fmt | the format to be used |
Definition at line 316 of file HistoTableFormat.h.
|
inline |
print the simple sequence (list-like) of histograms as table
first | begin-iterator for the sequence |
last | end-iterator for the sequence |
stream | the stream to be used for printout |
term | the terminmator for the stream |
fmt | the format to be used |
Definition at line 287 of file HistoTableFormat.h.
|
inline |
Print the "associative sequence" (e.g.
part of std:map) of histograms as table:
Print only mean and rms:
begin | 'begin'-iterator for the mapping sequence |
end | 'end'-iterator for the mapping sequence |
fmt1 | 'short' format for the table printout |
fmt3 | format for the printout of the histogram |
stream | the stream for printout |
term | stream terminator |
Definition at line 419 of file HistoTableFormat.h.
|
inline |
Print the "associative sequence" (e.g.
part of std:map) of histograms as table:
Print only mean and rms:
begin | 'begin'-iterator for the mapping sequence |
end | 'end'-iterator for the mapping sequence |
fmt1 | 'short' format for the table printout |
fmt3 | format for the printout of the histogram |
stream | the stream for printout |
term | stream terminator |
Definition at line 365 of file HistoTableFormat.h.
bool Gaudi::Utils::Histos::setAxisLabels | ( | AIDA::IHistogram1D * | hist, |
const std::string & | xAxis, | ||
const std::string & | yAxis | ||
) |
Set the axis labels for the given 1D histogram.
hist | Pointer to the histogram |
xAxis | Label for the x axis |
yAxis | Label for the y axis |
TRUE | Labels were applied OK |
FALSE | Labels were NOT applied |
Definition at line 139 of file HistoLabels.cpp.
bool Gaudi::Utils::Histos::setAxisLabels | ( | AIDA::IHistogram2D * | hist, |
const std::string & | xAxis, | ||
const std::string & | yAxis | ||
) |
Set the axis labels for the given 2D histogram.
hist | Pointer to the histogram |
xAxis | Label for the x axis |
yAxis | Label for the y axis |
TRUE | Labels were applied OK |
FALSE | Labels were NOT applied |
Definition at line 147 of file HistoLabels.cpp.
bool Gaudi::Utils::Histos::setAxisLabels | ( | AIDA::IProfile1D * | hist, |
const std::string & | xAxis, | ||
const std::string & | yAxis | ||
) |
Set the axis labels for the given 1D profile histogram.
hist | Pointer to the histogram |
xAxis | Label for the x axis |
yAxis | Label for the y axis |
TRUE | Labels were applied OK |
FALSE | Labels were NOT applied |
Definition at line 143 of file HistoLabels.cpp.
bool Gaudi::Utils::Histos::setAxisLabels | ( | AIDA::IProfile2D * | hist, |
const std::string & | xAxis, | ||
const std::string & | yAxis | ||
) |
Set the axis labels for the given 2D profile histogram.
hist | Pointer to the histogram |
xAxis | Label for the x axis |
yAxis | Label for the y axis |
TRUE | Labels were applied OK |
FALSE | Labels were NOT applied |
Definition at line 151 of file HistoLabels.cpp.
bool Gaudi::Utils::Histos::setBinLabels | ( | AIDA::IHistogram1D * | hist, |
const BinLabels & | labels | ||
) |
Set the Bin labels for a given 1D histogram.
Each entry in 'labels' gives the bin number and its associated label
hist | Pointer to the histogram |
labels | The list of labels |
TRUE | Labels were applied OK |
FALSE | Labels were NOT applied |
Definition at line 89 of file HistoLabels.cpp.
bool Gaudi::Utils::Histos::setBinLabels | ( | AIDA::IHistogram1D * | hist, |
const Labels & | labels | ||
) |
Set the Bin labels for a given 1D histogram.
The labels will be applied in the order they appear in the list, starting at the first bin. If the list of labels is too short, the later bins will be missing a label. If the list is too long, only the first N will be used, where N is the number of bins in the histogram
hist | Pointer to the histogram |
labels | The list of labels |
TRUE | Labels were applied OK |
FALSE | Labels were NOT applied |
Definition at line 97 of file HistoLabels.cpp.
bool Gaudi::Utils::Histos::setBinLabels | ( | AIDA::IHistogram2D * | hist, |
const BinLabels & | xlabels, | ||
const BinLabels & | ylabels | ||
) |
Set the Bin labels for a given 2D histogram.
Each entry in 'labels' lists gives the bin number and its associated label
hist | Pointer to the histogram |
xlabels | The list of x bin numbers and the associated label |
ylabels | The list of y bin numbers and the associated label |
TRUE | Labels were applied OK |
FALSE | Labels were NOT applied |
Definition at line 114 of file HistoLabels.cpp.
bool Gaudi::Utils::Histos::setBinLabels | ( | AIDA::IHistogram2D * | hist, |
const Labels & | xlabels, | ||
const Labels & | ylabels | ||
) |
Set the Bin labels for a given 2D histogram.
The labels will be applied in the order they appear in the lists, starting at the first bin. If the list of labels is too short, the later bins will be missing a label. If the list is too long, only the first N will be used, where N is the number of bins in the histogram
hist | Pointer to the histogram |
xlabels | The list of x labels |
ylabels | The list of y labels |
TRUE | Labels were applied OK |
FALSE | Labels were NOT applied |
Definition at line 101 of file HistoLabels.cpp.
bool Gaudi::Utils::Histos::setBinLabels | ( | AIDA::IProfile1D * | hist, |
const BinLabels & | labels | ||
) |
Set the Bin labels for a given 1D profile histogram.
Each entry in 'labels' gives the bin number and its associated label
hist | Pointer to the histogram |
labels | The list of bin numbers and the associated label |
TRUE | Labels were applied OK |
FALSE | Labels were NOT applied |
Definition at line 93 of file HistoLabels.cpp.
bool Gaudi::Utils::Histos::setBinLabels | ( | AIDA::IProfile1D * | hist, |
const Labels & | labels | ||
) |
Set the Bin labels for a given 1D profile histogram.
The labels will be applied in the order they appear in the list, starting at the first bin. If the list of labels is too short, the later bins will be missing a label. If the list is too long, only the first N will be used, where N is the number of bins in the histogram
hist | Pointer to the histogram |
labels | The list of labels |
TRUE | Labels were applied OK |
FALSE | Labels were NOT applied |
Definition at line 99 of file HistoLabels.cpp.
bool Gaudi::Utils::Histos::setBinLabels | ( | AIDA::IProfile2D * | hist, |
const BinLabels & | xlabels, | ||
const BinLabels & | ylabels | ||
) |
Set the Bin labels for a given 2D profile histogram.
Each entry in 'labels' lists gives the bin number and its associated label
hist | Pointer to the histogram |
xlabels | The list of x bin numbers and the associated label |
ylabels | The list of y bin numbers and the associated label |
TRUE | Labels were applied OK |
FALSE | Labels were NOT applied |
Definition at line 132 of file HistoLabels.cpp.
bool Gaudi::Utils::Histos::setBinLabels | ( | AIDA::IProfile2D * | hist, |
const Labels & | xlabels, | ||
const Labels & | ylabels | ||
) |
Set the Bin labels for a given 2D profile histogram.
The labels will be applied in the order they appear in the lists, starting at the first bin. If the list of labels is too short, the later bins will be missing a label. If the list is too long, only the first N will be used, where N is the number of bins in the histogram
hist | Pointer to the histogram |
xlabels | The list of x labels |
ylabels | The list of y labels |
TRUE | Labels were applied OK |
FALSE | Labels were NOT applied |
Definition at line 119 of file HistoLabels.cpp.
std::ostream & Gaudi::Utils::Histos::toXml | ( | const AIDA::IHistogram1D & | histo, |
std::ostream & | stream | ||
) |
stream the AIDA histogram into the output stream as XML
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
Definition at line 148 of file HistoXML.cpp.
std::ostream & Gaudi::Utils::Histos::toXml | ( | const AIDA::IHistogram2D & | histo, |
std::ostream & | stream | ||
) |
stream the AIDA histogram into the output stream as XML
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
Definition at line 158 of file HistoXML.cpp.
std::ostream & Gaudi::Utils::Histos::toXml | ( | const AIDA::IHistogram3D & | histo, |
std::ostream & | stream | ||
) |
stream the AIDA histogram into the output stream as XML
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
Definition at line 168 of file HistoXML.cpp.
std::ostream & Gaudi::Utils::Histos::toXml | ( | const AIDA::IProfile1D & | histo, |
std::ostream & | stream | ||
) |
stream the AIDA histogram into the output stream as XML
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
Definition at line 178 of file HistoXML.cpp.
std::ostream & Gaudi::Utils::Histos::toXml | ( | const AIDA::IProfile2D & | histo, |
std::ostream & | stream | ||
) |
stream the AIDA histogram into the output stream as XML
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
Definition at line 188 of file HistoXML.cpp.
std::ostream & Gaudi::Utils::Histos::toXml | ( | const TH1D & | histo, |
std::ostream & | stream | ||
) |
stream the ROOT histogram into output stream as XML
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
Definition at line 76 of file HistoXML.cpp.
std::ostream & Gaudi::Utils::Histos::toXml | ( | const TH1F & | histo, |
std::ostream & | stream | ||
) |
stream the ROOT histogram into output stream as XML
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
Definition at line 103 of file HistoXML.cpp.
std::ostream & Gaudi::Utils::Histos::toXml | ( | const TH2D & | histo, |
std::ostream & | stream | ||
) |
stream the ROOT histogram into output stream as XML
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
Definition at line 85 of file HistoXML.cpp.
std::ostream & Gaudi::Utils::Histos::toXml | ( | const TH2F & | histo, |
std::ostream & | stream | ||
) |
stream the ROOT histogram into output stream as XML
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
Definition at line 112 of file HistoXML.cpp.
std::ostream & Gaudi::Utils::Histos::toXml | ( | const TH3D & | histo, |
std::ostream & | stream | ||
) |
stream the ROOT histogram into output stream as XML
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
Definition at line 94 of file HistoXML.cpp.
std::ostream & Gaudi::Utils::Histos::toXml | ( | const TH3F & | histo, |
std::ostream & | stream | ||
) |
stream the ROOT histogram into output stream as XML
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
Definition at line 121 of file HistoXML.cpp.
std::ostream & Gaudi::Utils::Histos::toXml | ( | const TProfile & | histo, |
std::ostream & | stream | ||
) |
stream the ROOT histogram into output stream as XML
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
Definition at line 130 of file HistoXML.cpp.
std::ostream & Gaudi::Utils::Histos::toXml | ( | const TProfile2D & | histo, |
std::ostream & | stream | ||
) |
stream the ROOT histogram into output stream as XML
histo | (INPUT) the histogram to be streamed |
stream | (OUTPUT) the stream |
Definition at line 139 of file HistoXML.cpp.