|
ATLAS Offline Software
|
Go to the documentation of this file.
25 for(
unsigned int i = 0;
i < 32; ++
i){
43 const std::set<TileBchPrbs::Prb>&
prbs =
status.getPrbs();
44 for(std::set<TileBchPrbs::Prb>::const_iterator iPrb =
prbs.begin();
45 iPrb!=
prbs.end(); ++iPrb)
47 std::map<TileBchPrbs::Prb,std::pair<unsigned int,unsigned int> >::const_iterator
53 words[iMap->second.first] |= (1 << iMap->second.second);
149 for(
unsigned int i = 0;
i < 32; ++
i){
160 for(
unsigned int i = 0;
i < 32; ++
i){
176 stm <<
"Current bit to problem assignment" << std::endl;
177 stm <<
"---------------------------------" << std::endl;
178 stm <<
"Channel:" << std::endl;
179 for(
unsigned int i = 0;
i < 32; ++
i){
182 stm <<
"bit "<<
i<<
"\t:\t" <<
desc << std::endl;
184 stm <<
"Adc:" << std::endl;
185 for(
unsigned int i = 0;
i < 32; ++
i){
188 stm <<
"bit "<<
i<<
"\t:\t" <<
desc << std::endl;
TileBchStatus decode(uint32_t status_channel, uint32_t status_adc=0) const
Decode the status word.
void initPrbToBit()
Initializes the problem to bit map.
std::vector< TileBchPrbs::Prb > m_bitToPrbAdc
Bit to problem association for the ADC word.
TileBchDecoder(BitPatVer bitPatVer)
Ctor.
@ OnlineTimingDmuBcOffsetNeg
Class holding bad channel problems.
TileBchWords encode(const TileBchStatus &status) const
Encode an ADC status into channel and adc status word bits.
std::map< TileBchPrbs::Prb, std::pair< unsigned int, unsigned int > > m_prbToBit
Problem to status word and bit association.
Thrown by TileBchBits if unkown problem is detected.
void printBitAssignment() const
Print status bits and their assigned problem.
std::vector< TileBchPrbs::Prb > m_bitToPrbChn
Bit to problem association for the channel word.
@ OnlineTimingDmuBcOffsetPos
void init_BitPat_onl01()
Initializes bit pattern version "ofl01".
void init_BitPat_ofl01()
Initializes bit pattern version "ofl01".
Thrown by TileBchBits if invalid bit pattern is detected.
static std::string getDescription(const Prb &prb)
Get description of problem.