Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Namespaces | Functions
GenericTob.cxx File Reference
#include "GenericTob.h"
#include "AlgoDataTypes.h"
#include "binStrToHexStr.h"
#include <sstream>
Include dependency graph for GenericTob.cxx:

Go to the source code of this file.

Namespaces

 GlobalSim
 AlgTool to obtain a selection of eFex RoIs read in from the event store.
 

Functions

std::bitset< 9 > GlobalSim::genEtaFromTobEta (const std::bitset< 8 > &in_eta)
 
std::ostream & operator<< (std::ostream &os, const GlobalSim::GenericTob &tob)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const GlobalSim::GenericTob tob 
)

Definition at line 142 of file GenericTob.cxx.

142  {
143 
144  os << "GlobalSim::GenericTob\n"
145  << "Et: " << tob.Et_bits() << ' '
146  << "0x" << GlobalSim::binStrToHexStr(tob.Et_bits().to_string()) << '\n'
147  << "Eta: " << tob.Eta_bits() << ' '
148  << "0x" << GlobalSim::binStrToHexStr(tob.Eta_bits().to_string()) << '\n'
149  << "Phi: " << tob.Phi_bits() << ' '
150  << "0x" << GlobalSim::binStrToHexStr(tob.Phi_bits().to_string()) << '\n'
151  << "Charge: " << tob.Charge_bits() << ' '
152  << "0x" << GlobalSim::binStrToHexStr(tob.Charge_bits().to_string()) << '\n'
153  << "overflow: " << tob.overflow_bits() << ' '
154  << "0x" << GlobalSim::binStrToHexStr(tob.overflow_bits().to_string()) << '\n'
155  << "bits: " << tob.as_bits() << ' '
156  << "0x" << GlobalSim::binStrToHexStr(tob.as_bits().to_string()) << '\n';
157  return os;
158 }
GlobalSim::GenericTob::Et_bits
const std::bitset< 13 > & Et_bits() const
Definition: GenericTob.h:47
GlobalSim::GenericTob::Phi_bits
const std::bitset< 7 > & Phi_bits() const
Definition: GenericTob.h:49
GlobalSim::GenericTob::overflow_bits
const std::bitset< 1 > & overflow_bits() const
Definition: GenericTob.h:51
GlobalSim::binStrToHexStr
std::string binStrToHexStr(std::string s)
Definition: binStrToHexStr.h:37
GlobalSim::GenericTob::Charge_bits
const std::bitset< 2 > & Charge_bits() const
Definition: GenericTob.h:50
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
GlobalSim::GenericTob::as_bits
std::bitset< 32 > as_bits() const
Definition: GenericTob.cxx:95
GlobalSim::GenericTob::Eta_bits
const std::bitset< 9 > & Eta_bits() const
Definition: GenericTob.h:48