|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "Identifier/Identifier.h"
20 ISvcLocator* pSvcLocator) :
23 , m_inputContainerKey(
"FREE")
24 , m_outputContainerKey(
"LArDigitContainer_EMClust")
25 , m_larCablingKey(
"LArOnOffIdMap")
42 return StatusCode::SUCCESS;
46 return StatusCode::SUCCESS;
64 std::bitset<200000> clusteredDigits;
72 for( ;cellIter!=cellIterEnd;cellIter++) {
78 size_t index = (size_t) (idHash);
79 clusteredDigits.set(
index);
85 for (
const LArDigit* dig : *inputContainer) {
88 size_t index = (size_t) (idHash);
89 if (clusteredDigits.test(
index)) outputContainer->push_back(dig);
92 ATH_MSG_DEBUG(
"Copied " << outputContainer->size() <<
" of " << inputContainer->size() <<
" digits.");
94 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
LArDigitThinnerFromEMClust(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< LArDigitContainer > m_inputContainerKey
StatusCode execute(const EventContext &ctx) const override
StatusCode finalize() override
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
DataVector adapter that acts like it holds const pointers.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
~LArDigitThinnerFromEMClust()
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
An algorithm that can be simultaneously executed in multiple threads.
Description of a calorimeter cluster.
Liquid Argon digit base class.
::StatusCode StatusCode
StatusCode definition for legacy code.
const LArOnlineID * m_onlineID
SG::WriteHandleKey< ConstDataVector< LArDigitContainer > > m_outputContainerKey
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
StatusCode initialize() override
HWIdentifier createSignalChannelID(const Identifier &id) const
create a HWIdentifier from an Identifier (not inline)
StatusCode initialize(bool used=true)
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterContainerKey
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
Data object for each calorimeter readout cell.
DataVector adapter that acts like it holds const pointers.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_larCablingKey
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
const_iterator to loop over cells belonging to a cluster