Go to the documentation of this file.
29 : m_title(
std::move( title ) ), m_low( low ), m_high( high ), m_bins( bins ) {}
37 : m_title(
std::move( title ) ), m_low( low ), m_high( high ), m_bins( bins ) {}
40 return o <<
"(" <<
Gaudi::Utils::toString( title() ) <<
"," << lowEdge() <<
"," << highEdge() <<
"," << bins() <<
")";
virtual AIDA::IHistogram1D * book(const std::string &fullPath, const std::string &title, int binsX, double lowX, double highX)=0
Book histogram and register it with the histogram data store.
std::ostream & fillStream(std::ostream &o) const
printout of the histogram definition
GAUDI_API AIDA::IHistogram1D * book(IHistogramSvc *svc, const std::string &path, const Gaudi::Histo1DDef &hist)
helper function to book 1D-histogram
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
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
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
Histo1DDef(double low, double high, int bins=100, std::string title="")
full constructor from edges, bins and the title