1 #ifndef L1GlobalTrigger_L1GtfeExtWord_h 2 #define L1GlobalTrigger_L1GtfeExtWord_h 52 const std::vector<cms_uint16_t>& bstValue,
69 inline const std::vector<cms_uint16_t>&
bst()
const {
130 const unsigned int getSize()
const;
135 void resize(
int bstSizeBytes);
138 void reset()
override;
141 void print(std::ostream& myCout)
const override;
145 void unpack(
const unsigned char* gtfePtr)
override;
static const int BstMasterStatusLastBlock
void setBstSource(const cms_uint16_t bstSourceVal)
static const int TotalIntensityBeam1FirstBlock
static const int ParticleTypeBeam1FirstBlock
static const int GpsTimeLastBlock
const cms_uint16_t bstSource() const
get/set hex message indicating the source of BST message
static const cms_uint64_t BstBlockMask
static const int ParticleTypeBeam2LastBlock
static const int TotalIntensityBeam1LastBlock
void print(std::ostream &myCout) const override
pretty print the content of a L1GtfeExtWord
const cms_uint64_t gpsTime() const
LHC-BOB-ES-0001 (EDMS 638899)
void setBst(const cms_uint16_t bstVal, const int iB)
static const int TurnCountNumberLastBlock
L1GtfeExtWord()
constructors
const unsigned int bstLengthBytes() const
get the size of the BST block
static const int ParticleTypeBeam1LastBlock
bool operator==(const L1GtfeExtWord &) const
equal operator
static const int TotalIntensityBeam2LastBlock
const cms_uint16_t bstMasterStatus() const
void setBstWord64(cms_uint64_t &word64, int iB, const int iWord)
const unsigned int getSize() const
get the size of the GTFE block in GT EVM record (in multiple of 8 bits)
const cms_uint16_t beamMomentum() const
const std::vector< cms_uint16_t > & bst() const
get the full BST block
static const int ParticleTypeBeam2FirstBlock
bool operator!=(const L1GtfeExtWord &) const
unequal operator
static const int BeamMomentumFirstBlock
static const cms_uint64_t BstSourceMask
static const int GpsTimeFirstBlock
BST blocks: conversion to defined quantities (LHC-BOB-ES-0001)
unsigned short cms_uint16_t
static const int TurnCountNumberFirstBlock
static const int BstFirstWord
block description in the raw GT record
unsigned int cms_uint32_t
static const int TotalIntensityBeam2FirstBlock
void setBstSourceWord64(cms_uint64_t &word64, const int iWord)
const cms_uint32_t totalIntensityBeam2() const
const cms_uint32_t totalIntensityBeam1() const
void resize(int bstSizeBytes)
resize the BST vector to get the right size of the block
static const int BstSourceShift
const cms_uint32_t lhcFillNumber() const
std::vector< cms_uint16_t > m_bst
BST message - each byte is an vector element.
~L1GtfeExtWord() override
destructor
static const int BeamModeLastBlock
void setGpsTime(const cms_uint64_t)
cms_uint16_t m_bstSource
hex message indicating the source of BST message (beam or simulated)
const cms_uint16_t particleTypeBeam2() const
static const int BstBitSize
size in bits for a BST block
static const int BstMasterStatusFirstBlock
static const int LhcFillNumberLastBlock
unsigned long long cms_uint64_t
const cms_uint32_t turnCountNumber() const
static const int BeamMomentumLastBlock
void reset() override
reset the content of a L1GtfeExtWord
const cms_uint16_t beamMode() const
static const int BeamModeFirstBlock
void unpack(const unsigned char *gtfePtr) override
const cms_uint16_t particleTypeBeam1() const
static const int LhcFillNumberFirstBlock