ATLAS Offline Software
IeEmTOB.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "IeEmTOB.h"
6 
7 #include <sstream>
8 
9 namespace GlobalSim::IOBitwise{
10  std::string IeEmTOB::to_string() const {
11  std::stringstream ss;
12 
13  ss << '\n'
15  << " RHad " << RHad_bits() << " (" << RHad_bits().to_ulong() << ")"
16  << " REta " << REta_bits() << " (" << REta_bits().to_ulong() << ")"
17  << " WsTot " << WsTot_bits() << " (" << WsTot_bits().to_ulong() << ")";
18  return ss.str();
19  }
20 }
21 
22 std::ostream& operator<<(std::ostream& os, const GlobalSim::IOBitwise::IeEmTOB& tob) {
23  os << tob.to_string();
24  return os;
25 }
GlobalSim::IOBitwise::ICommonTOB::to_string
virtual std::string to_string() const =0
print out contents to string
Definition: ICommonTOB.cxx:11
GlobalSim::IOBitwise::IeEmTOB::RHad_bits
virtual const std::bitset< s_RHad_width > & RHad_bits() const =0
Returns the eFexRoI Rhad threshold bits.
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
GlobalSim::IOBitwise::IeEmTOB::WsTot_bits
virtual const std::bitset< s_WsTot_width > & WsTot_bits() const =0
Returns the eFexRoI Wstot threshold bits.
GlobalSim::operator<<
std::ostream & operator<<(std::ostream &os, const TestCounts &tc)
Definition: eEmSortSelectCountContainerComparator.cxx:47
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
GlobalSim::IOBitwise
Definition: eEmMultAlgTool.h:19
GlobalSim::IOBitwise::IeEmTOB::REta_bits
virtual const std::bitset< s_REta_width > & REta_bits() const =0
Returns the eFexRoI REta threshold bits.
GlobalSim::IOBitwise::IeEmTOB::to_string
virtual std::string to_string() const =0
print out contents to string
Definition: IeEmTOB.cxx:10
GlobalSim::IOBitwise::IeEmTOB
Class to hold eFexROI TOB bits.
Definition: IeEmTOB.h:29
IeEmTOB.h