12#ifndef GLOBALSIM_ICOMMONTOB_H
13#define GLOBALSIM_ICOMMONTOB_H
46 "Overflow or UB detected!");
49 virtual std::bitset<s_et_width>
et_bits()
const = 0;
51 virtual std::bitset<s_eta_width>
eta_bits()
const = 0;
53 virtual std::bitset<s_phi_width>
phi_bits()
const = 0;
55 virtual std::string
to_string()
const = 0;
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
std::ostream & operator<<(std::ostream &, const GlobalSim::IOBitwise::ICommonTOB &)
Class to hold common (eta/eta/phi) TOB bits.
virtual std::bitset< s_et_width > et_bits() const =0
Returns the eT bits of this TOB.
virtual std::string to_string() const =0
print out contents to string
static constexpr std::size_t s_eta_width
Size of the eta bitset.
static constexpr ulong max_et
static constexpr std::size_t s_phi_width
Size of the phi bitset.
virtual ~ICommonTOB()
Destructor.
static constexpr std::size_t s_et_width
Size of the eT bitset.
static constexpr std::size_t s_eFex_granularity
virtual std::bitset< s_eta_width > eta_bits() const =0
Returns the eta bits of this TOB.
virtual std::bitset< s_phi_width > phi_bits() const =0
Returns the phi bits of this TOB.
std::vector< std::shared_ptr< ICommonTOB > > ICommonTOBContainer
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...