ATLAS Offline Software
Error.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef L1TOPORDO_ERROR_H
6 #define L1TOPORDO_ERROR_H
7 
8 #include <iostream>
9 #include <sstream>
10 #include <map>
11 #include <vector>
12 
13 namespace L1Topo {
14 
18  static const std::map<Error, std::string> errorText = {
19  {Error::ROB_ERROR,"ROB Error"},
20  {Error::ROD_ERROR,"ROD Error"},
21  {Error::SLINK_STATUS_ERROR,"S-Link Status Error"}
22  };
23 
25  std::ostream& operator<<(std::ostream&, const Error);
26 
28  std::ostream& operator<<(std::ostream&, const std::vector<Error>&);
29 
30 } // namespace L1Topo
31 
32 
33 #endif // L1TOPORDO_ERROR_H
L1Topo::operator<<
std::ostream & operator<<(std::ostream &, const Error)
Helper to print errors as text rather than numbers.
Definition: Error.cxx:8
L1Topo::Error::ROD_ERROR
@ ROD_ERROR
L1Topo::Error::SLINK_STATUS_ERROR
@ SLINK_STATUS_ERROR
L1Topo::Error::ROB_ERROR
@ ROB_ERROR
L1Topo::Error
Error
The different types of error that can be flagged in the L1TopoRDO.
Definition: Error.h:16
L1Topo
Definition: BlockTypes.h:11