|
ATLAS Offline Software
|
Go to the documentation of this file.
17 return StatusCode::SUCCESS;
22 if (!indetCandidateCollection.
isValid()) {
24 return StatusCode::FAILURE;
29 return StatusCode::FAILURE;
32 std::vector<const Muon::MuonSegment*> segmentVec{};
33 segmentVec.reserve(segments->
size());
41 segmentVec.push_back(muon_seg);
43 std::unique_ptr<MuonCombined::InDetCandidateToTagMap> tagMap = std::make_unique<MuonCombined::InDetCandidateToTagMap>();
50 return StatusCode::SUCCESS;
ToolHandle< MuonCombined::IMuonSegmentTagTool > m_muonSegmentTagTool
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode execute(const EventContext &ctx) const override
MuonSegmentTagAlg(const std::string &name, ISvcLocator *pSvcLocator)
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< Trk::SegmentCollection > m_muonSegmentCollectionName
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?
virtual StatusCode initialize() override
SG::ReadHandleKey< InDetCandidateCollection > m_indetCandidateCollectionName
SG::WriteHandleKey< MuonCombined::InDetCandidateToTagMap > m_tagMap
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
#define ATH_MSG_WARNING(x)
size_type size() const noexcept
Returns the number of elements in the collection.