ATLAS Offline Software
Loading...
Searching...
No Matches
PU1SuppPortsIn.cxx File Reference
#include "PU1SuppPortsIn.h"
#include <iomanip>
#include <sstream>
#include <ostream>
Include dependency graph for PU1SuppPortsIn.cxx:

Go to the source code of this file.

Namespaces

namespace  GlobalSim
 AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench correspond to those produced by eEmMultAlgTool.

Functions

std::ostream & operator<< (std::ostream &os, const GlobalSim::PU1SuppPortsIn &ports_in)
 Output stream operator for easy logging/debug printing.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const GlobalSim::PU1SuppPortsIn & ports_in )

Output stream operator for easy logging/debug printing.

Definition at line 14 of file PU1SuppPortsIn.cxx.

15 {
16 std::ios_base::fmtflags original_flags = os.flags();
17 char original_fill = os.fill();
18
19 os << "PU1 TOB: ";
20 for (int i = 0; i < 4; ++i) {
21 os << std::hex << std::setw(16) << std::setfill('0')
22 << ports_in.m_I_PU1TobData[i];
23 }
24 os << " (rho: " << ports_in.m_rho << ")";
25
26 os.flags(original_flags);
27 os.fill(original_fill);
28
29 return os;
30}
uint16_t m_rho
Rho value as a 16-bit initialized unsigned integer.
std::array< uint64_t, 4 > m_I_PU1TobData
256-bit TOB stored as four 64-bit unsigned integers