The Gaudi Framework  v29r0 (ff2e7097)
HistogramBase.h
Go to the documentation of this file.
1 #ifndef HISTOGRAMSVC_BASE_H
2 #define HISTOGRAMSVC_BASE_H
3 
4 #include "GaudiKernel/Kernel.h"
5 #include <iostream>
6 
7 class TObject;
8 
9 /*
10  * Gaudi namespace declaration
11  */
12 namespace Gaudi
13 {
14 
24  {
25  public:
27  virtual TObject* representation() const = 0;
29  virtual void adoptRepresentation( TObject* rep ) = 0;
31  virtual std::ostream& print( std::ostream& s ) const = 0;
33  virtual std::ostream& write( std::ostream& s ) const = 0;
35  virtual int write( const char* file_name ) const = 0;
36  virtual ~HistogramBase() = default;
37  }; // class
38 
39 } // namespace Gaudi
40 
41 #endif // HISTOGRAMSVC_BASE_H
Common base class for all histograms Use is solely functional to minimize dynamic_casts inside Histog...
Definition: HistogramBase.h:23
void print(string text)
Definition: mergesort.cpp:30
string s
Definition: gaudirun.py:253
#define GAUDI_API
Definition: Kernel.h:110
STL class.
Helper functions to set/get the application return code.
Definition: __init__.py:1