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>
List of all members.
Detailed Description
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 ibelyaev@physics.syr.edu
- Date:
- 2007-09-17
Definition at line 32 of file HistoDef.h.
Constructor & Destructor Documentation
| 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
- 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 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
- 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 47 of file HistoDef.cpp.
| Gaudi::Histo1DDef::~Histo1DDef |
( |
) |
[virtual] |
destructor
virtual destructor
Definition at line 59 of file HistoDef.cpp.
Member Function Documentation
| int Gaudi::Histo1DDef::bins |
( |
) |
const [inline] |
get the number of bins
Definition at line 70 of file HistoDef.h.
printout of the histogram definition
Definition at line 63 of file HistoDef.cpp.
| 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 102 of file HistoDef.h.
| bool Gaudi::Histo1DDef::operator!= |
( |
const Histo1DDef & |
right ) |
const |
| bool Gaudi::Histo1DDef::operator< |
( |
const Histo1DDef & |
right ) |
const |
| bool Gaudi::Histo1DDef::operator== |
( |
const Histo1DDef & |
right ) |
const |
| void Gaudi::Histo1DDef::setBins |
( |
const int |
value ) |
[inline] |
| void Gaudi::Histo1DDef::setHighEdge |
( |
const double |
value ) |
[inline] |
| void Gaudi::Histo1DDef::setLowEdge |
( |
const double |
value ) |
[inline] |
| void Gaudi::Histo1DDef::setTitle |
( |
const std::string & |
value ) |
[inline] |
| const std::string& Gaudi::Histo1DDef::title |
( |
) |
const [inline] |
Member Data Documentation
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:
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r2p1/GaudiKernel/GaudiKernel/HistoDef.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v23r2p1/GaudiKernel/src/Lib/HistoDef.cpp