The Gaudi Framework
v36r9p1 (5c15b2bb)
Print.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 GAUDIALG_PRINT_H
12
#define GAUDIALG_PRINT_H 1
13
// ============================================================================
14
// Include files
15
// ============================================================================
16
// STD & STL
17
// ============================================================================
18
// ============================================================================
19
// GaudiKernel
20
// ============================================================================
21
#include "
GaudiKernel/MsgStream.h
"
22
// ============================================================================
23
#include <string>
24
// ============================================================================
25
// GaudiAlg
26
// ============================================================================
27
#include "
GaudiAlg/HistoID.h
"
28
#include "
GaudiAlg/TupleID.h
"
29
// ============================================================================
30
// forward declarations
31
// ============================================================================
32
namespace
AIDA
{
33
class
IHistogram;
34
class
IHistogram1D;
35
class
IHistogram2D;
36
class
IHistogram3D;
37
class
IProfile1D;
38
class
IProfile2D;
39
}
// namespace AIDA
40
class
StatEntity
;
41
class
INTuple
;
42
// ============================================================================
51
namespace
GaudiAlg
{
60
class
GAUDI_API
Print
{
61
public
:
62
static
const
std::string
&
location
(
const
AIDA::IHistogram* aida );
63
};
72
class
GAUDI_API
Print1D
{
73
public
:
74
static
void
print(
MsgStream
&
stream
,
const
AIDA::IHistogram1D* aida,
const
GaudiAlg::HistoID
&
ID
);
75
//
76
static
std::string
toString
(
const
AIDA::IHistogram1D* aida,
const
GaudiAlg::HistoID
&
ID
);
77
};
86
class
GAUDI_API
Print2D
{
87
public
:
88
//
89
static
void
print(
MsgStream
&
stream
,
const
AIDA::IHistogram2D* aida,
const
GaudiAlg::HistoID
&
ID
);
90
//
91
static
std::string
toString
(
const
AIDA::IHistogram2D* aida,
const
GaudiAlg::HistoID
&
ID
);
92
};
101
class
GAUDI_API
Print3D
{
102
public
:
103
//
104
static
void
print(
MsgStream
&
stream
,
const
AIDA::IHistogram3D* aida,
const
GaudiAlg::HistoID
&
ID
);
105
//
106
static
std::string
toString
(
const
AIDA::IHistogram3D* aida,
const
GaudiAlg::HistoID
&
ID
);
107
};
116
class
GAUDI_API
Print1DProf
{
117
public
:
118
//
119
static
void
print(
MsgStream
&
stream
,
const
AIDA::IProfile1D* aida,
const
GaudiAlg::HistoID
&
ID
);
120
//
121
static
std::string
toString
(
const
AIDA::IProfile1D* aida,
const
GaudiAlg::HistoID
&
ID
);
122
};
131
class
GAUDI_API
Print2DProf
{
132
public
:
133
//
134
static
void
print(
MsgStream
&
stream
,
const
AIDA::IProfile2D* aida,
const
GaudiAlg::HistoID
&
ID
);
135
//
136
static
std::string
toString
(
const
AIDA::IProfile2D* aida,
const
GaudiAlg::HistoID
&
ID
);
137
};
138
// ==========================================================================
147
class
GAUDI_API
PrintTuple
{
148
public
:
149
//
150
static
std::string
print(
const
INTuple
* tuple,
const
GaudiAlg::TupleID
&
ID
);
151
//
152
static
std::string
print(
const
INTuple
* tuple );
153
};
154
// ==========================================================================
163
class
GAUDI_API
PrintStat
{
164
public
:
165
static
std::string
print(
const
StatEntity
& stat,
const
std::string
& tag );
166
};
167
// ==========================================================================
168
}
// end of namespace GaudiAlg
169
170
// ============================================================================
171
// The END
172
// ============================================================================
173
#endif // GAUDIALG_PRINT_H
TupleID.h
AIDA
GaudiKernel.
Definition:
Fill.h:20
Write.stream
stream
Definition:
Write.py:32
GaudiPython.HistoUtils.location
location
Definition:
HistoUtils.py:965
std::string
STL class.
GaudiAlg
GaudiAlg::ID
Definition:
GaudiHistoID.h:53
GaudiAlg::Print2DProf
Definition:
Print.h:131
StatEntity
backward compatible StatEntity class.
Definition:
StatEntity.h:23
GaudiAlg::Print1D
Definition:
Print.h:72
GaudiAlg::Print2D
Definition:
Print.h:86
GaudiAlg::Print3D
Definition:
Print.h:101
GaudiAlg::PrintTuple
Definition:
Print.h:147
GaudiAlg::Print
Definition:
Print.h:60
INTuple
Definition:
INTuple.h:91
MsgStream
Definition:
MsgStream.h:34
Gaudi::Utils::toString
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
Definition:
ToStream.h:353
HistoID.h
GaudiAlg::Print1DProf
Definition:
Print.h:116
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
MsgStream.h
GaudiAlg::PrintStat
Definition:
Print.h:163
GaudiAlg
include
GaudiAlg
Print.h
Generated on Fri Feb 3 2023 18:02:51 for The Gaudi Framework by
1.8.18