| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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
23 class GAUDI_API HistogramBase
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
Kernel.h
Gaudi::HistogramBase
Common base class for all histograms Use is solely functional to minimize dynamic_casts inside Histog...
Definition: HistogramBase.h:23
print
void print(string text)
Definition: mergesort.cpp:30
GaudiPython.GaudiAlgs.write
write
Definition: GaudiAlgs.py:1259
gaudirun.s
string s
Definition: gaudirun.py:253
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
std::ostream
STL class.
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1