14 #include "AIDA/IHistogram1D.h" 15 #include "AIDA/IHistogram2D.h" 16 #include "AIDA/IHistogram3D.h" 17 #include "AIDA/IProfile1D.h" 18 #include "AIDA/IProfile2D.h" 36 if ( histo ) { histo->fill( value, weight ); }
50 const double weight ) {
51 if ( histo ) { histo->fill( valueX, valueY, weight ); }
66 const double valueZ,
const double weight ) {
67 if ( histo ) { histo->fill( valueX, valueY, valueZ, weight ); }
81 const double weight ) {
82 if ( histo ) { histo->fill( valueX, valueY, weight ); }
97 const double weight ) {
98 if ( histo ) { histo->fill( valueX, valueY, valueZ, weight ); }
103 return ( histo && title.
empty() ) ? histo->title() : title;
110 return htitle_( histo, title );
116 return htitle_( histo, title );
122 return htitle_( histo, title );
128 return htitle_( histo, title );
134 return htitle_( histo, title );
140 return htitle_( histo, title );
146 return htitle_( histo, title );
152 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)