Go to the documentation of this file. 1 #ifndef L1GCTINTERNHFDATA_H
2 #define L1GCTINTERNHFDATA_H
65 int16_t
bx()
const {
return bx_; }
79 uint16_t
value(
unsigned i)
const;
82 uint16_t
et(
unsigned i)
const;
85 uint16_t
count(
unsigned i)
const;
105 void setEt(
unsigned const i, uint16_t
const et);
L1GctInternHFData::L1GctInternHFDataType type() const
metadata
void setValue(unsigned const i, uint16_t const val)
set value
bool isRingSums() const
get the actual data
bool empty() const
is the sum non-zero
static L1GctInternHFData fromConcBitCounts(const uint16_t capBlock, const uint16_t capIndex, const int16_t bx, const uint32_t data)
void setCapBlock(uint16_t const capBlock)
set cap block
uint16_t capIndex() const
get index within capture block
L1GctInternHFDataType
et sum type - not clear this is required
uint16_t count(unsigned i) const
get the counts
bool operator!=(const L1GctInternHFData &c) const
inequality operator
void setCount(unsigned const i, uint16_t const count)
set the count
std::ostream & operator<<(std::ostream &s, const L1GctInternHFData &cand)
uint16_t et(unsigned i) const
get the et sums
static L1GctInternHFData fromConcRingSums(const uint16_t capBlock, const uint16_t capIndex, const int16_t bx, const uint32_t data)
bool operator==(const L1GctInternHFData &c) const
operators
uint16_t value(unsigned i) const
get value
void setBx(int16_t const bx)
set bx
static L1GctInternHFData fromWheelRingSums(const uint16_t capBlock, const uint16_t capIndex, const int16_t bx, const uint32_t data)
void setData(uint32_t const data)
uint16_t capBlock() const
get capture block
void setType(L1GctInternHFDataType type)
set type
L1 GCT internal ring sums and/or bit counts.
~L1GctInternHFData()
destructor
void setEt(unsigned const i, uint16_t const et)
set the sum
static L1GctInternHFData fromWheelBitCounts(const uint16_t capBlock, const uint16_t capIndex, const int16_t bx, const uint32_t data)
int16_t bx() const
get BX number
char data[epos_bytes_allocation]
void setCapIndex(uint16_t const capIndex)
set cap index
L1GctInternHFData()
default constructor (for vector initialisation etc.)
L1GctInternHFDataType type_
uint32_t raw() const
get the raw data