ATLAS Offline Software
ICommonTOB.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 "ICommonTOB.h"
6 
7 namespace GlobalSim::IOBitwise {
8  std::ostream& operator << (std::ostream& os,
9  const ICommonTOB& tob) {
10 
11  os << "Et: " << tob.et_bits()
12  << " Eta: " << tob.eta_bits()
13  << " Phi: " << tob.phi_bits();
14 
15  return os;
16  }
17 
18 }
ICommonTOB.h
GlobalSim::IOBitwise::ICommonTOB
Class to hold common (eta/eta/phi) TOB bits.
Definition: ICommonTOB.h:26
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
GlobalSim::IOBitwise
Definition: eEmMultAlgTool.h:17
GlobalSim::IOBitwise::ICommonTOB::eta_bits
virtual std::bitset< s_eta_width > eta_bits() const =0
Returns the eta bits of this TOB.
GlobalSim::IOBitwise::ICommonTOB::et_bits
virtual std::bitset< s_et_width > et_bits() const =0
Returns the eT bits of this TOB.
GlobalSim::IOBitwise::operator<<
std::ostream & operator<<(std::ostream &os, const ICommonTOB &tob)
Output stream operator.
Definition: ICommonTOB.cxx:8
GlobalSim::IOBitwise::ICommonTOB::phi_bits
virtual std::bitset< s_phi_width > phi_bits() const =0
Returns the phi bits of this TOB.