5#ifndef AFP_RECORDREADOUT_H
6#define AFP_RECORDREADOUT_H
12#include "GaudiKernel/ToolHandle.h"
18 AFP_WordReadOut(
const std::string&
type,
const std::string& name,
const IInterface* parent);
22 virtual StatusCode
finalize()
override;
65 uint32_t
getBits(uint32_t the_word,
const uint16_t start,
const uint16_t stop)
const override;
77 ToolHandle<AFP_LinkNumTranslator>
m_linkNumTrans {
this,
"AFP_LinkNumTranslator",
"AFP_LinkNumTranslator",
"Tool that translates link numbers"};
ToolHandle< AFP_LinkNumTranslator > m_linkNumTrans
bool isService(uint32_t the_word) const override
Returns true if the word is marked as service word.
virtual StatusCode initialize() override
uint32_t link(uint32_t the_word) const override
Value of 5-8 most significant bits.
bool isData(uint32_t the_word) const override
Returns true if the word is marked as data word.
bool isHeader(uint32_t the_word) const override
Returns true if the word is marked as header word.
static constexpr uint16_t s_wordService
Service word is marked with four most significant bits set to 0000.
static constexpr uint16_t s_wordData
Data word is marked with two most significant bits set to 11.
virtual StatusCode finalize() override
static constexpr uint16_t s_wordHeader
Header word is marked with four most significant bits set to 0011.
AFP_WordReadOut(const std::string &type, const std::string &name, const IInterface *parent)
virtual ~AFP_WordReadOut() override
uint32_t getBits(uint32_t the_word, const uint16_t start, const uint16_t stop) const override
Returns integer value of the selcted bits.