1 #ifndef L1GCTINTERNHTMISS_H 2 #define L1GCTINTERNHTMISS_H 80 int16_t
bx()
const {
return bx_; }
136 const uint32_t
data);
bool overflow() const
Get overflow.
static L1GctInternHtMiss emulatorMissHty(const int hty, const bool overFlow, const int16_t bx)
Named ctor for making missing Ht y component object from emulator.
int16_t convert14BitTwosCompTo16Bit(const uint16_t data) const
Converts 14-bit two's complement numbers to 16-bit two's complement (i.e. an int16_t) ...
~L1GctInternHtMiss()
destructor
uint32_t data_
The captured raw data.
L1GctInternHtMissType
Enum for the variants of Internal HtMiss.
static L1GctInternHtMiss unpackerMissHtxHty(const uint16_t capBlock, const uint16_t capIndex, const int16_t bx, const uint32_t data)
Named ctor for making missing Ht x & y components object from unpacker raw data (wheel input)...
int16_t hty() const
Get Ht y-component.
static L1GctInternHtMiss unpackerMissHty(const uint16_t capBlock, const uint16_t capIndex, const int16_t bx, const uint32_t data)
Named ctor for making missing Ht y-component object from unpacker raw data.
L1GctInternHtMissType type_
'Type' of the data
bool operator==(const L1GctInternHtMiss &rhs) const
Equality operator.
static L1GctInternHtMiss emulatorJetMissHt(const int htx, const int hty, const bool overFlow, const int16_t bx)
Named ctor for making missing Ht x & y components object from emulator (jetFinder output)...
L1GctInternHtMiss::L1GctInternHtMissType type() const
'type' of object?
bool isThereHtx() const
Is there a valid Ht x-component stored?
static L1GctInternHtMiss emulatorMissHtx(const int htx, const bool overFlow, const int16_t bx)
Named ctor for making missing Ht x component object from emulator.
uint16_t capBlock() const
Get capture block.
static L1GctInternHtMiss emulatorMissHtxHty(const int htx, const int hty, const bool overFlow, const int16_t bx)
Named ctor for making missing Ht x & y components object from emulator (wheel input).
L1 GCT internal Ht Miss component(s) Ht_x and/or Ht_y.
uint32_t raw() const
Get the raw data.
int16_t bx() const
Get BX number.
bool operator!=(const L1GctInternHtMiss &rhs) const
Inequality operator.
bool isThereHty() const
Is there a valid Ht y-component stored?
int16_t htx() const
Get Ht x-component value.
char data[epos_bytes_allocation]
static L1GctInternHtMiss unpackerMissHtx(const uint16_t capBlock, const uint16_t capIndex, const int16_t bx, const uint32_t data)
Named ctor for making missing Ht x-component object from unpacker raw data.
ShiftsAndMasks
Useful bit masks and bit shifts.
uint16_t capIndex() const
Get index within capture block.
L1GctInternHtMiss()
default constructor (for vector initialisation etc.)
std::ostream & operator<<(std::ostream &os, const L1GctInternHtMiss &rhs)