ATLAS Offline Software
Loading...
Searching...
No Matches
MuonLayerHoughAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONLAYERHOUGHALG_H
6#define MUONLAYERHOUGHALG_H
7
9#include "GaudiKernel/ToolHandle.h"
13
15public:
16 MuonLayerHoughAlg(const std::string& name, ISvcLocator* pSvcLocator);
17
18 virtual ~MuonLayerHoughAlg() = default;
19
20 virtual StatusCode initialize() override;
21 virtual StatusCode execute(const EventContext& ctx) const override;
22
23private:
24 template <class T> StatusCode retrieveContainer(const EventContext& ctx,
25 const SG::ReadHandleKey<T>& key,
26 const T* & contPtr ) const;
27
28 SG::ReadHandleKey<Muon::TgcPrepDataContainer> m_keyTgc{this, "TgcPrepDataContainer", "TGC_Measurements"};
29 SG::ReadHandleKey<Muon::RpcPrepDataContainer> m_keyRpc{this, "RpcPrepDataContainer", "RPC_Measurements"};
30 SG::ReadHandleKey<Muon::CscPrepDataContainer> m_keyCsc{this, "CscPrepDataContainer", "CSC_Clusters"};
31 SG::ReadHandleKey<Muon::MdtPrepDataContainer> m_keyMdt{this, "MdtPrepDataContainer", "MDT_DriftCircles"};
32 SG::ReadHandleKey<Muon::sTgcPrepDataContainer> m_keysTgc{this, "sTgcPrepDataContainer", "STGC_Measurements"};
33 SG::ReadHandleKey<Muon::MMPrepDataContainer> m_keyMM{this, "MMPrepDataContainer", "MM_Measurements"};
34
35 SG::WriteHandleKey<MuonPatternCombinationCollection> m_combis{this, "MuonPatternCombinationCollection", "MuonLayerHoughCombis"};
36 SG::WriteHandleKey<Muon::HoughDataPerSectorVec> m_houghDataPerSectorVecKey{this, "Key_MuonLayerHoughToolHoughDataPerSectorVec",
37 "HoughDataPerSectorVec", "HoughDataPerSectorVec key"};
38 PublicToolHandle<Muon::MuonEDMPrinterTool> m_printer{this, "printerTool", "Muon::MuonEDMPrinterTool/MuonEDMPrinterTool"};
39 ToolHandle<Muon::IMuonHoughPatternFinderTool> m_layerTool{this, "MuonLayerScanTool", "Muon::MuonLayerHoughTool/MuonLayerHoughTool"};
40 Gaudi::Property<bool> m_printSummary{this, "PrintSummary", false};
41};
42
43
44
45#endif
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_keyRpc
SG::WriteHandleKey< Muon::HoughDataPerSectorVec > m_houghDataPerSectorVecKey
SG::WriteHandleKey< MuonPatternCombinationCollection > m_combis
virtual StatusCode execute(const EventContext &ctx) const override
PublicToolHandle< Muon::MuonEDMPrinterTool > m_printer
StatusCode retrieveContainer(const EventContext &ctx, const SG::ReadHandleKey< T > &key, const T *&contPtr) const
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_keyMM
ToolHandle< Muon::IMuonHoughPatternFinderTool > m_layerTool
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_keyMdt
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_keyTgc
SG::ReadHandleKey< Muon::CscPrepDataContainer > m_keyCsc
Gaudi::Property< bool > m_printSummary
MuonLayerHoughAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_keysTgc
virtual ~MuonLayerHoughAlg()=default
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.