Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ZDC_LUCRODDATA_H
6 #define ZDC_LUCRODDATA_H
53 bool AddChanData(
unsigned int id,
const std::vector<uint16_t>& waveform) {
62 if (waveform.size() !=
m_numBCs*8)
return false;
84 std::string
str()
const {
86 std::ostringstream
ost;
89 <<
" BCID: " << std::dec <<
m_bcid << std::endl
90 <<
" RunNumber: " << std::dec <<
m_runNumber << std::endl
91 <<
" Level1ID: 0x" << std::hex <<
m_level1ID << std::endl
92 <<
" NumBCs: " << std::dec <<
m_numBCs << std::endl
93 <<
" Status: " << std::dec <<
m_status << std::endl;
95 for (
unsigned int nch=0; nch<
m_chanData.size(); nch++)
98 std::vector<uint16_t> waveform =
m_chanData[nch].waveform;
112 for (
unsigned int nch=0; nch<
m_trigData.size(); nch++)
const std::vector< uint16_t > & GetTrigData() const
void SetTrigAvgA(uint16_t val)
void SetRunNumber(unsigned int val)
bool AddChanData(unsigned int id, const std::vector< uint16_t > &waveform)
void SetTrigAvgC(uint16_t val)
ZdcLucrodData(unsigned int id)
unsigned int GetChanDataSize() const
std::ostream & operator<<(std::ostream &os)
unsigned int GetTrigDataSize() const
void SetLevel1ID(unsigned int val)
std::vector< uint16_t > waveform
void AddTrigData(uint16_t val)
std::vector< ZdcLucrodChannel > m_chanData
unsigned int GetNumBCs() const
unsigned int GetLevel1ID() const
std::vector< uint16_t > m_trigData
const ZdcLucrodChannel & GetChanData(int it) const
void SetStatus(unsigned int val)
unsigned int GetBCID() const
unsigned int GetStatus() const
void SetNumBCs(unsigned int val)
uint16_t GetTrigAvgA() const
unsigned int GetRunNumber() const
void SetBCID(unsigned int val)
unsigned int GetLucrodID() const
uint16_t GetTrigAvgC() const
struct ZdcLucrodChannelType ZdcLucrodChannel