ATLAS Offline Software
Trigger
TrigT1
L1Topo
L1TopoRDO
src
Error.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
L1TopoRDO/Error.h
"
6
7
namespace
L1Topo
{
8
std::ostream&
operator<<
(std::ostream&
os
,
const
Error
e
){
9
std::string
text
=
"Unknown Error"
;
10
auto
it
= errorText.find(
e
);
11
if
(
it
!= errorText.end()){
12
text
=
it
->second;
13
}
14
os
<<
text
;
15
return
os
;
16
}
17
18
std::ostream&
operator<<
(std::ostream&
os
,
const
std::vector<Error>&
v
){
19
os
<<
"["
;
20
std::string
prefix
=
""
;
21
for
(
auto
e
:
v
){
22
os
<<
prefix
<<
e
;
23
prefix
=
", "
;
24
}
25
os
<<
"]"
;
26
return
os
;
27
}
28
29
}
// namespace L1Topo
AllowedVariables::e
e
Definition:
AsgElectronSelectorTool.cxx:37
L1Topo::operator<<
std::ostream & operator<<(std::ostream &, const Error)
Helper to print errors as text rather than numbers.
Definition:
Error.cxx:8
skel.it
it
Definition:
skel.GENtoEVGEN.py:396
checkCorrelInHIST.prefix
dictionary prefix
Definition:
checkCorrelInHIST.py:391
Error.h
ReadFromCoolCompare.os
os
Definition:
ReadFromCoolCompare.py:231
python.PyAthena.v
v
Definition:
PyAthena.py:154
makeTransCanvas.text
text
Definition:
makeTransCanvas.py:11
L1Topo::Error
Error
The different types of error that can be flagged in the L1TopoRDO.
Definition:
Error.h:16
L1Topo
Definition:
BlockTypes.h:11
Generated on Thu Nov 7 2024 21:14:49 for ATLAS Offline Software by
1.8.18