 |
ATLAS Offline Software
|
Go to the documentation of this file.
29 <<
"Merging of data on the same channel is not "
30 "explicitly implemented for PixelRDORawData"
46 Pixel1RawData(existingDatum->identify(), existingDatum->getWord());
80 return StatusCode::SUCCESS;
94 ATH_MSG_ERROR(
"Could not get background Pixel RDO container " << bkgContainer.
name() <<
" from store " << bkgContainer.
store());
95 return StatusCode::FAILURE;
97 bkgContainerPtr = bkgContainer.
cptr();
99 ATH_MSG_DEBUG(
"Found background Pixel RDO container " << bkgContainer.
name() <<
" in store " << bkgContainer.
store());
104 if (!signalContainer.
isValid()) {
105 ATH_MSG_ERROR(
"Could not get signal Pixel RDO container " << signalContainer.
name() <<
" from store " << signalContainer.
store());
106 return StatusCode::FAILURE;
108 ATH_MSG_DEBUG(
"Found signal Pixel RDO container " << signalContainer.
name() <<
" in store " << signalContainer.
store());
113 ATH_CHECK(outputContainer.
record(std::make_unique<PixelRDO_Container>(signalContainer->
size())));
114 if (!outputContainer.
isValid()) {
115 ATH_MSG_ERROR(
"Could not record output Pixel RDO container " << outputContainer.
name() <<
" to store " << outputContainer.
store());
116 return StatusCode::FAILURE;
118 ATH_MSG_DEBUG(
"Recorded output Pixel RDO container " << outputContainer.
name() <<
" in store " << outputContainer.
store());
128 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.
void sortCollection(PixelRDO_Collection *collection)
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
void mergeChannelData(HGTD_RDO &, const HGTD_RDO &, const IDC_OverlayBase *algorithm)
Handle class for recording to StoreGate.
SG::WriteHandleKey< PixelRDO_Container > m_outputKey
pointer nextElementPtr()
obtain the next available element in pool by pointer pool is resized if its limit has been reached On...
virtual StatusCode initialize() override final
SG::ReadHandleKey< PixelRDO_Container > m_signalInputKey
void prepareToAdd(unsigned int size)
Prepare to add cached elements.
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.
virtual StatusCode execute(const EventContext &ctx) const override final
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
StatusCode overlayContainerWithSorting(const IDC_Container *bkgContainer, const IDC_Container *signalContainer, IDC_Container *outputContainer, DataPool< Type > &dataItems) const
virtual bool isValid() override final
Can the handle be successfully dereferenced?
struct Overlay::PixelRDOSorter PixelRDOSorterObject
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
bool operator()(PixelRDORawData *digit1, PixelRDORawData *digit2)
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)
virtual Identifier identify() const override final
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.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.