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;
static const int BstMasterStatusLastBlock
const cms_uint16_t beamMode() const
void setBstSource(const cms_uint16_t bstSourceVal)
static const int TotalIntensityBeam1FirstBlock
static const int ParticleTypeBeam1FirstBlock
static const int GpsTimeLastBlock
static const cms_uint64_t BstBlockMask
static const int ParticleTypeBeam2LastBlock
static const int TotalIntensityBeam1LastBlock
void setBst(const cms_uint16_t bstVal, const int iB)
bool operator==(const L1GtfeExtWord &) const
equal operator
static const int TurnCountNumberLastBlock
L1GtfeExtWord()
constructors
static const int ParticleTypeBeam1LastBlock
static const int TotalIntensityBeam2LastBlock
void setBstWord64(cms_uint64_t &word64, int iB, const int iWord)
const cms_uint16_t bstMasterStatus() const
static const int ParticleTypeBeam2FirstBlock
const cms_uint16_t particleTypeBeam1() const
const cms_uint32_t turnCountNumber() const
static const int BeamMomentumFirstBlock
const cms_uint32_t lhcFillNumber() const
bool operator!=(const L1GtfeExtWord &) const
unequal operator
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
void print(std::ostream &myCout) const override
pretty print the content of a L1GtfeExtWord
static const int TurnCountNumberFirstBlock
static const int BstFirstWord
block description in the raw GT record
unsigned int cms_uint32_t
const std::vector< cms_uint16_t > & bst() const
get the full BST block
static const int TotalIntensityBeam2FirstBlock
void setBstSourceWord64(cms_uint64_t &word64, const int iWord)
const cms_uint16_t particleTypeBeam2() const
void resize(int bstSizeBytes)
resize the BST vector to get the right size of the block
static const int BstSourceShift
const cms_uint64_t gpsTime() const
LHC-BOB-ES-0001 (EDMS 638899)
std::vector< cms_uint16_t > m_bst
BST message - each byte is an vector element.
~L1GtfeExtWord() override
destructor
const cms_uint16_t beamMomentum() const
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_uint32_t totalIntensityBeam2() const
static const int BstBitSize
size in bits for a BST block
const unsigned int bstLengthBytes() const
get the size of the BST block
static const int BstMasterStatusFirstBlock
const unsigned int getSize() const
get the size of the GTFE block in GT EVM record (in multiple of 8 bits)
static const int LhcFillNumberLastBlock
unsigned long long cms_uint64_t
static const int BeamMomentumLastBlock
void reset() override
reset the content of a L1GtfeExtWord
const cms_uint16_t bstSource() const
get/set hex message indicating the source of BST message
static const int BeamModeFirstBlock
const cms_uint32_t totalIntensityBeam1() const
void unpack(const unsigned char *gtfePtr) override
static const int LhcFillNumberFirstBlock