![]() |
The Gaudi Framework
v28r1
|
Collection of useful utilities for manipulations with AIDA hisgograms. More...
Namespaces | |
Formats | |
The 15 format fields are predefined now: | |
Classes | |
class | HistoStrings |
Helper class to produce "good" dictionaries. More... | |
class | Table |
Simple class for the customizeble printout of the histogram tables. More... | |
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 void | fill (AIDA::IHistogram1D *histo, const double value, const double weight=1.0) |
simple function to fill AIDA::IHistogram1D objects More... | |
GAUDI_API void | fill (AIDA::IHistogram2D *histo, const double valueX, const double valueY, const double weight=1.0) |
simple function to fill AIDA::IHistogram2D objects More... | |
GAUDI_API void | fill (AIDA::IHistogram3D *histo, const double valueX, const double valueY, const double valueZ, const double weight=1.0) |
simple function to fill AIDA::IHistogram3D objects More... | |
GAUDI_API void | fill (AIDA::IProfile1D *histo, const double valueX, const double valueY, const double weight=1.0) |
simple function to fill AIDA::IProfile1D objects More... | |
GAUDI_API void | fill (AIDA::IProfile2D *histo, const double valueX, const double valueY, const double valueZ, const double weight=1.0) |
simple function to fill AIDA::IProfile2D objects More... | |
GAUDI_API std::string | htitle (const AIDA::IBaseHistogram *histo, const std::string &title="") |
get the title More... | |
GAUDI_API std::string | htitle (const AIDA::IHistogram *histo, const std::string &title="") |
get the title More... | |
GAUDI_API std::string | htitle (const AIDA::IHistogram1D *histo, const std::string &title="") |
get the title More... | |
GAUDI_API std::string | htitle (const AIDA::IHistogram2D *histo, const std::string &title="") |
get the title More... | |
GAUDI_API std::string | htitle (const AIDA::IHistogram3D *histo, const std::string &title="") |
get the title More... | |
GAUDI_API std::string | htitle (const AIDA::IProfile *histo, const std::string &title="") |
get the title More... | |
GAUDI_API std::string | htitle (const AIDA::IProfile1D *histo, const std::string &title="") |
get the title More... | |
GAUDI_API std::string | htitle (const AIDA::IProfile2D *histo, const std::string &title="") |
get the title More... | |
GAUDI_API AIDA::IBaseHistogram * | toBase (AIDA::IHistogram1D *histo) |
GAUDI_API AIDA::IBaseHistogram * | toBase (AIDA::IHistogram2D *histo) |
GAUDI_API AIDA::IBaseHistogram * | toBase (AIDA::IHistogram3D *histo) |
GAUDI_API AIDA::IBaseHistogram * | toBase (AIDA::IProfile1D *histo) |
GAUDI_API AIDA::IBaseHistogram * | toBase (AIDA::IProfile2D *histo) |
GAUDI_API std::ostream & | histoDump_ (const AIDA::IHistogram1D *histo, std::ostream &stream, 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::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::ostream & | histoDump_ (const AIDA::IProfile1D *histo, std::ostream &stream, const std::size_t width=80, const std::size_t height=50, const bool spread=true) |
dump the text representation of 1D-profile 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::ostream & | histoDump_ (const TProfile *histo, std::ostream &stream, const std::size_t width=80, const std::size_t height=50) |
dump the text representation of the 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::ostream & | histoDump_ (const TH1 *histo, std::ostream &stream, 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 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 historgam 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... | |
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, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH2D &result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH3D &result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TProfile &result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TProfile2D &result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH1F &result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH2F &result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH3F &result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH1D *&result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH2D *&result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TH3D *&result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TProfile *&result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (TProfile2D *&result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (AIDA::IHistogram1D &result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (AIDA::IHistogram2D &result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (AIDA::IHistogram3D &result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (AIDA::IProfile1D &result, const std::string &input) |
parse the histogram from standard ROOT XML More... | |
GAUDI_API StatusCode | fromXml (AIDA::IProfile2D &result, const std::string &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 29 of file HistoLabels.h.
typedef std::vector<BinLabel> Gaudi::Utils::Histos::BinLabels |
Typedef for a list of bin numbers and their associated label.
Definition at line 31 of file HistoLabels.h.
typedef std::vector<std::string> Gaudi::Utils::Histos::Labels |
Typedef for a list of labels.
Definition at line 27 of file HistoLabels.h.
void Gaudi::Utils::Histos::fill | ( | AIDA::IHistogram1D * | histo, |
const double | value, | ||
const double | weight = 1.0 |
||
) |
simple function to fill AIDA::IHistogram1D objects
histo | pointer to the histogram |
value | value to be added to the histogram |
weight | the "weight" assciated with this entry |
void Gaudi::Utils::Histos::fill | ( | AIDA::IHistogram2D * | histo, |
const double | valueX, | ||
const double | valueY, | ||
const double | weight = 1.0 |
||
) |
simple function to fill AIDA::IHistogram2D objects
histo | pointer to the histogram |
valueX | value to be added to the histogram |
valueY | value to be added to the histogram |
weight | the "weight" assciated with this entry |
Definition at line 54 of file Fill.cpp.
void Gaudi::Utils::Histos::fill | ( | AIDA::IHistogram3D * | histo, |
const double | valueX, | ||
const double | valueY, | ||
const double | valueZ, | ||
const double | weight = 1.0 |
||
) |
simple function to fill AIDA::IHistogram3D objects
histo | pointer to the histogram |
valueX | value to be added to the histogram |
valueY | value to be added to the histogram |
valueZ | value to be added to the histogram |
weight | the "weight" assciated with this entry |
Definition at line 74 of file Fill.cpp.
void Gaudi::Utils::Histos::fill | ( | AIDA::IProfile1D * | histo, |
const double | valueX, | ||
const double | valueY, | ||
const double | weight = 1.0 |
||
) |
simple function to fill AIDA::IProfile1D objects
histo | pointer to the histogram |
valueX | value to be added to the histogram |
valueY | value to be added to the histogram |
weight | the "weight" assciated with this entry |
Definition at line 94 of file Fill.cpp.
void Gaudi::Utils::Histos::fill | ( | AIDA::IProfile2D * | histo, |
const double | valueX, | ||
const double | valueY, | ||
const double | valueZ, | ||
const double | weight = 1.0 |
||
) |
simple function to fill AIDA::IProfile2D objects
histo | pointer to the histogram |
valueX | value to be added to the histogram |
valueY | value to be added to the histogram |
valueZ | value to be added to the histogram |
weight | the "weight" assciated with this entry |
Definition at line 114 of file Fill.cpp.
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.
The method could be used to access/print various quantities
histo | reference to the histogram |
fmt | the printout format |
Definition at line 209 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 258 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 278 of file HistoTableFormat.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH1D & | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 229 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH2D & | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 250 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH3D & | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 270 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TProfile & | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 350 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TProfile2D & | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 370 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH1F & | result, |
const std::string & | 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 | ( | TH2F & | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 310 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH3F & | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 330 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH1D *& | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 392 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH2D *& | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 411 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TH3D *& | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 430 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TProfile *& | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 450 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | TProfile2D *& | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 469 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | AIDA::IHistogram1D & | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 488 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | AIDA::IHistogram2D & | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 501 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | AIDA::IHistogram3D & | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 514 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | AIDA::IProfile1D & | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 527 of file HistoXML.cpp.
StatusCode Gaudi::Utils::Histos::fromXml | ( | AIDA::IProfile2D & | result, |
const std::string & | input | ||
) |
parse the histogram from standard ROOT XML
result | (OUTPUT) the parsed histogram |
input | (INPUT) the input XML string |
Definition at line 540 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 699 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 796 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 965 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 945 of file HistoDump.cpp.
std::ostream & Gaudi::Utils::Histos::histoDump_ | ( | const AIDA::IHistogram1D * | histo, |
std::ostream & | stream, | ||
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 |
stream | (OUTUT) the stream |
width | (INPUT) the maximal column width |
height | (INPUT) the proposed column height |
errors | (INPUT) print/plot errors |
Definition at line 610 of file HistoDump.cpp.
std::ostream & Gaudi::Utils::Histos::histoDump_ | ( | const AIDA::IProfile1D * | histo, |
std::ostream & | stream, | ||
const std::size_t | width = 80 , |
||
const std::size_t | height = 50 , |
||
const bool | spread = true |
||
) |
dump the text representation of 1D-profile
histo | (INPUT) the 1D-profile |
stream | (OUTUT) the stream |
width | (INPUT) the maximal column width |
height | (INPUT) the proposed column height |
spread | (INPUT) print/plot spread/rms ? |
Definition at line 721 of file HistoDump.cpp.
std::ostream & Gaudi::Utils::Histos::histoDump_ | ( | const TProfile * | histo, |
std::ostream & | stream, | ||
const std::size_t | width = 80 , |
||
const std::size_t | height = 50 |
||
) |
dump the text representation of the Profile
histo | (INPUT) the histogram |
stream | (OUTUT) the stream |
width | (INPUT) the maximal column width |
height | (INPUT) the proposed coulmn height |
spread | (INPUT) print/plot rms versus erorr |
Definition at line 890 of file HistoDump.cpp.
std::ostream & Gaudi::Utils::Histos::histoDump_ | ( | const TH1 * | histo, |
std::ostream & | stream, | ||
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 |
stream | (OUTUT) the stream |
width | (INPUT) the maximal column width |
height | (INPUT) the proposed coulmn height |
errors | (INPUT) print/plot errors |
Definition at line 817 of file HistoDump.cpp.
std::string Gaudi::Utils::Histos::htitle | ( | const AIDA::IBaseHistogram * | histo, |
const std::string & | title = "" |
||
) |
std::string Gaudi::Utils::Histos::htitle | ( | const AIDA::IHistogram * | histo, |
const std::string & | title = "" |
||
) |
std::string Gaudi::Utils::Histos::htitle | ( | const AIDA::IHistogram1D * | histo, |
const std::string & | title = "" |
||
) |
std::string Gaudi::Utils::Histos::htitle | ( | const AIDA::IHistogram2D * | histo, |
const std::string & | title = "" |
||
) |
std::string Gaudi::Utils::Histos::htitle | ( | const AIDA::IHistogram3D * | histo, |
const std::string & | title = "" |
||
) |
std::string Gaudi::Utils::Histos::htitle | ( | const AIDA::IProfile * | histo, |
const std::string & | title = "" |
||
) |
std::string Gaudi::Utils::Histos::htitle | ( | const AIDA::IProfile1D * | histo, |
const std::string & | title = "" |
||
) |
std::string Gaudi::Utils::Histos::htitle | ( | const AIDA::IProfile2D * | histo, |
const std::string & | title = "" |
||
) |
std::string Gaudi::Utils::Histos::path | ( | const AIDA::IBaseHistogram * | aida | ) |
get the path in THS for AIDA histogram
Definition at line 191 of file HistoTableFormat.cpp.
|
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 231 of file HistoTableFormat.h.
|
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 267 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 322 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 383 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 186 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 193 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 200 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 207 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 106 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 94 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 112 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 100 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 118 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 141 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 151 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 174 of file HistoLabels.cpp.
AIDA::IBaseHistogram * Gaudi::Utils::Histos::toBase | ( | AIDA::IHistogram1D * | histo | ) |
AIDA::IBaseHistogram * Gaudi::Utils::Histos::toBase | ( | AIDA::IHistogram2D * | histo | ) |
AIDA::IBaseHistogram * Gaudi::Utils::Histos::toBase | ( | AIDA::IHistogram3D * | histo | ) |
AIDA::IBaseHistogram * Gaudi::Utils::Histos::toBase | ( | AIDA::IProfile1D * | histo | ) |
AIDA::IBaseHistogram * Gaudi::Utils::Histos::toBase | ( | AIDA::IProfile2D * | histo | ) |
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 67 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 79 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 91 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 139 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 151 of file HistoXML.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 163 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 176 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 189 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 202 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 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 115 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 127 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 215 of file HistoXML.cpp.