|
ATLAS Offline Software
|
Go to the documentation of this file.
21 const std::string&
type,
22 const std::string&
name,
27 m_mapInitialized (false)
58 m_includedCellsMap.set();
60 ATH_MSG_INFO (
" Will exclude " << m_includedCellsMap.size() - m_includedCellsMap.count() <<
" cells from CaloCellContainer");
63 return StatusCode::SUCCESS;
72 bool haveFT=
false, haveSlot=
false, haveChannel=
false;
78 return StatusCode::FAILURE;
104 if (haveFT)
msg() <<
" FT=" <<
FT;
105 if (haveSlot)
msg() <<
" slot=" << slot;
106 if (haveChannel)
msg() <<
" channel=" <<
channel;
110 unsigned nDisconnected=0;
121 if (
cabling->isOnlineConnected(chanId)) {
124 m_includedCellsMap.reset(cellhash);
136 }
while (!haveChannel &&
channel<channelMax);
138 if (!haveSlot) slot++;
139 }
while (!haveSlot && slot<slotMax);
140 if (!haveSlot) slot=0;
142 }
while (!haveFT &&
FT<FTmax);
145 return StatusCode::SUCCESS;
151 const EventContext& ctx)
const
155 std::lock_guard<std::mutex> lock (
m_mutex);
168 while(
it!=theCont->
end()) {
170 if (!m_includedCellsMap.test(
cellHash)) {
179 return StatusCode::SUCCESS ;
184 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
unsigned constexpr int nChannels
IdentifierHash calo_cell_hash(const Identifier cellId) const
create hash id from 'global' cell id
(Non-const) Iterator class for DataVector/DataList.
::StatusCode StatusCode
StatusCode definition for legacy code.
Exception class for LAr online Identifiers.
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)
Container class for CaloCell.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
iterator erase(iterator position)
Remove element at a given position.
Exception class for LAr Identifiers.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
size_type calo_cell_hash_max(void) const
cell 'global' hash table max size