|
ATLAS Offline Software
|
Go to the documentation of this file.
35 return StatusCode::SUCCESS;
45 ATH_MSG_ERROR(
"Could not get background TgcDigitContainer called " << bkgContainer.
name() <<
" from store " << bkgContainer.
store());
46 return StatusCode::FAILURE;
48 ATH_MSG_DEBUG(
"Found background TgcDigitContainer called " << bkgContainer.
name() <<
" in store " << bkgContainer.
store());
53 if (!signalContainer.
isValid() ) {
54 ATH_MSG_ERROR(
"Could not get signal TgcDigitContainer called " << signalContainer.
name() <<
" from store " << signalContainer.
store());
55 return StatusCode::FAILURE;
57 ATH_MSG_DEBUG(
"Found overlay TgcDigitContainer called " << signalContainer.
name() <<
" in store " << signalContainer.
store());
62 ATH_CHECK(outputContainer.
record(std::make_unique<TgcDigitContainer>(bkgContainer->
size())));
63 if (!outputContainer.
isValid()) {
64 ATH_MSG_ERROR(
"Could not record output TgcDigitContainer called " << outputContainer.
name() <<
" to store " << outputContainer.
store());
65 return StatusCode::FAILURE;
67 ATH_MSG_DEBUG(
"Recorded output TgcDigitContainer called " << outputContainer.
name() <<
" in store " << outputContainer.
store());
76 return StatusCode::SUCCESS;
virtual StatusCode execute(const EventContext &ctx) const override final
SG::ReadHandleKey< TgcDigitContainer > m_signalInputKey
const_pointer_type cptr()
Dereference the pointer.
TgcOverlay(const std::string &name, ISvcLocator *pSvcLocator)
const std::string & name() const
Return the StoreGate ID for the referenced object.
size_t size() const
Duplicate of fullSize for backwards compatability.
const_pointer_type cptr() const
Dereference the pointer.
SG::WriteHandleKey< TgcDigitContainer > m_outputKey
#define ATH_MSG_VERBOSE(x)
Handle class for recording to StoreGate.
virtual StatusCode initialize() override final
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
std::string store() const
Return the name of the store holding the object we are proxying.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::ReadHandleKey< TgcDigitContainer > m_bkgInputKey
virtual bool isValid() override final
Can the handle be successfully dereferenced?
size_type digit_size() const
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.
Handle class for reading from StoreGate.
StatusCode overlayMultiHitContainer(const IDC_Container *bkgContainer, const IDC_Container *signalContainer, IDC_Container *outputContainer) const
std::string debugPrint(const IDC_Container *container, unsigned numprint=25)
Diagnostic output of Identifiable Containers.