|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef MUONSEGMENTCNV_SEGMENTCNVALG_H
5 #define MUONSEGMENTCNV_SEGMENTCNVALG_H
48 template <
class ContType>
51 const ContType*& contPtr)
const;
56 template <
class PrdType>
60 using RotVec = std::vector<std::unique_ptr<Trk::RIO_OnTrack>>;
61 template <
class PrdType>
65 RotVec& convMeasVec)
const;
68 "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
70 PublicToolHandle<Muon::MuonEDMPrinterTool>
m_printer{
this,
"printerTool",
"Muon::MuonEDMPrinterTool/MuonEDMPrinterTool"};
87 ToolHandle<Muon::IMdtDriftCircleOnTrackCreator>
m_mdtCreator{
this,
"MdtRotCreator",
""};
88 ToolHandle<Muon::IMuonClusterOnTrackCreator>
m_clusterCreator{
this,
"ClusterRotCreator",
""};
90 ToolHandle<Muon::IMuonCompetingClustersOnTrackCreator>
m_compClusterCreator{
this,
"CompetingRotCreator",
""};
Property holding a SG store/key/clid from which a ReadHandle is made.
const PrdType * fetchPrd(const Identifier &prdId, const Muon::MuonPrepDataContainerT< PrdType > *prdContainer) const
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_keysTgc
ToolHandle< Muon::IMuonCompetingClustersOnTrackCreator > m_compClusterCreator
Placeholder for what will later be the muon segment EDM representation.
PublicToolHandle< Muon::MuonEDMPrinterTool > m_printer
StatusCode convertMeasurement(const MuonR4::Segment &segment, const CalibratedSpacePoint &spacePoint, const Muon::MuonPrepDataContainerT< PrdType > *prdContainer, RotVec &convMeasVec) const
ToolHandle< Muon::IMdtDriftCircleOnTrackCreator > m_mdtCreator
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
The SegmentCnvAlg converts the SegmentSeeds produced by the R4 pattern recognition chain into the seg...
SG::ReadHandleKeyArray< SegmentContainer > m_readKeys
AthReentrantAlgorithm()
Default constructor:
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_keyRpc
SG::WriteHandleKey< Trk::SegmentCollection > m_writeKey
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< std::unique_ptr< Trk::RIO_OnTrack > > RotVec
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_keyTgc
Prep data container keys.
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_keyMdt
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::ReadHandleKey< ActsGeometryContext > m_geoCtxKey
StatusCode retrieveContainer(const EventContext &ctx, const SG::ReadHandleKey< ContType > &key, const ContType *&contPtr) const
Loads a container from the StoreGate and returns whether the retrieval is successful.
StatusCode initialize() override final
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
This header ties the generic definitions in this package.
StatusCode execute(const EventContext &ctx) const override final
StatusCode convert(const EventContext &ctx, const MuonR4::Segment &segment, Trk::SegmentCollection &outContainer) const
Convert the R4 segment and fill the converted segment into the SegmentCollection.
The calibrated Space point is created during the calibration process.
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_keyMM
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)
ToolHandle< Muon::IMuonClusterOnTrackCreator > m_clusterCreator