#include <LArCellMaskingTool.h>
Definition at line 21 of file LArCellMaskingTool.h.
◆ LArCellMaskingTool()
| LArCellMaskingTool::LArCellMaskingTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ fillIncludedCellsMap()
Definition at line 68 of file LArCellMaskingTool.cxx.
73 bool haveFT=
false, haveSlot=
false, haveChannel=
false;
79 return StatusCode::FAILURE;
105 if (haveFT)
msg() <<
" FT=" <<
FT;
106 if (haveSlot)
msg() <<
" slot=" << slot;
107 if (haveChannel)
msg() <<
" channel=" <<
channel;
111 unsigned nDisconnected=0;
122 if (
cabling->isOnlineConnected(chanId)) {
125 m_includedCellsMap.reset(cellhash);
137 }
while (!haveChannel &&
channel<channelMax);
139 if (!haveSlot) slot++;
140 }
while (!haveSlot && slot<slotMax);
141 if (!haveSlot) slot=0;
143 }
while (!haveFT &&
FT<FTmax);
146 return StatusCode::SUCCESS;
◆ finalize()
| StatusCode LArCellMaskingTool::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
| StatusCode LArCellMaskingTool::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 45 of file LArCellMaskingTool.cxx.
59 m_includedCellsMap.set();
61 ATH_MSG_INFO (
" Will exclude " << m_includedCellsMap.size() - m_includedCellsMap.count() <<
" cells from CaloCellContainer");
64 return StatusCode::SUCCESS;
◆ process()
| StatusCode LArCellMaskingTool::process |
( |
CaloCellContainer * |
theCellContainer, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
overridevirtual |
◆ ATLAS_THREAD_SAFE
| std::bitset<200000> m_includedCellsMap LArCellMaskingTool::ATLAS_THREAD_SAFE |
|
mutableprivate |
◆ m_cablingKey
◆ m_mapInitialized
| std::atomic<bool> LArCellMaskingTool::m_mapInitialized |
|
mutableprivate |
◆ m_mutex
| std::mutex LArCellMaskingTool::m_mutex |
|
mutableprivate |
◆ m_offlinehashMax
◆ m_offlineID
◆ m_onlinehashMax
◆ m_onlineID
◆ m_rejLArChannels
| std::vector<std::string> LArCellMaskingTool::m_rejLArChannels |
|
private |
The documentation for this class was generated from the following files:
HWIdentifier channel_Id(int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const
create channel identifier from fields