12#ifndef ALICEO2_EMCAL_FEEDCS_H_
13#define ALICEO2_EMCAL_FEEDCS_H_
56 unsigned int getSRUconfig(
int ism = 0)
const {
return mSRUcfg.at(ism); }
57 int getNSRUbuffers(
int ism = 0)
const {
return (mSRUcfg.at(ism) >> 1 & 0x7); }
66 void setSRUconfig(
int ism,
unsigned int ver) { mSRUcfg.at(ism) = ver; }
69 bool isDDLactive(
int iDDL) {
return (iDDL < 32 ? mLinks0.test(iDDL) : mLinks1.test(iDDL - 32)); }
77 std::bitset<32> mLinks0;
78 std::bitset<14> mLinks1;
79 std::array<unsigned int, 20> mSRUFWversion;
80 std::array<unsigned int, 20> mSRUcfg;
85std::ostream&
operator<<(std::ostream& in,
const FeeDCS& dcs);
o2::emcal::TriggerTRUDCS getTRUDCS(Int_t iTRU) const
~FeeDCS()=default
Destructor.
void setSTUEMCal(o2::emcal::TriggerSTUDCS stu)
void setSRUconfig(int ism, unsigned int ver)
std::bitset< 14 > getDDLlist1() const
int getNSRUbuffers(int ism=0) const
void setSRUFWversion(int ism, unsigned int ver)
unsigned int getSRUFWversion(int ism=0) const
bool operator==(const FeeDCS &other) const
FeeDCS & operator=(const FeeDCS &source)=default
Assignment operator.
bool isDDLactive(int iDDL)
void setDDLlist0(unsigned int a)
o2::emcal::TriggerSTUDCS getSTUDCSDCal() const
void setTRUDCS(Int_t iTRU, o2::emcal::TriggerTRUDCS tru)
o2::emcal::TriggerSTUDCS getSTUDCSEMCal() const
FeeDCS(const FeeDCS &fee)=default
copy constructor
std::bitset< 32 > getDDLlist0() const
void setSTUDCal(o2::emcal::TriggerSTUDCS stu)
FeeDCS()=default
default constructor
o2::emcal::TriggerDCS getTriggerDCS() const
unsigned int getSRUconfig(int ism=0) const
void setRunNumber(int rn)
void setDDLlist1(unsigned int a)
CCDB container for the DCS data in EMCAL.
void setTRU(Int_t iTRU, TriggerTRUDCS a)
TriggerSTUDCS getSTUDCSEMCal() const
void setSTUEMCal(TriggerSTUDCS so)
TriggerSTUDCS getSTUDCSDCal() const
void setSTUDCal(TriggerSTUDCS so)
TriggerTRUDCS getTRUDCS(Int_t iTRU) const
CCDB container for STU DCS data in EMCAL.
CCDB container for TRU DCS data in EMCAL.
GLsizei GLsizei GLchar * source
GLboolean GLboolean GLboolean GLboolean a
std::ostream & operator<<(std::ostream &stream, const Cell &cell)
Stream operator for EMCAL cell.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
VectorOfTObjectPtrs other