|
ATLAS Offline Software
|
Go to the documentation of this file.
27 return StatusCode::SUCCESS;
32 if (!indetCandidateCollection.
isValid()) {
34 return StatusCode::FAILURE;
66 return StatusCode::SUCCESS;
70 ATH_MSG_DEBUG(
"loadPrdContainer() -- No key given assume it's intended");
72 return StatusCode::SUCCESS;
75 if (!readHandle.isValid()) {
77 return StatusCode::FAILURE;
80 target_ptr = readHandle.cptr();
81 return StatusCode::SUCCESS;
85 ATH_MSG_VERBOSE(
"record() -- No key was given... Assume it's intended ");
87 return StatusCode::SUCCESS;
90 ATH_CHECK(writeHandle.record(std::make_unique<ContType>()));
91 target_ptr = writeHandle.ptr();
93 return StatusCode::SUCCESS;
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_TGC_ContainerName
SG::ReadHandleKey< InDetCandidateCollection > m_indetCandidateCollectionName
SG::WriteHandleKey< TrackCollection > m_combTracks
Gaudi::Property< bool > m_usePRDs
StatusCode initialize() override
SG::WriteHandleKey< MuonCombined::InDetCandidateToTagMap > m_tagMap
bool msgLvl(const MSG::Level lvl) const
SG::WriteHandleKey< Trk::SegmentCollection > m_segments
#define ATH_MSG_VERBOSE(x)
Property holding a SG store/key/clid from which a ReadHandle is made.
MuonCombinedInDetExtensionAlg(const std::string &name, ISvcLocator *pSvcLocator)
An algorithm that can be simultaneously executed in multiple threads.
Property holding a SG store/key/clid from which a WriteHandle is made.
StatusCode execute(const EventContext &ctx) const override
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< bool > m_hasSTGC
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_sTGC_ContainerName
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::ReadHandleKey< Muon::CscPrepDataContainer > m_CSC_ContainerName
virtual bool isValid() override final
Can the handle be successfully dereferenced?
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_MDT_ContainerName
ToolHandle< MuonCombined::IMuonCombinedInDetExtensionTool > m_muonCombinedInDetExtensionTool
StatusCode loadPrdContainer(const EventContext &ctx, const SG::ReadHandleKey< ContType > &key, const ContType *&target_ptr) const
StatusCode record(const EventContext &ctx, const SG::WriteHandleKey< ContType > &key, ContType *&target_ptr) const
Gaudi::Property< bool > m_hasMM
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_RPC_ContainerName
Gaudi::Property< bool > m_hasCSC
size_type size() const noexcept
Returns the number of elements in the collection.
SG::WriteHandleKey< TrackCollection > m_METracks
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_MM_ContainerName