| The Gaudi Framework v28r2-patches (bc4ad17a)

- 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 <iostream>
5 #include "GaudiKernel/Kernel.h"
6
7 class TObject;
8
9 /*
10 * Gaudi namespace declaration
11 */
12 namespace Gaudi {
13
22 class GAUDI_API HistogramBase {
23 public:
25 virtual TObject* representation() const = 0;
27 virtual void adoptRepresentation(TObject*rep) = 0;
29 virtual std::ostream& print(std::ostream& s) const = 0;
31 virtual std::ostream& write(std::ostream& s) const = 0;
33 virtual int write(const char* file_name) const = 0;
34 virtual ~HistogramBase() = default;
35 }; // class
36
37 } // namespace Gaudi
38
39 #endif // HISTOGRAMSVC_BASE_H
40
Kernel.h
Gaudi::HistogramBase
Common base class for all histograms Use is solely functional to minimize dynamic_casts inside Histog...
Definition: HistogramBase.h:22
print
void print(string text)
Definition: mergesort.cpp:33
GaudiPython.GaudiAlgs.write
write
Definition: GaudiAlgs.py:1144
gaudirun.s
string s
Definition: gaudirun.py:245
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
std::ostream
STL class.
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1