Go to the documentation of this file.
38 : m_title(
std::move( title ) ), m_low( low ), m_high( high ), m_bins( bins ) {}
48 : m_title(
std::move( title ) ), m_low( low ), m_high( high ), m_bins( bins ) {}
53 return o <<
"(" <<
Gaudi::Utils::toString( title() ) <<
"," << lowEdge() <<
"," << highEdge() <<
"," << bins() <<
")";
60 return std::tie( left.m_title, left.m_low, left.m_high, left.m_bins ) <
61 std::tie( right.m_title, right.m_low, right.m_high, right.m_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
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