Go to the documentation of this file.
11 #ifndef GAUDIKERNEL_HISTODEF_H
12 #define GAUDIKERNEL_HISTODEF_H 1
67 int bins()
const {
return m_bins; }
78 void setBins(
int value ) { m_bins = value; }
98 bool ok()
const {
return 0 < bins() && lowEdge() < highEdge(); }
151 #endif // GAUDIKERNEL_HISTODEF_H
void setLowEdge(double value)
set low edge
void setTitle(std::string value)
set the title
void setHighEdge(double value)
set high edge
GAUDI_API AIDA::IHistogram1D * book(IHistogramSvc *svc, const std::string &path, const Gaudi::Histo1DDef &hist)
helper function to book 1D-histogram
bool ok() const
check if all fields are "reasonable"
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
double highEdge() const
get the high edge
int m_bins
Number of bins.
std::string m_title
Histogram title.
bool operator<(const Gaudi::Histo1DDef &left, const Gaudi::Histo1DDef &right)
double lowEdge() const
get the low edge
std::ostream & operator<<(std::ostream &o, const Gaudi::StringKey &key)
printout of the object reply on the native printout for the string
int bins() const
get the number of bins
const std::string & title() const
get the title
void setBins(int value)
set number of bis