|
ATLAS Offline Software
|
Go to the documentation of this file.
35 return StatusCode::SUCCESS;
46 ATH_MSG_ERROR(
"Could not get background RPC container " << bkgContainer.
name() <<
" from store " << bkgContainer.
store());
47 return StatusCode::FAILURE;
49 ATH_MSG_DEBUG(
"Found background RpcDigitContainer called " << bkgContainer.
name() <<
" in store " << bkgContainer.
store());
54 if (!signalContainer.
isValid() ) {
55 ATH_MSG_ERROR(
"Could not get signal RPC container " << signalContainer.
name() <<
" from store " << signalContainer.
store());
56 return StatusCode::FAILURE;
58 ATH_MSG_DEBUG(
"Found signal RpcDigitContainer called " << signalContainer.
name() <<
" in store " << signalContainer.
store());
63 ATH_CHECK(outputContainer.
record(std::make_unique<RpcDigitContainer>(bkgContainer->
size())));
64 if (!outputContainer.
isValid()) {
65 ATH_MSG_ERROR(
"Could not record output RpcDigitContainer called " << outputContainer.
name() <<
" to store " << outputContainer.
store());
66 return StatusCode::FAILURE;
68 ATH_MSG_DEBUG(
"Recorded output RpcDigitContainer called " << outputContainer.
name() <<
" in store " << outputContainer.
store());
77 return StatusCode::SUCCESS;
const_pointer_type cptr()
Dereference the pointer.
virtual StatusCode execute(const EventContext &ctx) const override final
const std::string & name() const
Return the StoreGate ID for the referenced object.
SG::ReadHandleKey< RpcDigitContainer > m_bkgInputKey
size_t size() const
Duplicate of fullSize for backwards compatability.
const_pointer_type cptr() const
Dereference the pointer.
#define ATH_MSG_VERBOSE(x)
RpcOverlay(const std::string &name, ISvcLocator *pSvcLocator)
Handle class for recording to StoreGate.
::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.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual bool isValid() override final
Can the handle be successfully dereferenced?
SG::ReadHandleKey< RpcDigitContainer > m_signalInputKey
SG::WriteHandleKey< RpcDigitContainer > m_outputKey
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
Handle class for reading from StoreGate.
virtual StatusCode initialize() override final
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.
size_type digit_size() const