|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef TRIGT1RESULT_CTP_RDO_H
8 #define TRIGT1RESULT_CTP_RDO_H
18 #include "CTPfragment/CTPdataformatVersion.h"
34 CTP_RDO(
unsigned int ctpVersionNumber, std::vector<uint32_t>&&
data,
uint32_t nExtraWords=0);
84 const std::string
dump()
const;
86 const std::string
print(
const bool longFormat =
false)
const;
115 #endif // TRIGT1RESULT_CTP_RDO_H
void setNumberOfBunches(const uint32_t nBCs)
char data[hepevt_bytes_allocation_ATLAS]
std::vector< uint32_t > getEXTRAWords() const
unsigned int m_ctpVersionNumber
number of the CTP version to be used
uint32_t getTimeSinceLastL1A() const
void selectBunch(const uint32_t iBC)
CTPdataformatVersion m_ctpDataFormat
CTP data format for a specified version.
void setTIPWord(const unsigned int i, const uint32_t word)
static constexpr unsigned int SIZEOF_WORDS
number of bits in one data word (32)
void setWord(const unsigned int i, const uint32_t word)
unsigned int getCTPVersionNumber() const
CTP_RDO()=default
Default constructor needed for pool converters.
std::vector< uint32_t > getWords(WordType type) const
const std::vector< uint32_t > & getDataWords() const
void setTAVWord(const unsigned int i, const uint32_t word)
uint32_t getNumberOfBunches() const
std::vector< uint32_t > m_dataWords
raw data words
uint32_t getNumberOfAdditionalWords() const
uint32_t m_activeBunch
active bunch, for book keepting (transient)
void setTimeNanoSec(const uint32_t nano)
void setL1AcceptBunchPosition(const uint8_t)
uint32_t m_numberOfAdditionalWords
number of configurable extra words in the fragment
uint32_t m_turnCounter
turn counter
const std::string print(const bool longFormat=false) const
print object content in a human readable format to string
void setTurnCounter(const uint32_t)
uint32_t getL1AcceptBunchPosition() const
~CTP_RDO()
empty default destructor
std::vector< uint32_t > getTAVWords() const
uint32_t getTurnCounter() const
std::vector< uint32_t > getTBPWords() const
void setTAPWord(const unsigned int i, const uint32_t word)
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
void setTBPWord(const unsigned int i, const uint32_t word)
const CTPdataformatVersion & getCTPVersion() const
const std::string dump() const
dump raw object content to string
uint32_t m_numberOfBunches
number of bunches in raw data (transient)
uint8_t m_l1AcceptPosition
bunch position, from which the level1 accept was calculated
std::vector< uint32_t > getTIPWords() const
uint32_t getTimeNanoSec() const
macros to associate a CLID to a type
void setNumberOfAdditionalWords(const uint32_t nExtraWords)
void setTimeSec(const uint32_t sec)
void setCTPVersionNumber(unsigned int ctpVersion)
std::vector< uint32_t > getTAPWords() const
uint32_t getTimeSec() const