ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
EDM4hep Plugin

Detailed Description

Classes

struct  Acts::IsReadOnlyMultiTrajectory< ActsPlugins::ConstPodioTrackStateContainer< holder_t > >
struct  Acts::IsReadOnlyMultiTrajectory< ActsPlugins::MutablePodioTrackStateContainer< holder_t > >
struct  Acts::IsReadOnlyTrackContainer< ActsPlugins::ConstPodioTrackContainer< holder_t > >
struct  Acts::IsReadOnlyTrackContainer< ActsPlugins::MutablePodioTrackContainer< holder_t > >
class  ActsPlugins::ConstPodioTrackContainer< holder_t >
 Read-only track container backend using podio for storage. More...
class  ActsPlugins::ConstPodioTrackStateContainer< holder_t >
 Read-only track state container backend using podio for storage. More...
class  ActsPlugins::EDM4hepUtil::SimHitAssociation
 Helper class for associating simulation hits between EDM4hep and internal indices. More...
class  ActsPlugins::MutablePodioTrackContainer< holder_t >
 Mutable Podio-based track container implementation. More...
class  ActsPlugins::MutablePodioTrackStateContainer< holder_t >
 Mutable Podio-based track state container implementation. More...
class  ActsPlugins::PodioTrackContainerBase
 Base class for PODIO track containers. More...
class  ActsPlugins::PodioTrackStateContainerBase
 Base class for PODIO track state containers. More...
class  ActsPlugins::PodioUtil::ConversionHelper
 Helper interface for converting between ACTS and PODIO types. More...

Functions

template<template< typename... > class other_holder_t>
requires std::is_constructible_v< holder_t<const ActsPodioEdm::TrackStateCollection>, const ActsPodioEdm::TrackStateCollection&>
 ActsPlugins::ConstPodioTrackStateContainer< holder_t >::ConstPodioTrackStateContainer (const MutablePodioTrackStateContainer< other_holder_t > &other)
 Construct a const track state container from a mutable (copy).
template<template< typename... > class other_holder_t>
requires std::is_same_v<holder_t<const ActsPodioEdm::TrackStateCollection>, other_holder_t<ActsPodioEdm::TrackStateCollection>>
 ActsPlugins::ConstPodioTrackStateContainer< holder_t >::ConstPodioTrackStateContainer (MutablePodioTrackStateContainer< other_holder_t > &&other)
 Construct a const track state container from a mutable (move).
edm4hep::MCParticle ActsPlugins::EDM4hepUtil::getParticle (const edm4hep::SimTrackerHit &hit)
 Get the particle from a SimTrackerHit (compatibility with EDM4hep < 0.99 and >= 0.99).
 ActsPlugins::MutablePodioTrackContainer (const PodioUtil::ConversionHelper &, ActsPodioEdm::TrackCollection &) -> MutablePodioTrackContainer< Acts::RefHolder >
 Deduction guide: when passing a collection reference, deduce RefHolder.
 ActsPlugins::MutablePodioTrackStateContainer (PodioUtil::ConversionHelper &, ActsPodioEdm::TrackStateCollection &, ActsPodioEdm::BoundParametersCollection &, ActsPodioEdm::JacobianCollection &) -> MutablePodioTrackStateContainer< Acts::RefHolder >
 Deduction guide: when passing collection references, deduce RefHolder.
template<Acts::TrackProxyConcept track_proxy_t>
void ActsPlugins::EDM4hepUtil::readTrack (const edm4hep::Track &from, track_proxy_t &track, double Bz, const Acts::Logger &logger=Acts::getDummyLogger())
 Read an EDM4hep track into Acts format.
void ActsPlugins::EDM4hepUtil::setParticle (edm4hep::MutableSimTrackerHit &hit, const edm4hep::MCParticle &particle)
 Set the particle for a MutableSimTrackerHit (compatibility with EDM4hep < 0.99 and >= 0.99).
template<Acts::TrackProxyConcept track_proxy_t>
void ActsPlugins::EDM4hepUtil::writeTrack (const Acts::GeometryContext &gctx, track_proxy_t track, edm4hep::MutableTrack to, double Bz, const Acts::Logger &logger=Acts::getDummyLogger())
 Write an Acts track to EDM4hep format.

Function Documentation

◆ ConstPodioTrackStateContainer() [1/2]

template<template< typename... > class holder_t>
requires std::is_constructible_v< holder_t<const ActsPodioEdm::TrackStateCollection>, const ActsPodioEdm::TrackStateCollection&>
template<template< typename... > class other_holder_t>
requires std::is_constructible_v< holder_t<const ActsPodioEdm::TrackStateCollection>, const ActsPodioEdm::TrackStateCollection&>
ActsPlugins::ConstPodioTrackStateContainer< holder_t >::ConstPodioTrackStateContainer ( const MutablePodioTrackStateContainer< other_holder_t > & other)
explicit

Construct a const track state container from a mutable (copy).

Parameters
otherThe mutable container to construct from

◆ ConstPodioTrackStateContainer() [2/2]

template<template< typename... > class holder_t>
requires std::is_same_v<holder_t<const ActsPodioEdm::TrackStateCollection>, other_holder_t<ActsPodioEdm::TrackStateCollection>>
template<template< typename... > class other_holder_t>
requires std::is_same_v<holder_t<const ActsPodioEdm::TrackStateCollection>, other_holder_t<ActsPodioEdm::TrackStateCollection>>
ActsPlugins::ConstPodioTrackStateContainer< holder_t >::ConstPodioTrackStateContainer ( MutablePodioTrackStateContainer< other_holder_t > && other)
explicit

Construct a const track state container from a mutable (move).

Parameters
otherThe mutable container to move from

◆ getParticle()

edm4hep::MCParticle ActsPlugins::EDM4hepUtil::getParticle ( const edm4hep::SimTrackerHit & hit)

Get the particle from a SimTrackerHit (compatibility with EDM4hep < 0.99 and >= 0.99).

Parameters
hitThe SimTrackerHit
Returns
The associated MCParticle

◆ readTrack()

template<Acts::TrackProxyConcept track_proxy_t>
void ActsPlugins::EDM4hepUtil::readTrack ( const edm4hep::Track & from,
track_proxy_t & track,
double Bz,
const Acts::Logger & logger = Acts::getDummyLogger() )

Read an EDM4hep track into Acts format.

Parameters
fromThe EDM4hep track to read
trackThe Acts track proxy to fill
BzThe magnetic field z-component
loggerThe logger instance

◆ setParticle()

void ActsPlugins::EDM4hepUtil::setParticle ( edm4hep::MutableSimTrackerHit & hit,
const edm4hep::MCParticle & particle )

Set the particle for a MutableSimTrackerHit (compatibility with EDM4hep < 0.99 and >= 0.99).

Parameters
hitThe MutableSimTrackerHit
particleThe MCParticle to set

◆ writeTrack()

template<Acts::TrackProxyConcept track_proxy_t>
void ActsPlugins::EDM4hepUtil::writeTrack ( const Acts::GeometryContext & gctx,
track_proxy_t track,
edm4hep::MutableTrack to,
double Bz,
const Acts::Logger & logger = Acts::getDummyLogger() )

Write an Acts track to EDM4hep format.

Parameters
gctxThe geometry context
trackThe Acts track to convert
toThe EDM4hep track to write to
BzThe magnetic field z-component
loggerThe logger instance