The Gaudi Framework  v36r0 (4abb4d13)
HistoParsers.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 GAUDIUTILS_HISTOPARSERS_H
12 #define GAUDIUTILS_HISTOPARSERS_H 1
13 // =============================================================================
14 // Include files
15 // =============================================================================
16 // GaudiKernel
17 // =============================================================================
18 #include "GaudiKernel/StatusCode.h"
19 // =============================================================================
20 // forward declarations
21 // =============================================================================
22 // AIDA
23 // =============================================================================
24 namespace AIDA {
25  class IHistogram1D; // AIDA
26  class IHistogram2D; // AIDA
27 } // namespace AIDA
28 // =============================================================================
29 // ROOT
30 // =============================================================================
31 class TH1D; // ROOT
32 class TH2D; // ROOT
33 class TH1F; // ROOT
34 class TH2F; // ROOT
35 // =============================================================================
36 namespace Gaudi {
37  // ===========================================================================
38  namespace Parsers {
39  // =========================================================================
45  GAUDI_API StatusCode parse( TH1D& result, const std::string& input );
46  // =========================================================================
52  GAUDI_API StatusCode parse( TH2D& result, const std::string& input );
53  // =========================================================================
59  GAUDI_API StatusCode parse( TH1F& result, const std::string& input );
60  // =========================================================================
66  GAUDI_API StatusCode parse( TH2F& result, const std::string& input );
67  // =========================================================================
73  GAUDI_API StatusCode parse( AIDA::IHistogram1D& result, const std::string& input );
74  // =========================================================================
80  GAUDI_API StatusCode parse( AIDA::IHistogram2D& result, const std::string& input );
81  // =========================================================================
87  GAUDI_API StatusCode parse( TH1D*& result, const std::string& input );
88  // =========================================================================
94  GAUDI_API StatusCode parse( TH2D*& result, const std::string& input );
95  // =========================================================================
96  } // namespace Parsers
97  // ===========================================================================
98 } // end of namespace Gaudi
99 // =============================================================================
100 // The END
101 // =============================================================================
102 #endif // GAUDIUTILS_HISTOPARSERS_H
AIDA
GaudiKernel.
Definition: Fill.h:20
std::string
STL class.
StatusCode.h
StatusCode
Definition: StatusCode.h:65
Gaudi
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1
Gaudi::Parsers::parse
StatusCode parse(GaudiUtils::HashMap< K, V > &result, const std::string &input)
Basic parser for the types of HashMap used in DODBasicMapper.
Definition: DODBasicMapper.cpp:21
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81