The Gaudi Framework  v29r0 (ff2e7097)
HistoParsers.h
Go to the documentation of this file.
1 #ifndef GAUDIUTILS_HISTOPARSERS_H
2 #define GAUDIUTILS_HISTOPARSERS_H 1
3 // =============================================================================
4 // Include files
5 // =============================================================================
6 // GaudiKernel
7 // =============================================================================
9 // =============================================================================
10 // forward declarations
11 // =============================================================================
12 // AIDA
13 // =============================================================================
14 namespace AIDA
15 {
16  class IHistogram1D; // AIDA
17  class IHistogram2D; // AIDA
18 }
19 // =============================================================================
20 // ROOT
21 // =============================================================================
22 class TH1D; // ROOT
23 class TH2D; // ROOT
24 class TH1F; // ROOT
25 class TH2F; // ROOT
26 // =============================================================================
27 namespace Gaudi
28 {
29  // ===========================================================================
30  namespace Parsers
31  {
32  // =========================================================================
38  GAUDI_API StatusCode parse( TH1D& result, const std::string& input );
39  // =========================================================================
45  GAUDI_API StatusCode parse( TH2D& result, const std::string& input );
46  // =========================================================================
52  GAUDI_API StatusCode parse( TH1F& result, const std::string& input );
53  // =========================================================================
59  GAUDI_API StatusCode parse( TH2F& result, const std::string& input );
60  // =========================================================================
66  GAUDI_API StatusCode parse( AIDA::IHistogram1D& result, const std::string& input );
67  // =========================================================================
73  GAUDI_API StatusCode parse( AIDA::IHistogram2D& result, const std::string& input );
74  // =========================================================================
80  GAUDI_API StatusCode parse( TH1D*& result, const std::string& input );
81  // =========================================================================
87  GAUDI_API StatusCode parse( TH2D*& result, const std::string& input );
88  // =========================================================================
89  } // end of namespace Gaudi::Parsers
90  // ===========================================================================
91 } // end of namespace Gaudi
92 // =============================================================================
93 // The END
94 // =============================================================================
95 #endif // GAUDIUTILS_HISTOPARSERS_H
96 // =============================================================================
GAUDI_API StatusCode parse(TH2D *&result, const std::string &input)
parse ROOT histogram from text representation
GaudiKernel.
Definition: Fill.h:10
STL class.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
#define GAUDI_API
Definition: Kernel.h:110
Helper functions to set/get the application return code.
Definition: __init__.py:1