 |
ATLAS Offline Software
|
Go to the documentation of this file.
20 #include "Identifier/Identifier.h"
27 #include "GaudiKernel/ThreadLocalContext.h"
69 return StatusCode::SUCCESS;
75 ATH_MSG_INFO (
" ---- Summary from LArBadFebMaskingTool ");
82 return StatusCode::SUCCESS;
86 const EventContext& ctx)
const
90 const std::map<unsigned int,uint16_t>* febMap = &
m_dummyFebMap;
94 if (!larFebErrorSummary.
isValid()) {
96 return StatusCode::SUCCESS;
128 bool toMask1 =
false;
129 bool inError =
false;
132 unsigned int ifeb = febId.get_identifier32().get_compact();
135 std::map<unsigned int,uint16_t>::const_iterator it1 = febMap->find(ifeb);
136 if (it1 != febMap->end()) {
139 ATH_MSG_DEBUG (
" ierror,toMask " << ierror <<
" " << toMask1 <<
" ");
146 if (toMask1 || inError) {
149 for (
int ch=0;
ch<nChanPerFeb; ++
ch) {
151 if (
cabling->isOnlineConnected(hwid)) {
178 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
const std::map< unsigned int, uint16_t > & get_all_febs() const
get all febs with error
IdentifierHash calo_cell_hash(const Identifier cellId) const
create hash id from 'global' cell id
virtual void setTime(float time)
set time
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
bool updateEventFlagBit(const EventFlagSubDet subDet, const size_t bit) const
Change detector flags with update semantics.
value_type get_compact() const
Get the compact id.
const std::string & key() const
Return the StoreGate ID for the referenced object.
uint16_t provenance() const
get provenance (data member)
virtual void setEnergy(float energy)
set energy
@ LAr
The LAr calorimeter.
LArBC_t status(const HWIdentifier channel) const
Query the status of a particular channel or FEB This is the main client access method.
@ Error
The sub-detector issued an error.
id_range feb_range() const
void setQuality(uint16_t quality)
set quality
int channelInSlotMax(const HWIdentifier Id) const
Return the Maximum channel number of a given feb slot.
::StatusCode StatusCode
StatusCode definition for legacy code.
bool deadAll() const
FEB is completely missing, e.g. powered off.
int nCellsCalo(const CaloCell_ID::SUBCALO caloNum) const
get number of cels of given calorimeter
Handle class for adding a decoration to an object.
HWIdentifier channel_Id(int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const
create channel identifier from fields
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
void setProvenance(uint16_t prov)
set Provenance
virtual bool isValid() override final
Can the handle be successfully dereferenced?
StatusCode initialize(bool used=true)
Identifier ID() const
get ID (from cached data member) non-virtual and inline for fast access
bool inError() const
FEB has readout errors, cannot be used.
Container class for CaloCell.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Data object for each calorimeter readout cell.
#define ATH_MSG_WARNING(x)
int findIndex(const IdentifierHash theHash) const
Return index of the cell with a given hash.
bool updateErrorState(const EventFlagSubDet subDet, const EventFlagErrorState state) const
Update the error state for one particular sub-detector.
const T * at(size_type n) const
Access an element, as an rvalue.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...