|
ATLAS Offline Software
|
Go to the documentation of this file.
21 return StatusCode::SUCCESS;
31 if (!inputContainer.
isValid()) {
32 ATH_MSG_ERROR(
"Could not get pileup TrackCollection " << inputContainer.
name() <<
" from store " << inputContainer.
store());
33 return StatusCode::FAILURE;
35 ATH_MSG_DEBUG(
"Found pileup TrackCollection " << inputContainer.
name() <<
" in store " << inputContainer.
store());
40 if (!outputContainer.
isValid()) {
41 ATH_MSG_ERROR(
"Could not record output TrackCollection " << outputContainer.
name() <<
" to store " << outputContainer.
store());
42 return StatusCode::FAILURE;
44 ATH_MSG_DEBUG(
"Recorded output TrackCollection container " << outputContainer.
name() <<
" in store " << outputContainer.
store());
52 return StatusCode::SUCCESS;
virtual StatusCode initialize() override
const std::string & name() const
Return the StoreGate ID for the referenced object.
SG::ReadHandleKey< TrackCollection > m_inputKey
#define ATH_MSG_VERBOSE(x)
An algorithm that can be simultaneously executed in multiple threads.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode execute(const EventContext &ctx) const override
std::string store() const
Return the name of the store holding the object we are proxying.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual bool isValid() override final
Can the handle be successfully dereferenced?
value_type push_back(value_type pElem)
Add an element to the end of the collection.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
CopyTrackCollection(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteHandleKey< TrackCollection > m_outputKey