The Gaudi Framework  v33r1 (b1225454)
HistogramBase.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef HISTOGRAMSVC_BASE_H
12 #define HISTOGRAMSVC_BASE_H
13 
14 #include "GaudiKernel/Kernel.h"
15 #include <iostream>
16 
17 class TObject;
18 
19 /*
20  * Gaudi namespace declaration
21  */
22 namespace Gaudi {
23 
33  public:
35  virtual TObject* representation() const = 0;
37  virtual void adoptRepresentation( TObject* rep ) = 0;
39  virtual std::ostream& print( std::ostream& s ) const = 0;
41  virtual std::ostream& write( std::ostream& s ) const = 0;
43  virtual int write( const char* file_name ) const = 0;
44  virtual ~HistogramBase() = default;
45  }; // class
46 
47 } // namespace Gaudi
48 
49 #endif // HISTOGRAMSVC_BASE_H
Common base class for all histograms Use is solely functional to minimize dynamic_casts inside Histog...
Definition: HistogramBase.h:32
string s
Definition: gaudirun.py:328
#define GAUDI_API
Definition: Kernel.h:81
STL class.
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1