ATLAS Offline Software
IeEmEg1eRatioTOB.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 "IeEmEg1eRatioTOB.h"
6 
7 #include <sstream>
8 
9 namespace GlobalSim::IOBitwise{
10  std::string IeEmEg1eRatioTOB::to_string() const {
11  std::stringstream ss;
12 
13  ss << '\n'
15  << " eGamma1 eRatio result " << eGamma1eRatio_bits() << " (" << eGamma1eRatio_bits().to_ulong() << ")";
16  return ss.str();
17  }
18 }
19 
20 std::ostream& operator<<(std::ostream& os, const GlobalSim::IOBitwise::IeEmEg1eRatioTOB& tob) {
21  os << tob.to_string();
22  return os;
23 }
GlobalSim::IOBitwise::IeEmEg1eRatioTOB
Class to hold eGamma1 eRatio result bits.
Definition: IeEmEg1eRatioTOB.h:26
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
IeEmEg1eRatioTOB.h
GlobalSim::IOBitwise::IeEmEg1eRatioTOB::eGamma1eRatio_bits
virtual std::bitset< s_eGamma1eRatio_width > eGamma1eRatio_bits() const =0
Returns the eGamma1 eRatio result 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::to_string
virtual std::string to_string() const =0
print out contents to string
Definition: IeEmTOB.cxx:10
GlobalSim::IOBitwise::IeEmEg1eRatioTOB::to_string
virtual std::string to_string() const =0
print out contents to string
Definition: IeEmEg1eRatioTOB.cxx:10