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