The Gaudi Framework  master (d98a2936)
HistoParsers.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 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 #pragma once
12 // =============================================================================
13 // Include files
14 // =============================================================================
15 // GaudiKernel
16 // =============================================================================
17 #include <GaudiKernel/StatusCode.h>
18 // =============================================================================
19 // forward declarations
20 // =============================================================================
21 // AIDA
22 // =============================================================================
23 namespace AIDA {
24  class IHistogram1D; // AIDA
25  class IHistogram2D; // AIDA
26  class IHistogram3D; // AIDA
27 } // namespace AIDA
28 // =============================================================================
29 // ROOT
30 // =============================================================================
31 class TH1D; // ROOT
32 class TH2D; // ROOT
33 class TH3D; // ROOT
34 class TH1F; // ROOT
35 class TH2F; // ROOT
36 class TH3F; // ROOT
37 // =============================================================================
38 namespace Gaudi {
39  // ===========================================================================
40  namespace Parsers {
41  // =========================================================================
47  GAUDI_API StatusCode parse( TH1D& result, std::string_view input );
48  // =========================================================================
54  GAUDI_API StatusCode parse( TH2D& result, std::string_view input );
55  // =========================================================================
61  GAUDI_API StatusCode parse( TH3D& result, std::string_view input );
62  // =========================================================================
68  GAUDI_API StatusCode parse( TH1F& result, std::string_view input );
69  // =========================================================================
75  GAUDI_API StatusCode parse( TH2F& result, std::string_view input );
76  // =========================================================================
82  GAUDI_API StatusCode parse( TH3F& result, std::string_view input );
83  // =========================================================================
89  GAUDI_API StatusCode parse( AIDA::IHistogram1D& result, std::string_view input );
90  // =========================================================================
96  GAUDI_API StatusCode parse( AIDA::IHistogram2D& result, std::string_view input );
97  // =========================================================================
103  GAUDI_API StatusCode parse( AIDA::IHistogram3D& result, std::string_view input );
104  // =========================================================================
110  GAUDI_API StatusCode parse( TH1D*& result, std::string_view input );
111  // =========================================================================
117  GAUDI_API StatusCode parse( TH2D*& result, std::string_view input );
118  // =========================================================================
124  GAUDI_API StatusCode parse( TH3D*& result, std::string_view input );
125  // =========================================================================
126  } // namespace Parsers
127  // ===========================================================================
128 } // end of namespace Gaudi
129 // =============================================================================
130 // The END
131 // =============================================================================
AIDA
Definition: Annotation.h:21
Gaudi::Parsers::parse
StatusCode parse(GaudiUtils::HashMap< K, V > &result, std::string_view input)
Basic parser for the types of HashMap used in DODBasicMapper.
Definition: DODBasicMapper.cpp:21
StatusCode.h
StatusCode
Definition: StatusCode.h:64
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition: __init__.py:1
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:49