8 : type_(null), capBlock_(capBlock), capIndex_(capIndex), bx_(
bx), data_(0) {
17 const uint16_t capIndex,
19 const uint32_t
data) {
31 const uint16_t capIndex,
33 const uint32_t
data) {
46 const uint16_t capIndex,
48 const uint32_t
data) {
60 const uint16_t capIndex,
62 const uint32_t
data) {
74 const uint16_t capIndex,
76 const uint32_t
data) {
162 s <<
"L1GctInternEtSum : ";
165 s <<
" type=jet_miss_et";
167 s <<
" type=jet_tot_et";
169 s <<
" type=jet_tot_ht";
171 s <<
" type=total_et_or_ht";
173 s <<
" type=miss_etx_or_ety";
179 s <<
" mag=" <<
c.et();
181 s <<
" overflow set";
185 s <<
" cap block=" << std::hex <<
c.capBlock();
187 s <<
" BX=" <<
c.bx();
static L1GctInternEtSum fromMissEtxOrEty(uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data)
L1 GCT internal energy sum.
uint8_t oflow() const
get oflow
static L1GctInternEtSum fromEmulatorJetTotEt(unsigned totEt, bool overFlow, int16_t bx)
Emulator constructors.
void setOflow(uint8_t oflow)
set overflow bit
uint16_t capIndex() const
get index within capture block
uint32_t count() const
get count
static L1GctInternEtSum fromTotalEtOrHt(uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data)
~L1GctInternEtSum()
destructor
static L1GctInternEtSum fromEmulatorJetTotHt(unsigned totHt, bool overFlow, int16_t bx)
static L1GctInternEtSum fromEmulatorMissEtxOrEty(int missEtxOrEty, bool overFlow, int16_t bx)
bool operator==(const L1GctInternEtSum &c) const
operators
static L1GctInternEtSum fromJetMissEt(uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data)
static L1GctInternEtSum fromEmulatorTotalEtOrHt(unsigned totEtOrHt, bool overFlow, int16_t bx)
void setCount(uint32_t count)
set count
int16_t bx() const
get BX number
void setEt(uint32_t et)
set Et sum
uint32_t et() const
get et
void setValue(uint32_t val)
set value
char data[epos_bytes_allocation]
std::ostream & operator<<(std::ostream &s, const L1GctInternEtSum &c)
Pretty-print operator for L1GctInternEtSum.
static L1GctInternEtSum fromEmulatorJetMissEt(int missEtxOrEty, bool overFlow, int16_t bx)
L1GctInternEtSum()
default constructor (for vector initialisation etc.)
uint16_t capBlock() const
get capture block
static L1GctInternEtSum fromJetTotEt(uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data)
static L1GctInternEtSum fromJetTotHt(uint16_t capBlock, uint16_t capIndex, int16_t bx, uint32_t data)