|
ATLAS Offline Software
|
Go to the documentation of this file.
23 <<
"Merging of data on the same channel is not "
24 "explicitly implemented for PixelRDORawData"
40 Pixel1RawData(existingDatum->identify(), existingDatum->getWord());
65 return StatusCode::SUCCESS;
79 ATH_MSG_ERROR(
"Could not get background Pixel RDO container " << bkgContainer.
name() <<
" from store " << bkgContainer.
store());
80 return StatusCode::FAILURE;
82 bkgContainerPtr = bkgContainer.
cptr();
84 ATH_MSG_DEBUG(
"Found background Pixel RDO container " << bkgContainer.
name() <<
" in store " << bkgContainer.
store());
89 if (!signalContainer.
isValid()) {
90 ATH_MSG_ERROR(
"Could not get signal Pixel RDO container " << signalContainer.
name() <<
" from store " << signalContainer.
store());
91 return StatusCode::FAILURE;
93 ATH_MSG_DEBUG(
"Found signal Pixel RDO container " << signalContainer.
name() <<
" in store " << signalContainer.
store());
98 ATH_CHECK(outputContainer.
record(std::make_unique<PixelRDO_Container>(signalContainer->
size())));
99 if (!outputContainer.
isValid()) {
100 ATH_MSG_ERROR(
"Could not record output Pixel RDO container " << outputContainer.
name() <<
" to store " << outputContainer.
store());
101 return StatusCode::FAILURE;
103 ATH_MSG_DEBUG(
"Recorded output Pixel RDO container " << outputContainer.
name() <<
" in store " << outputContainer.
store());
113 return StatusCode::SUCCESS;
const_pointer_type cptr()
Dereference the pointer.
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
const std::string & name() const
Return the StoreGate ID for the referenced object.
virtual Identifier identify() const override final
size_t size() const
Duplicate of fullSize for backwards compatability.
#define ATH_MSG_VERBOSE(x)
void mergeChannelData(HGTD_RDO &, const HGTD_RDO &, const IDC_OverlayBase *algorithm)
Handle class for recording to StoreGate.
SG::WriteHandleKey< PixelRDO_Container > m_outputKey
virtual StatusCode initialize() override final
SG::ReadHandleKey< PixelRDO_Container > m_signalInputKey
std::unique_ptr< HGTD_RDO_Collection > copyCollection(const IdentifierHash &hashId, const HGTD_RDO_Collection *collection)
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
SG::ReadHandleKey< PixelRDO_Container > m_bkgInputKey
std::string store() const
Return the name of the store holding the object we are proxying.
StatusCode overlayContainer(const IDC_Container *bkgContainer, const IDC_Container *signalContainer, IDC_Container *outputContainer) const
virtual StatusCode execute(const EventContext &ctx) const override final
pointer nextElementPtr()
obtain the next available element in pool by pointer pool is resized if its limit has been reached On...
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual bool isValid() override final
Can the handle be successfully dereferenced?
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
Helpers for overlaying Identifiable Containers.
a typed memory pool that saves time spent allocation small object. This is typically used by containe...
PixelOverlay(const std::string &name, ISvcLocator *pSvcLocator)
void prepareToAdd(unsigned int size)
Prepare to add cached elements.
Handle class for reading from StoreGate.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
std::string debugPrint(const IDC_Container *container, unsigned numprint=25)
Diagnostic output of Identifiable Containers.
size_type size() const noexcept
Returns the number of elements in the collection.