The Gaudi Framework
master (934d2c3c)
Toggle main menu visibility
Loading...
Searching...
No Matches
Histo2String.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
// STD & STL
16
// ============================================================================
17
#include <
iosfwd
>
18
#include <
string
>
19
// ============================================================================
20
// GaudiKernel
21
// ============================================================================
22
#include <
GaudiKernel/StatusCode.h
>
23
// ============================================================================
24
// forward declarations
25
// ============================================================================
26
// Forward declarations
27
// ============================================================================
28
// AIDA
29
// ============================================================================
30
namespace
AIDA
{
31
class
IHistogram1D;
32
class
IHistogram2D;
33
class
IHistogram3D;
34
}
// namespace AIDA
35
// ============================================================================
36
// ROOT
37
// ============================================================================
38
class
TH1D;
// ROOT
39
class
TH2D;
// ROOT
40
class
TH3D;
// ROOT
41
class
TH1F;
// ROOT
42
class
TH2F;
// ROOT
43
class
TH3F;
// ROOT
44
// ============================================================================
45
namespace
Gaudi
{
46
// ===========================================================================
47
namespace
Utils
{
48
// =========================================================================
57
GAUDI_API
std::ostream
&
toStream
(
const
TH1D& histo,
std::ostream
& stream,
const
bool
asXML =
false
);
58
// =========================================================================
67
GAUDI_API
std::ostream
&
toStream
(
const
TH2D& histo,
std::ostream
& stream,
const
bool
asXML =
false
);
68
// =========================================================================
77
GAUDI_API
std::ostream
&
toStream
(
const
TH3D& histo,
std::ostream
& stream,
const
bool
asXML =
false
);
78
// =========================================================================
87
GAUDI_API
std::ostream
&
toStream
(
const
TH1F& histo,
std::ostream
& stream,
const
bool
asXML =
false
);
88
// =========================================================================
97
GAUDI_API
std::ostream
&
toStream
(
const
TH2F& histo,
std::ostream
& stream,
const
bool
asXML =
false
);
98
// ========================================================================
107
GAUDI_API
std::ostream
&
toStream
(
const
TH3F& histo,
std::ostream
& stream,
const
bool
asXML =
false
);
108
// ========================================================================
117
GAUDI_API
std::ostream
&
toStream
(
const
AIDA::IHistogram1D& histo,
std::ostream
& stream,
const
bool
asXML =
false
);
118
// ========================================================================
127
GAUDI_API
std::ostream
&
toStream
(
const
AIDA::IHistogram2D& histo,
std::ostream
& stream,
const
bool
asXML =
false
);
128
// ========================================================================
137
GAUDI_API
std::ostream
&
toStream
(
const
AIDA::IHistogram3D& histo,
std::ostream
& stream,
const
bool
asXML =
false
);
138
// ========================================================================
146
GAUDI_API
std::string
toString
(
const
TH1D& histo,
const
bool
asXML =
false
);
147
// ========================================================================
155
GAUDI_API
std::string
toString
(
const
TH2D& histo,
const
bool
asXML =
false
);
156
// ========================================================================
164
GAUDI_API
std::string
toString
(
const
TH3D& histo,
const
bool
asXML =
false
);
165
// ========================================================================
173
GAUDI_API
std::string
toString
(
const
TH1F& histo,
const
bool
asXML =
false
);
174
// ========================================================================
182
GAUDI_API
std::string
toString
(
const
TH2F& histo,
const
bool
asXML =
false
);
183
// ========================================================================
191
GAUDI_API
std::string
toString
(
const
TH3F& histo,
const
bool
asXML =
false
);
192
// ========================================================================
200
GAUDI_API
std::string
toString
(
const
AIDA::IHistogram1D& histo,
const
bool
asXML =
false
);
201
// ========================================================================
209
GAUDI_API
std::string
toString
(
const
AIDA::IHistogram2D& histo,
const
bool
asXML =
false
);
210
// ========================================================================
218
GAUDI_API
std::string
toString
(
const
AIDA::IHistogram3D& histo,
const
bool
asXML =
false
);
219
// ========================================================================
227
GAUDI_API
std::string
toString
(
const
AIDA::IHistogram1D* histo );
228
// ========================================================================
236
GAUDI_API
std::string
toString
( AIDA::IHistogram1D* histo );
237
// ========================================================================
245
GAUDI_API
std::string
toString
(
const
TH1D* histo );
246
// ========================================================================
254
GAUDI_API
std::string
toString
( TH1D* histo );
255
// ========================================================================
263
GAUDI_API
std::string
toString
(
const
TH2D* histo );
264
// ========================================================================
272
GAUDI_API
std::string
toString
( TH2D* histo );
273
// ========================================================================
281
GAUDI_API
std::string
toString
(
const
TH3D* histo );
282
// ========================================================================
290
GAUDI_API
std::string
toString
( TH3D* histo );
291
// ========================================================================
292
}
// namespace Utils
293
// ==========================================================================
294
}
// end of namespace Gaudi
295
// ============================================================================
296
// The END
297
// ============================================================================
GAUDI_API
#define GAUDI_API
Definition
Kernel.h:49
StatusCode.h
iosfwd
string
std::ostream
basic_ostream< char > ostream
std::string
basic_string< char > string
AIDA
Definition
Annotation.h:21
Gaudi::Utils
Definition
Property.h:693
Gaudi::Utils::toString
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
Definition
ToStream.h:329
Gaudi::Utils::toStream
std::ostream & toStream(ITERATOR first, ITERATOR last, std::ostream &s, const std::string &open, const std::string &close, const std::string &delim)
the helper function to print the sequence
Definition
ToStream.h:307
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition
__init__.py:1
GaudiUtils
include
GaudiUtils
Histo2String.h
Generated on
for The Gaudi Framework by
1.18.0