|
ATLAS Offline Software
|
Go to the documentation of this file.
17 ATH_MSG_ERROR(
"CaloCalibrationHitContainer collection name should not be empty");
18 return StatusCode::FAILURE;
27 return StatusCode::SUCCESS;
38 if (!signalContainer.
isValid()) {
39 ATH_MSG_ERROR(
"Could not get signal TrackRecordCollection container " << signalContainer.
name() <<
" from store " << signalContainer.
store());
40 return StatusCode::FAILURE;
42 ATH_MSG_DEBUG(
"Found signal TrackRecordCollection container " << signalContainer.
name() <<
" in store " << signalContainer.
store());
47 if (!outputContainer.
isValid()) {
48 ATH_MSG_ERROR(
"Could not record output TrackRecordCollection container " << outputContainer.
name() <<
" to store " << outputContainer.
store());
49 return StatusCode::FAILURE;
51 ATH_MSG_DEBUG(
"Recorded output TrackRecordCollection container " << outputContainer.
name() <<
" in store " << outputContainer.
store());
54 for (
const TrackRecord &record : *signalContainer) {
59 return StatusCode::SUCCESS;
SG::ReadHandleKey< TrackRecordCollection > m_signalInputKey
virtual StatusCode initialize() override
const std::string & name() const
Return the StoreGate ID for the referenced object.
SG::WriteHandleKey< TrackRecordCollection > m_outputKey
#define ATH_MSG_VERBOSE(x)
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode execute(const EventContext &ctx) const override
::StatusCode StatusCode
StatusCode definition for legacy code.
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?
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
Gaudi::Property< std::string > m_collectionName
CopyTrackRecordCollection(const std::string &name, ISvcLocator *pSvcLocator)
void push_back(const T &t)