|
ATLAS Offline Software
|
Go to the documentation of this file.
15 return StatusCode::SUCCESS;
21 if (!muonTrackParticles.
isValid()) {
23 return StatusCode::FAILURE;
27 return StatusCode::SUCCESS;
30 ATH_CHECK(muonCandidates.
record(std::make_unique<MuonCandidateCollection>()));
35 return StatusCode::SUCCESS;
SG::WriteHandleKey< TrackCollection > m_msOnlyTracks
StatusCode execute(const EventContext &ctx) const override
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteHandleKey< MuonCandidateCollection > m_candidateCollectionName
::StatusCode StatusCode
StatusCode definition for legacy code.
MuonCombinedMuonCandidateAlg(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize() override
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?
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_muonTrackParticleLocation
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
#define ATH_MSG_WARNING(x)
bool isPresent() const
Is the referenced object present in SG?
ToolHandle< MuonCombined::IMuonCandidateTool > m_muonCandidateTool