|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include "CaloDetDescr/CaloDetDescrElement.h"
19 #include "GaudiKernel/EventContext.h"
70 return StatusCode::SUCCESS;
78 return StatusCode::SUCCESS;
113 if (channel1_status.
isBad() && channel2_status.
isBad()) {
137 const EventContext& ctx{Gaudi::Hive::currentContext()};
189 const EventContext& ctx{Gaudi::Hive::currentContext()};
211 const EventContext& ctx{Gaudi::Hive::currentContext()};
233 const EventContext& ctx{Gaudi::Hive::currentContext()};
249 if (!tripsProbs.empty()) {
250 return tripsProbs.at(
ros - 1);
258 const EventContext& ctx{Gaudi::Hive::currentContext()};
269 return std::binary_search (maskedDrawers.begin(),
276 const EventContext& ctx{Gaudi::Hive::currentContext()};
def retrieve(aClass, aKey=None)
IdentifierHash onl2() const
cell online identifier 2
const std::vector< std::vector< float > > & getTripsProbabilities(void) const
Return trips probabilities for all Tile drawers.
static unsigned int getMaxDrawer(unsigned int ros)
Returns the maximal channel number for a given drawer.
static const unsigned int MAX_DRAWERIDX
Maximal drawer index
Static class providing several utility functions and constants.
const std::vector< int > & getMaskedDrawers(void) const
Return Tile drawers masked completely.
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
Class holding bad channel problems.
IdentifierHash onl1() const
cell online identifier 1
::StatusCode StatusCode
StatusCode definition for legacy code.
static uint32_t encodeStatus(const TileBchStatus &status)
std::pair< std::vector< unsigned int >, bool > res
static const unsigned int MAX_ROS
Number of ROSs
CaloDetDescrElement * get_cell_element(unsigned int cell_hash) const
const TileBchStatus & getChannelStatus(const HWIdentifier channel_id) const
Return Tile channel status.
HWIdentifier channel_id(int ros, int drawer, int channel) const
channel HWIdentifer
Helpers for checking error return status codes and reporting errors.
StatusCode initialize(bool used=true)
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".
const TileBchStatus & getAdcStatus(const HWIdentifier adc_id) const
Return Tile ADC status.
HWIdentifier adc_id(int ros, int drawer, int channel, int adc) const
adc HWIdentifer
static unsigned int getDrawerIdx(unsigned int ros, unsigned int drawer)
Returns a drawer hash.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...