1 #ifndef GAUDIKERNEL_HISTODEF_H 2 #define GAUDIKERNEL_HISTODEF_H 1 57 int bins()
const {
return m_bins; }
68 void setBins(
int value ) { m_bins = value; }
92 bool ok()
const {
return 0 < bins() && lowEdge() < highEdge(); }
145 #endif // GAUDIKERNEL_HISTODEF_H helper namespace to collect useful definitions, types, constants and functions, related to manipulati...
void setBins(int value)
set number of bis
bool operator!=(const T &v, const Property< TP, V, H > &p)
delegate (value != property) to property operator!=
bool operator==(const T &v, const Property< TP, V, H > &p)
delegate (value == property) to property operator==
GAUDI_API AIDA::IHistogram1D * book(IHistogramSvc *svc, const std::string &path, const Gaudi::Histo1DDef &hist)
helper function to book 1D-histogram
void setHighEdge(double value)
set high edge
Simple helper class for description of 1D-histogram The class is targeted to act as the primary "hist...
std::string m_title
Histogram title.
Definition of the IHistogramSvc interface class.
void setTitle(std::string value)
set the title
bool ok() const
check if all fields are "reasonable"
const std::string & title() const
get the title
int bins() const
get the number of bins
double highEdge() const
get the high edge
int m_bins
Number of bins.
Header file for std:chrono::duration-based Counters.
double lowEdge() const
get the low edge
bool operator<(const Gaudi::Histo1DDef &left, const Gaudi::Histo1DDef &right)
void setLowEdge(double value)
set low edge
std::ostream & operator<<(std::ostream &o, const Gaudi::StringKey &key)
printout of the object reply on the native printout for the string