4#ifndef MUONSEGMENTCNV_TRKSEGMENTCNVALG_H
5#define MUONSEGMENTCNV_TRKSEGMENTCNVALG_H
28 using AthReentrantAlgorithm::AthReentrantAlgorithm;
31 StatusCode
execute(
const EventContext& ctx)
const override final;
38 StatusCode
convert(
const EventContext& ctx,
45 template <
class PrdType>
52 template <
class PrdType>
54 const std::string& accName)
const;
56 using RotVec = std::vector<std::unique_ptr<Trk::RIO_OnTrack>>;
66 template <
class PrdType>
71 const std::string& accName =
"")
const;
74 "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
76 PublicToolHandle<Muon::MuonEDMPrinterTool>
m_printer{
this,
"printerTool",
"Muon::MuonEDMPrinterTool/MuonEDMPrinterTool"};
93 ToolHandle<Muon::IMdtDriftCircleOnTrackCreator>
m_mdtCreator{
this,
"MdtRotCreator",
""};
94 ToolHandle<Muon::IMuonClusterOnTrackCreator>
m_clusterCreator{
this,
"ClusterRotCreator",
""};
96 ToolHandle<Muon::IMuonCompetingClustersOnTrackCreator>
m_compClusterCreator{
this,
"CompetingRotCreator",
""};
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
The calibrated Space point is created during the calibration process.
Placeholder for what will later be the muon segment EDM representation.
The TrkSegmentCnvAlg converts the SegmentSeeds produced by the R4 pattern recognition chain into the ...
SG::WriteHandleKey< Trk::SegmentCollection > m_writeKey
ToolHandle< Muon::IMuonClusterOnTrackCreator > m_clusterCreator
ActsTrk::GeoContextReadKey_t m_geoCtxKey
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.
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_keyRpc
ToolHandle< Muon::IMdtDriftCircleOnTrackCreator > m_mdtCreator
std::vector< std::unique_ptr< Trk::RIO_OnTrack > > RotVec
StatusCode initialize() override final
StatusCode convertMeasurement(const MuonR4::Segment &segment, const CalibratedSpacePoint &spacePoint, const Muon::MuonPrepDataContainerT< PrdType > *prdContainer, RotVec &convMeasVec, const std::string &accName="") const
Convert the calibrated space point of interest to a Trk::Measurement.
const PrdType * fetchPrd(const Identifier &prdId, const Muon::MuonPrepDataContainerT< PrdType > *prdContainer) const
SG::ReadHandleKeyArray< SegmentContainer > m_readKeys
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_keyMdt
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
PublicToolHandle< Muon::MuonEDMPrinterTool > m_printer
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_keyTgc
Prep data container keys.
ToolHandle< Muon::IMuonCompetingClustersOnTrackCreator > m_compClusterCreator
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_keyMM
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_keysTgc
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.
SG::ReadHandleKey< GeometryContext > GeoContextReadKey_t
Abrivate the ReadHandleKey to declare the data dependency on the Geometry context.
This header ties the generic definitions in this package.
MuonPrepDataContainer< MuonPrepDataCollection< PrdType > > MuonPrepDataContainerT
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
DataVector< Trk::Segment > SegmentCollection
MuonMeasurement_v1 MuonMeasurement