10 #include "GaudiKernel/IHistogramSvc.h"
11 #include "GaudiKernel/HistoDef.h"
12 #include "GaudiKernel/ToStream.h"
32 : m_title ( std::move(title) )
50 : m_title ( std::move(title) )
63 <<
"," <<
bins () <<
")" ;
71 this == &right ?
false :
72 title () < right.
title () ?
true :
73 title () > right.
title () ?
false :
74 lowEdge () < right.
lowEdge () ?
true :
75 lowEdge () > right.
lowEdge () ?
false :
76 highEdge () < right.
highEdge () ?
true :
77 highEdge () > right.
highEdge () ?
false : bins () < right.
bins () ;
85 #pragma warning(disable:1572)
89 return (
this == &right ) ||
90 ( title () == right.
title () &&
91 lowEdge () == right.
lowEdge () &&
93 bins () == right.
bins () );
103 {
return !( *
this == right ) ; }
128 const std::string&
path ,
131 if ( 0 == svc ) {
return 0 ; }
147 const std::string& dir ,
148 const std::string&
id ,
151 if ( 0 == svc ) {
return 0 ; }
167 const std::string& dir ,
171 if ( 0 == svc ) {
return 0 ; }
GAUDI_API std::ostream & operator<<(std::ostream &o, const Gaudi::Histo1DDef &histo)
the streamer operator for class Gaudi::Histo1DDef
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
double highEdge() const
get the high edge
double lowEdge() const
get the low edge
bool operator<(const Histo1DDef &right) const
ordering operator (to please BoundedVerifier)
const std::string & title() const
get the title
bool operator==(const Histo1DDef &right) const
equality operator
Simple helper class for description of 1D-histogram The class is targeted to act as the primary "hist...
Definition of the IHistogramSvc interface class.
int bins() const
get the number of bins
Histo1DDef(double low, double high, int bins=100, std::string title="")
full constructor from edges, bins and the title
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
Helper functions to set/get the application return code.
bool operator!=(const Histo1DDef &right) const
non-equality