#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 | |
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 | |
virtual | ~Histo1DDef () |
destructor virtual destructor | |
double | lowEdge () const |
get the low edge | |
double | highEdge () const |
get the high edge | |
int | bins () const |
get the number of bins | |
const std::string & | title () const |
get the title | |
void | setLowEdge (const double value) |
set low edge | |
void | setHighEdge (const double value) |
set high edge | |
void | setBins (const int value) |
set number of bis | |
void | setTitle (const std::string &value) |
set the title | |
std::ostream & | fillStream (std::ostream &o) const |
printout of the histogram definition | |
bool | operator< (const Histo1DDef &right) const |
ordering operator (to please BoundedVerifier) | |
bool | operator== (const Histo1DDef &right) const |
equality operator | |
bool | operator!= (const Histo1DDef &right) const |
non-equality | |
bool | ok () const |
check if all fields are "reasonable" | |
Private Attributes | |
std::string | m_title |
Histogram title. | |
double | m_low |
Low Edge. | |
double | m_high |
High Edge. | |
int | m_bins |
Number of bins. |
Definition at line 28 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 |
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 Gaudi::Histo1DDef::~Histo1DDef | ( | ) | [virtual] |
destructor virtual destructor
double Gaudi::Histo1DDef::lowEdge | ( | ) | const [inline] |
double Gaudi::Histo1DDef::highEdge | ( | ) | const [inline] |
int Gaudi::Histo1DDef::bins | ( | ) | const [inline] |
const std::string& Gaudi::Histo1DDef::title | ( | ) | const [inline] |
void Gaudi::Histo1DDef::setLowEdge | ( | const double | value | ) | [inline] |
void Gaudi::Histo1DDef::setHighEdge | ( | const double | value | ) | [inline] |
void Gaudi::Histo1DDef::setBins | ( | const int | value | ) | [inline] |
void Gaudi::Histo1DDef::setTitle | ( | const std::string & | value | ) | [inline] |
std::ostream& Gaudi::Histo1DDef::fillStream | ( | std::ostream & | o | ) | const |
printout of the histogram definition
bool Gaudi::Histo1DDef::operator< | ( | const Histo1DDef & | right | ) | const |
ordering operator (to please BoundedVerifier)
bool Gaudi::Histo1DDef::operator== | ( | const Histo1DDef & | right | ) | const |
equality operator
bool Gaudi::Histo1DDef::operator!= | ( | const Histo1DDef & | right | ) | const |
non-equality
bool Gaudi::Histo1DDef::ok | ( | ) | const [inline] |
std::string Gaudi::Histo1DDef::m_title [private] |
double Gaudi::Histo1DDef::m_low [private] |
double Gaudi::Histo1DDef::m_high [private] |
int Gaudi::Histo1DDef::m_bins [private] |