ATLAS Offline Software
Loading...
Searching...
No Matches
PU1SuppPortsIn.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#include "PU1SuppPortsIn.h"
5
6#include <iomanip>
7#include <sstream>
8#include <ostream>
9
10namespace GlobalSim {
11// Extra space for future developments if needed
12}
13
14std::ostream& operator<<(std::ostream& os,
15 const GlobalSim::PU1SuppPortsIn& ports_in) {
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}
std::ostream & operator<<(std::ostream &os, const GlobalSim::PU1SuppPortsIn &ports_in)
Output stream operator for easy logging/debug printing.
Defines the data structure for PU1 Suppression algorithm inputs.
AlgTool to read in LArStripNeighborhoods, and run the eRatio Algorithm.
Data structure representing a single PU1 suppression input.
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