Conversion tool interface to translate surfaces & track parameters between the Acts & Trk realm.
More...
#include <IActsToTrkConverterTool.h>
|
| | DeclareInterfaceID (IActsToTrkConverterTool, 1, 0) |
| |
| virtual const Trk::Surface & | actsSurfaceToTrkSurface (const Acts::Surface &actsSurface) const =0 |
| | Translates the parsed Acts surface into a Trk::Surface via associated detector element. More...
|
| |
| virtual const Acts::Surface & | trkSurfaceToActsSurface (const Trk::Surface &atlasSurface) const =0 |
| | Translate the parsed Trk surface into an Acts surface. More...
|
| |
| virtual std::vector< Acts::SourceLink > | trkTrackToSourceLinks (const Trk::Track &track) const =0 |
| | Converts the Trk measurement track states into a vector of Acts::Source links. More...
|
| |
| virtual void | toSourceLinks (const std::vector< const Trk::MeasurementBase * > &measSet, std::vector< Acts::SourceLink > &links) const =0 |
| | Converts a vector of Trk measurement states into a vector of Acts source links and appends the result to the exisiting set of source links. More...
|
| |
| virtual void | toSourceLinks (const std::vector< const Trk::PrepRawData * > &prdSet, std::vector< Acts::SourceLink > &links) const =0 |
| | Converts a vector of Trk::PrepRawData states into a vector of Acts source links and appends the result to the exisiting set of source links. More...
|
| |
| virtual const Acts::BoundTrackParameters | trkTrackParametersToActsParameters (const Trk::TrackParameters &atlasParameter, const Acts::GeometryContext &gctx, Trk::ParticleHypothesis hypothesis=Trk::pion) const =0 |
| | Translates the Trk track parameters into bound Acts track parameters with a particle hypothesis. More...
|
| |
| virtual std::unique_ptr< Trk::TrackParameters > | actsTrackParametersToTrkParameters (const Acts::BoundTrackParameters &actsParameter, const Acts::GeometryContext &gctx) const =0 |
| | Translates the bounded Acts track parameters to Trk parameters. More...
|
| |
| virtual std::unique_ptr< Trk::Track > | convertFitResult (const EventContext &ctx, ActsTrk::MutableTrackContainer &tracks, TrackFitResult_t &fitResult, const Trk::TrackInfo::TrackFitter fitAuthor, const detail::SourceLinkType slType) const =0 |
| |
| virtual void | trkTrackCollectionToActsTrackContainer (ActsTrk::MutableTrackContainer &tc, const TrackCollection &trackColl, const Acts::GeometryContext &gctx) const =0 |
| |
Conversion tool interface to translate surfaces & track parameters between the Acts & Trk realm.
Definition at line 45 of file IActsToTrkConverterTool.h.
◆ TrackFitResult_t
Convert the Acts fit result into a Trk::Track object, if the fit was successful.
Otherwise, a nullptr is returned.
- Parameters
-
| ctx | EventContext to construct the Geometry & calibration context inside |
| tracks | Reference to the Multi trajectory cotnainer |
| fitResult | Outcome from the Acts fitter |
| fitAuthor | Author flag to be put into the Trk::Track meta data |
| slType | Source link type steering how the uncalibrated Acts::SourceLinks are turned into Trk::MeasurementBase objects |
Definition at line 100 of file IActsToTrkConverterTool.h.
◆ actsSurfaceToTrkSurface()
| virtual const Trk::Surface& ActsTrk::IActsToTrkConverterTool::actsSurfaceToTrkSurface |
( |
const Acts::Surface & |
actsSurface | ) |
const |
|
pure virtual |
Translates the parsed Acts surface into a Trk::Surface via associated detector element.
For the ID measurements a direct link is provided and for the muon measurements the look-up is performed via the associated Identifier and the detector manager. Exception is thrown if the mapping fails.
- Parameters
-
| actsSurface | Refrence to the acts surface to translate |
◆ actsTrackParametersToTrkParameters()
| virtual std::unique_ptr<Trk::TrackParameters> ActsTrk::IActsToTrkConverterTool::actsTrackParametersToTrkParameters |
( |
const Acts::BoundTrackParameters & |
actsParameter, |
|
|
const Acts::GeometryContext & |
gctx |
|
) |
| const |
|
pure virtual |
Translates the bounded Acts track parameters to Trk parameters.
The bound parameter surface must be translatble by the tool
- Parameters
-
| actsParameter | Refrence to the bounded parameters to translate |
| gctx | Geometry context to align the associated surface in global space |
◆ convertFitResult()
◆ DeclareInterfaceID()
◆ toSourceLinks() [1/2]
| virtual void ActsTrk::IActsToTrkConverterTool::toSourceLinks |
( |
const std::vector< const Trk::MeasurementBase * > & |
measSet, |
|
|
std::vector< Acts::SourceLink > & |
links |
|
) |
| const |
|
pure virtual |
Converts a vector of Trk measurement states into a vector of Acts source links and appends the result to the exisiting set of source links.
- Parameters
-
| measSet | Reference to the measurement set to transform |
| link | Target vector to which the new source links are appended |
◆ toSourceLinks() [2/2]
| virtual void ActsTrk::IActsToTrkConverterTool::toSourceLinks |
( |
const std::vector< const Trk::PrepRawData * > & |
prdSet, |
|
|
std::vector< Acts::SourceLink > & |
links |
|
) |
| const |
|
pure virtual |
Converts a vector of Trk::PrepRawData states into a vector of Acts source links and appends the result to the exisiting set of source links.
- Parameters
-
| measSet | Reference to the measurement set to transform |
| link | Target vector to which the new source links are appended |
◆ trkSurfaceToActsSurface()
| virtual const Acts::Surface& ActsTrk::IActsToTrkConverterTool::trkSurfaceToActsSurface |
( |
const Trk::Surface & |
atlasSurface | ) |
const |
|
pure virtual |
Translate the parsed Trk surface into an Acts surface.
The detector element identifier of the surface needs to be filled into the internal tool's look-up map. Otherwise an exception is thrown.
- Parameters
-
| atlasSurface | Refrence to the Trk surface to translate |
◆ trkTrackCollectionToActsTrackContainer()
◆ trkTrackParametersToActsParameters()
Translates the Trk track parameters into bound Acts track parameters with a particle hypothesis.
- Parameters
-
| atlasParameter | The Trk parameters to translate. |
| gcts | Geometry context needed for special treatment of the annulus bounds |
| hypothesis | Track hypothesis to use |
◆ trkTrackToSourceLinks()
| virtual std::vector<Acts::SourceLink> ActsTrk::IActsToTrkConverterTool::trkTrackToSourceLinks |
( |
const Trk::Track & |
track | ) |
const |
|
pure virtual |
Converts the Trk measurement track states into a vector of Acts::Source links.
The source links don't take ownership over the measurement states.
- Parameters
-
| track | Reference to the track to convert |
The documentation for this class was generated from the following file: