27 return StatusCode::SUCCESS;
32 if (!indetCandidateCollection.
isValid()) {
34 return StatusCode::FAILURE;
38 if (
msgLvl(MSG::VERBOSE)) {
66 return StatusCode::SUCCESS;
70 ATH_MSG_DEBUG(
"loadPrdContainer() -- No key given assume it's intended");
72 return StatusCode::SUCCESS;
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;
91 target_ptr = writeHandle.
ptr();
93 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
bool msgLvl(const MSG::Level lvl) const
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< bool > m_hasMM
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_TGC_ContainerName
SG::WriteHandleKey< TrackCollection > m_METracks
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_MM_ContainerName
MuonCombinedInDetExtensionAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< bool > m_hasCSC
SG::WriteHandleKey< MuonCombined::InDetCandidateToTagMap > m_tagMap
SG::WriteHandleKey< Trk::SegmentCollection > m_segments
StatusCode initialize() override
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_sTGC_ContainerName
Gaudi::Property< bool > m_usePRDs
SG::ReadHandleKey< Muon::CscPrepDataContainer > m_CSC_ContainerName
Gaudi::Property< bool > m_hasSTGC
SG::ReadHandleKey< InDetCandidateCollection > m_indetCandidateCollectionName
StatusCode loadPrdContainer(const EventContext &ctx, const SG::ReadHandleKey< ContType > &key, const ContType *&target_ptr) const
SG::WriteHandleKey< TrackCollection > m_combTracks
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_MDT_ContainerName
StatusCode execute(const EventContext &ctx) const override
ToolHandle< MuonCombined::IMuonCombinedInDetExtensionTool > m_muonCombinedInDetExtensionTool
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_RPC_ContainerName
StatusCode record(const EventContext &ctx, const SG::WriteHandleKey< ContType > &key, ContType *&target_ptr) const
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
const_pointer_type cptr()
Dereference the pointer.
Property holding a SG store/key/clid from which a WriteHandle is made.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
pointer_type ptr()
Dereference the pointer.
DataVector< Trk::Segment > SegmentCollection
const Muon::TgcPrepDataContainer * tgcPrds
const Muon::sTgcPrepDataContainer * stgcPrds
const Muon::RpcPrepDataContainer * rpcPrds
const Muon::CscPrepDataContainer * cscPrds
const Muon::MMPrepDataContainer * mmPrds
const Muon::MdtPrepDataContainer * mdtPrds