![]() |
The Gaudi Framework
v26r3
|
Simple helper class for description of 1D-histogram The class is targeted to act as the primary "histogram property", but clearly have significantly wider application range. More...
#include <GaudiKernel/HistoDef.h>

Public Member Functions | |
| Histo1DDef (const double low, const double high, const int bins=100, const std::string &title="") | |
| full constructor from edges, bins and the title More... | |
| Histo1DDef (const std::string &title="", const double low=0.0, const double high=1.0, const int bins=100) | |
| full constructor from edges, bins and the title More... | |
| virtual | ~Histo1DDef () |
| destructor More... | |
| double | lowEdge () const |
| get the low edge More... | |
| double | highEdge () const |
| get the high edge More... | |
| int | bins () const |
| get the number of bins More... | |
| const std::string & | title () const |
| get the title More... | |
| void | setLowEdge (const double value) |
| set low edge More... | |
| void | setHighEdge (const double value) |
| set high edge More... | |
| void | setBins (const int value) |
| set number of bis More... | |
| void | setTitle (const std::string &value) |
| set the title More... | |
| std::ostream & | fillStream (std::ostream &o) const |
| printout of the histogram definition More... | |
| bool | operator< (const Histo1DDef &right) const |
| ordering operator (to please BoundedVerifier) More... | |
| bool | operator== (const Histo1DDef &right) const |
| equality operator More... | |
| bool | operator!= (const Histo1DDef &right) const |
| non-equality More... | |
| bool | ok () const |
| check if all fields are "reasonable" More... | |
| Histo1DDef (const double low, const double high, const int bins=100, const std::string &title="") | |
| full constructor from edges, bins and the title More... | |
| Histo1DDef (const std::string &title="", const double low=0.0, const double high=1.0, const int bins=100) | |
| full constructor from edges, bins and the title More... | |
| virtual | ~Histo1DDef () |
| destructor More... | |
| double | lowEdge () const |
| get the low edge More... | |
| double | highEdge () const |
| get the high edge More... | |
| int | bins () const |
| get the number of bins More... | |
| const std::string & | title () const |
| get the title More... | |
| void | setLowEdge (const double value) |
| set low edge More... | |
| void | setHighEdge (const double value) |
| set high edge More... | |
| void | setBins (const int value) |
| set number of bis More... | |
| void | setTitle (const std::string &value) |
| set the title More... | |
| std::ostream & | fillStream (std::ostream &o) const |
| printout of the histogram definition More... | |
| bool | operator< (const Histo1DDef &right) const |
| ordering operator (to please BoundedVerifier) More... | |
| bool | operator== (const Histo1DDef &right) const |
| equality operator More... | |
| bool | operator!= (const Histo1DDef &right) const |
| non-equality More... | |
| bool | ok () const |
| check if all fields are "reasonable" More... | |
Private Attributes | |
| std::string | m_title |
| Histogram title. More... | |
| double | m_low |
| Low Edge. More... | |
| double | m_high |
| High Edge. More... | |
| int | m_bins |
| Number of bins. More... | |
Simple helper class for description of 1D-histogram The class is targeted to act as the primary "histogram property", but clearly have significantly wider application range.
Definition at line 32 of file HistoDef.h.
| Gaudi::Histo1DDef::Histo1DDef | ( | const double | low, |
| const double | high, | ||
| const int | bins = 100, |
||
| const std::string & | title = "" |
||
| ) |
full constructor from edges, bins and the title
| low | the low edge of the histogram |
| high | the high edge of the histogram |
| bins | number of bins |
| title | the historgam title |
Definition at line 29 of file HistoDef.cpp.
| Gaudi::Histo1DDef::Histo1DDef | ( | const std::string & | title = "", |
| const double | low = 0.0, |
||
| const double | high = 1.0, |
||
| const int | bins = 100 |
||
| ) |
full constructor from edges, bins and the title
| title | the historgam title |
| low | the low edge of the histogram |
| high | the high edge of the histogram |
| bins | number of bins |
Definition at line 47 of file HistoDef.cpp.
|
virtual |
| Gaudi::Histo1DDef::Histo1DDef | ( | const double | low, |
| const double | high, | ||
| const int | bins = 100, |
||
| const std::string & | title = "" |
||
| ) |
full constructor from edges, bins and the title
| low | the low edge of the histogram |
| high | the high edge of the histogram |
| bins | number of bins |
| title | the historgam title |
| Gaudi::Histo1DDef::Histo1DDef | ( | const std::string & | title = "", |
| const double | low = 0.0, |
||
| const double | high = 1.0, |
||
| const int | bins = 100 |
||
| ) |
full constructor from edges, bins and the title
| title | the historgam title |
| low | the low edge of the histogram |
| high | the high edge of the histogram |
| bins | number of bins |
|
virtual |
destructor
virtual destructor
|
inline |
|
inline |
| std::ostream & Gaudi::Histo1DDef::fillStream | ( | std::ostream & | o | ) | const |
printout of the histogram definition
Definition at line 63 of file HistoDef.cpp.
| std::ostream& Gaudi::Histo1DDef::fillStream | ( | std::ostream & | o | ) | const |
printout of the histogram definition
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool Gaudi::Histo1DDef::operator!= | ( | const Histo1DDef & | right | ) | const |
| bool Gaudi::Histo1DDef::operator!= | ( | const Histo1DDef & | right | ) | const |
non-equality
| bool Gaudi::Histo1DDef::operator< | ( | const Histo1DDef & | right | ) | const |
| bool Gaudi::Histo1DDef::operator< | ( | const Histo1DDef & | right | ) | const |
ordering operator (to please BoundedVerifier)
| bool Gaudi::Histo1DDef::operator== | ( | const Histo1DDef & | right | ) | const |
| bool Gaudi::Histo1DDef::operator== | ( | const Histo1DDef & | right | ) | const |
equality operator
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Number of bins.
Definition at line 113 of file HistoDef.h.
|
private |
High Edge.
Definition at line 111 of file HistoDef.h.
|
private |
Low Edge.
Definition at line 109 of file HistoDef.h.
|
private |
Histogram title.
Definition at line 107 of file HistoDef.h.