Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Control
AthToolSupport
AsgMessaging
Root
MessagePrinterErrorCollect.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
9
//
10
// includes
11
//
12
13
#include <
AsgMessaging/MessagePrinterErrorCollect.h
>
14
15
#include <regex>
16
17
//
18
// method implementations
19
//
20
21
#ifdef XAOD_STANDALONE
22
23
namespace
asg
24
{
25
void
MessagePrinterErrorCollect ::
26
print
(
MSG::Level
reglvl,
const
std::string&
/*name*/
,
27
const
std::string&
text
)
28
{
29
if
(reglvl >= MSG::ERROR)
30
{
31
m_errorMessages.push_back (
text
);
32
}
33
}
34
35
36
37
bool
MessagePrinterErrorCollect ::
38
empty ()
const
noexcept
39
{
40
return
m_errorMessages.empty();
41
}
42
43
44
45
bool
MessagePrinterErrorCollect ::
46
matchesRegex
(
const
std::string&
pattern
)
const
47
{
48
std::regex
regex
(
pattern
);
49
for
(
auto
&
msg
: m_errorMessages)
50
{
51
if
(std::regex_search (
msg
,
regex
))
52
return
true
;
53
}
54
return
false
;
55
}
56
57
58
59
std::string MessagePrinterErrorCollect ::
60
asString (
const
std::string&
prefix
)
const
61
{
62
std::string
result
;
63
for
(
auto
&
msg
: m_errorMessages)
64
{
65
if
(!
result
.empty())
66
result
+=
"\n"
;
67
result
+=
prefix
+
msg
;
68
}
69
return
result
;
70
}
71
}
72
73
#endif
mergePhysValFiles.pattern
pattern
Definition:
DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:26
get_generator_info.result
result
Definition:
get_generator_info.py:21
asg
Definition:
DataHandleTestTool.h:28
const
bool const RAWDATA *ch2 const
Definition:
LArRodBlockPhysicsV0.cxx:560
PrepareReferenceFile.regex
regex
Definition:
PrepareReferenceFile.py:43
TrigConf::MSGTC::Level
Level
Definition:
Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
asg::detail::matchesRegex
bool matchesRegex(const std::string ®ex, const std::string &str)
return whether str matches regex
Definition:
Control/AthToolSupport/AsgTesting/Root/UnitTest.cxx:25
checkCorrelInHIST.prefix
dictionary prefix
Definition:
checkCorrelInHIST.py:391
MessagePrinterErrorCollect.h
print
void print(char *figname, TCanvas *c1)
Definition:
TRTCalib_StrawStatusPlots.cxx:25
makeTransCanvas.text
text
Definition:
makeTransCanvas.py:11
python.AutoConfigFlags.msg
msg
Definition:
AutoConfigFlags.py:7
Generated on Wed Mar 26 2025 21:14:47 for ATLAS Offline Software by
1.8.18