![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
20 return StatusCode::FAILURE;
33 return StatusCode::SUCCESS;
44 auto [combis, houghDataPerSectorVec] =
m_layerTool->find(mdtPrds, cscPrds, tgcPrds, rpcPrds, stgcPrds, mmPrds, ctx);
47 if (Handle.
record(std::move(combis)).isFailure()) {
48 ATH_MSG_WARNING(
"Failed to record MuonPatternCombinationCollection at MuonLayerHoughCombis");
50 ATH_MSG_DEBUG(
"Recorded MuonPatternCombinationCollection at MuonLayerHoughCombis: size " << Handle->
size());
57 ATH_CHECK(Handle.
record(std::make_unique<MuonPatternCombinationCollection>()));
62 if (houghDataPerSectorVec) {
63 ATH_CHECK(handle.record(std::move(houghDataPerSectorVec)));
66 ATH_CHECK(handle.record(std::make_unique<Muon::HoughDataPerSectorVec>()));
68 return StatusCode::SUCCESS;
SG::ReadHandleKey< Muon::CscPrepDataContainer > m_keyCsc
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_keysTgc
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_keyMM
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_keyRpc
bool msgLvl(const MSG::Level lvl) const
ToolHandle< Muon::MuonEDMPrinterTool > m_printer
virtual StatusCode execute(const EventContext &ctx) const override
const T * GetObject(const SG::ReadHandleKey< T > &key, const EventContext &ctx) const
#define ATH_MSG_VERBOSE(x)
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_keyMdt
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::WriteHandleKey< Muon::HoughDataPerSectorVec > m_houghDataPerSectorVecKey
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Gaudi::Property< bool > m_printSummary
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_keyTgc
ToolHandle< Muon::IMuonHoughPatternFinderTool > m_layerTool
MuonLayerHoughAlg(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
#define ATH_MSG_WARNING(x)
SG::WriteHandleKey< MuonPatternCombinationCollection > m_combis
size_type size() const noexcept
Returns the number of elements in the collection.