1 #ifndef GAUDIKERNEL_HISTODEF_H
2 #define GAUDIKERNEL_HISTODEF_H 1
18 namespace AIDA {
class IHistogram1D ; }
64 double lowEdge ()
const {
return m_low ; }
68 int bins ()
const {
return m_bins ; }
100 bool ok ()
const {
return 0 < bins() && lowEdge() < highEdge() ; }
167 #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
GAUDI_API std::ostream & operator<<(std::ostream &o, const Gaudi::Histo1DDef &histo)
the streamer operator for class Gaudi::Histo1DDef
GAUDI_API AIDA::IHistogram1D * book(IHistogramSvc *svc, const std::string &path, const Gaudi::Histo1DDef &hist)
helper function to book 1D-histogram
bool operator==(const Gaudi::StringKey &key1, const char(&key2)[N])
equality operator with C-arrays
double highEdge() const
get the high edge
double lowEdge() const
get the low edge
void setHighEdge(double value)
set high edge
const std::string & title() const
get the title
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.
bool operator!=(const Gaudi::StringKey &key1, const char(&key2)[N])
non-equality operator with C-arrays
GAUDI_API std::string path(const AIDA::IBaseHistogram *aida)
get the path in THS for AIDA histogram
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