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>
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.
- Author
- Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u
- Date
- 2007-09-17
Definition at line 33 of file HistoDef.h.
Gaudi::Histo1DDef::Histo1DDef |
( |
double |
low, |
|
|
double |
high, |
|
|
int |
bins = 100 , |
|
|
std::string |
title = "" |
|
) |
| |
full constructor from edges, bins and the title
- Parameters
-
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 27 of file HistoDef.cpp.
std::string m_title
Histogram title.
int bins() const
get the number of bins
int m_bins
Number of bins.
Gaudi::Histo1DDef::Histo1DDef |
( |
std::string |
title = "" , |
|
|
double |
low = 0.0 , |
|
|
double |
high = 1.0 , |
|
|
int |
bins = 100 |
|
) |
| |
full constructor from edges, bins and the title
- Parameters
-
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 39 of file HistoDef.cpp.
std::string m_title
Histogram title.
int bins() const
get the number of bins
int m_bins
Number of bins.
virtual Gaudi::Histo1DDef::~Histo1DDef |
( |
| ) |
|
|
virtualdefault |
destructor
virtual destructor
int Gaudi::Histo1DDef::bins |
( |
| ) |
const |
|
inline |
get the number of bins
Definition at line 63 of file HistoDef.h.
int m_bins
Number of bins.
printout of the histogram definition
Definition at line 46 of file HistoDef.cpp.
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
double highEdge() const
get the high edge
double lowEdge() const
get the low edge
const std::string & title() const
get the title
int bins() const
get the number of bins
double Gaudi::Histo1DDef::highEdge |
( |
| ) |
const |
|
inline |
double Gaudi::Histo1DDef::lowEdge |
( |
| ) |
const |
|
inline |
bool Gaudi::Histo1DDef::ok |
( |
| ) |
const |
|
inline |
check if all fields are "reasonable"
Definition at line 95 of file HistoDef.h.
double highEdge() const
get the high edge
double lowEdge() const
get the low edge
int bins() const
get the number of bins
bool Gaudi::Histo1DDef::operator< |
( |
const Histo1DDef & |
right | ) |
const |
ordering operator (to please BoundedVerifier)
Definition at line 53 of file HistoDef.cpp.
55 return this == &
right ?
false
double highEdge() const
get the high edge
double lowEdge() const
get the low edge
const std::string & title() const
get the title
int bins() const
get the number of bins
bool Gaudi::Histo1DDef::operator== |
( |
const Histo1DDef & |
right | ) |
const |
equality operator
Definition at line 76 of file HistoDef.cpp.
double highEdge() const
get the high edge
double lowEdge() const
get the low edge
const std::string & title() const
get the title
int bins() const
get the number of bins
void Gaudi::Histo1DDef::setBins |
( |
int |
value | ) |
|
|
inline |
set number of bis
Definition at line 74 of file HistoDef.h.
int m_bins
Number of bins.
void Gaudi::Histo1DDef::setHighEdge |
( |
double |
value | ) |
|
|
inline |
void Gaudi::Histo1DDef::setLowEdge |
( |
double |
value | ) |
|
|
inline |
set the title
Definition at line 76 of file HistoDef.h.
std::string m_title
Histogram title.
get the title
Definition at line 65 of file HistoDef.h.
std::string m_title
Histogram title.
int Gaudi::Histo1DDef::m_bins |
|
private |
double Gaudi::Histo1DDef::m_high |
|
private |
double Gaudi::Histo1DDef::m_low |
|
private |
The documentation for this class was generated from the following files: