1 #ifndef GAUDIKERNEL_HISTODEF_H 2 #define GAUDIKERNEL_HISTODEF_H 1 60 int bins()
const {
return m_bins; }
71 void setBins(
int value ) { m_bins = value; }
95 bool ok()
const {
return 0 < bins() && lowEdge() < highEdge(); }
149 #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 GaudiUtils::Allocator< T1 > &, const GaudiUtils::Allocator< T2 > &)
double highEdge() const
get the high edge
double lowEdge() const
get the low edge
void setHighEdge(double value)
set high edge
GAUDI_API AIDA::IHistogram1D * book(IHistogramSvc *svc, const std::string &dir, const int id, const Gaudi::Histo1DDef &hist)
helper function to book 1D-histogram
const std::string & title() const
get the title
bool operator==(const GaudiUtils::Allocator< T1 > &, const GaudiUtils::Allocator< T2 > &)
Simple helper class for description of 1D-histogram The class is targeted to act as the primary "hist...
std::string m_title
Histogram title.
bool ok() const
check if all fields are "reasonable"
Definition of the IHistogramSvc interface class.
void setTitle(std::string value)
set the title
bool operator<(const EventIDBase &lhs, const EventIDBase &rhs)
int bins() const
get the number of bins
int m_bins
Number of bins.
Helper functions to set/get the application return code.
void setLowEdge(double value)
set low edge
std::ostream & operator<<(std::ostream &str, const GaudiAlg::ID &id)
Operator overloading for ostream.