12#include "CaloDetDescr/CaloDetDescrElement.h"
19#include "GaudiKernel/EventContext.h"
28 : base_class(
type, name, parent)
70 return StatusCode::SUCCESS;
78 return StatusCode::SUCCESS;
113 if (channel1_status.
isBad() && channel2_status.
isBad()) {
128 return badChannels->getAdcStatus(adc_id);
141 return badChannels->getAdcStatus(adc_id);
157 return badChannels->getChannelStatus(channel_id);
170 return badChannels->getChannelStatus(channel_id);
182 return badChannels->getChannelStatus(channel_id);
194 return badChannels->getAdcStatus(adc_id);
208 const std::vector<std::vector<float>>& tripsProbs = badChannels->getTripsProbabilities();
210 if (!tripsProbs.empty()) {
211 return tripsProbs.at(ros - 1);
220 const std::vector<int>& maskedDrawers = badChannels->getMaskedDrawers();
222 return std::binary_search (maskedDrawers.begin(),
#define ATH_CHECK
Evaluate an expression and check for errors.
Helpers for checking error return status codes and reporting errors.
std::pair< std::vector< unsigned int >, bool > res
static void setBit(ProblemType pb, BitWord &word, bool value=true)
Sets the bit corresponding to "pb" inside the word passed as second argument to "value".
This class groups all DetDescr information related to a CaloCell.
This is a "hash" representation of an Identifier.
static uint32_t encodeStatus(const TileBchStatus &status)
Class holding bad channel problems.
Static class providing several utility functions and constants.
static const unsigned int MAX_DRAWERIDX
Maximal drawer index.
static const unsigned int MAX_ROS
Number of ROSs.
static unsigned int getDrawerIdx(unsigned int ros, unsigned int drawer)
Returns a drawer hash.
static unsigned int getMaxDrawer(unsigned int ros)
Returns the maximal channel number for a given drawer.