ATLAS Offline Software
Loading...
Searching...
No Matches
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
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
22std::ostream& operator<<(std::ostream& os, const GlobalSim::IOBitwise::IeEmTOB& tob) {
23 os << tob.to_string();
24 return os;
25}
static Double_t ss
std::ostream & operator<<(std::ostream &lhs, const TestGaudiProperty &rhs)
virtual std::string to_string() const =0
print out contents to string
Class to hold eFexROI TOB bits.
Definition IeEmTOB.h:29
virtual const std::bitset< s_RHad_width > & RHad_bits() const =0
Returns the eFexRoI Rhad threshold bits.
virtual const std::bitset< s_WsTot_width > & WsTot_bits() const =0
Returns the eFexRoI Wstot threshold bits.
virtual std::string to_string() const =0
print out contents to string
Definition IeEmTOB.cxx:10
virtual const std::bitset< s_REta_width > & REta_bits() const =0
Returns the eFexRoI REta threshold bits.