24 #include "AIDA/IHistogram1D.h" 25 #include "AIDA/IHistogram2D.h" 26 #include "AIDA/IHistogram3D.h" 27 #include "AIDA/IProfile1D.h" 28 #include "AIDA/IProfile2D.h" 46 if ( histo ) { histo->fill( value, weight ); }
60 const double weight ) {
61 if ( histo ) { histo->fill( valueX, valueY, weight ); }
76 const double valueZ,
const double weight ) {
77 if ( histo ) { histo->fill( valueX, valueY, valueZ, weight ); }
91 const double weight ) {
92 if ( histo ) { histo->fill( valueX, valueY, weight ); }
107 const double weight ) {
108 if ( histo ) { histo->fill( valueX, valueY, valueZ, weight ); }
113 return ( histo && title.
empty() ) ? histo->title() : title;
120 return htitle_( histo, title );
126 return htitle_( histo, title );
132 return htitle_( histo, title );
138 return htitle_( histo, title );
144 return htitle_( histo, title );
150 return htitle_( histo, title );
156 return htitle_( histo, title );
162 return htitle_( histo, title );
GAUDI_API std::string htitle(const AIDA::IBaseHistogram *histo, const std::string &title="")
get the title
GAUDI_API void fill(AIDA::IHistogram1D *histo, const double value, const double weight=1.0)
simple function to fill AIDA::IHistogram1D objects
GAUDI_API AIDA::IBaseHistogram * toBase(AIDA::IHistogram1D *histo)