The Gaudi Framework
v30r3 (a5ef0a68)
|
Common base class for all histograms Use is solely functional to minimize dynamic_casts inside HistogramSvc. More...
#include <HistogramSvc/HistogramBase.h>
Public Member Functions | |
virtual TObject * | representation () const =0 |
ROOT object implementation. More... | |
virtual void | adoptRepresentation (TObject *rep)=0 |
Adopt ROOT histogram representation. More... | |
virtual std::ostream & | print (std::ostream &s) const =0 |
Print histogram to output stream. More... | |
virtual std::ostream & | write (std::ostream &s) const =0 |
Write (binary) histogram to output stream. More... | |
virtual int | write (const char *file_name) const =0 |
Write (binary) histogram to file. More... | |
virtual | ~HistogramBase ()=default |
Common base class for all histograms Use is solely functional to minimize dynamic_casts inside HistogramSvc.
Definition at line 23 of file HistogramBase.h.
|
virtualdefault |
|
pure virtual |
Adopt ROOT histogram representation.
Implemented in Gaudi::Generic2D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic1D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic1D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic1D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic1D< AIDA::IProfile1D, TProfile >, Gaudi::Generic1D< AIDA::IHistogram1D, TH1D >, Gaudi::Generic2D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic3D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic2D< AIDA::IProfile2D, TProfile2D >, Gaudi::Generic2D< AIDA::IHistogram2D, TH2D >, Gaudi::Generic3D< AIDA::IHistogram3D, TH3D >, Gaudi::Generic2D< INTERFACE, IMPLEMENTATION >, Gaudi::Histogram1D, and Gaudi::Generic3D< INTERFACE, IMPLEMENTATION >.
|
pure virtual |
Print histogram to output stream.
Implemented in Gaudi::Generic3D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic3D< AIDA::IHistogram3D, TH3D >, Gaudi::Generic2D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic2D< AIDA::IProfile2D, TProfile2D >, Gaudi::Generic2D< AIDA::IHistogram2D, TH2D >, Gaudi::Generic1D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic1D< AIDA::IProfile1D, TProfile >, and Gaudi::Generic1D< AIDA::IHistogram1D, TH1D >.
|
pure virtual |
ROOT object implementation.
Implemented in Gaudi::Generic1D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic1D< AIDA::IProfile1D, TProfile >, Gaudi::Generic1D< AIDA::IHistogram1D, TH1D >, Gaudi::Generic2D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic3D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic2D< AIDA::IProfile2D, TProfile2D >, Gaudi::Generic2D< AIDA::IHistogram2D, TH2D >, and Gaudi::Generic3D< AIDA::IHistogram3D, TH3D >.
|
pure virtual |
Write (binary) histogram to output stream.
Implemented in Gaudi::Generic3D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic3D< AIDA::IHistogram3D, TH3D >, Gaudi::Generic2D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic2D< AIDA::IProfile2D, TProfile2D >, Gaudi::Generic2D< AIDA::IHistogram2D, TH2D >, Gaudi::Generic1D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic1D< AIDA::IProfile1D, TProfile >, and Gaudi::Generic1D< AIDA::IHistogram1D, TH1D >.
|
pure virtual |
Write (binary) histogram to file.
Implemented in Gaudi::Generic3D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic3D< AIDA::IHistogram3D, TH3D >, Gaudi::Generic2D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic2D< AIDA::IProfile2D, TProfile2D >, Gaudi::Generic2D< AIDA::IHistogram2D, TH2D >, Gaudi::Generic1D< INTERFACE, IMPLEMENTATION >, Gaudi::Generic1D< AIDA::IProfile1D, TProfile >, and Gaudi::Generic1D< AIDA::IHistogram1D, TH1D >.