Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::PodioUtil Namespace Reference

Classes

class  ConversionHelper
 

Typedefs

using Identifier = uint64_t
 

Functions

std::shared_ptr< const SurfaceconvertSurfaceFromPodio (const ConversionHelper &helper, const ActsPodioEdm::Surface &surface)
 
ActsPodioEdm::Surface convertSurfaceToPodio (const ConversionHelper &helper, const Acts::Surface &surface)
 

Variables

constexpr Identifier kNoIdentifier = std::numeric_limits<Identifier>::max()
 
constexpr int kNoSurface = -1
 

Typedef Documentation

using Acts::PodioUtil::Identifier = typedef uint64_t

Definition at line 25 of file PodioUtil.hpp.

View newest version in sPHENIX GitHub at line 25 of file PodioUtil.hpp

Function Documentation

std::shared_ptr< const Surface > Acts::PodioUtil::convertSurfaceFromPodio ( const ConversionHelper &  helper,
const ActsPodioEdm::Surface surface 
)

Definition at line 92 of file PodioUtil.cpp.

View newest version in sPHENIX GitHub at line 92 of file PodioUtil.cpp

References assert, Acts::PodioUtil::ConversionHelper::identifierToSurface(), kNoSurface, N, writeMapConfig::surface, Acts::UnitConstants::T, throw_assert, Acts::Test::transform, and value.

Referenced by BOOST_AUTO_TEST_CASE(), Acts::MutablePodioTrackContainer::getOrCreateSurface(), and Acts::PodioTrackStateContainerBase::populateSurfaceBuffer().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ActsPodioEdm::Surface Acts::PodioUtil::convertSurfaceToPodio ( const ConversionHelper &  helper,
const Acts::Surface surface 
)

Definition at line 54 of file PodioUtil.cpp.

View newest version in sPHENIX GitHub at line 54 of file PodioUtil.cpp

References assert, Acts::Surface::associatedDetectorElement(), Acts::Surface::bounds(), gctx, Acts::GeometryObject::geometryId(), i, identifier, kNoIdentifier, Acts::PodioUtil::ConversionHelper::surfaceToIdentifier(), Acts::Surface::transform(), Acts::SurfaceBounds::type(), Acts::Surface::type(), Acts::GeometryIdentifier::value(), Acts::SurfaceBounds::values(), and Acts::Test::values.

Referenced by BOOST_AUTO_TEST_CASE(), Acts::MutablePodioTrackContainer::setReferenceSurface_impl(), and Acts::MutablePodioTrackStateContainer::setReferenceSurface_impl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

constexpr Identifier Acts::PodioUtil::kNoIdentifier = std::numeric_limits<Identifier>::max()
constexpr int Acts::PodioUtil::kNoSurface = -1

Definition at line 27 of file PodioUtil.hpp.

View newest version in sPHENIX GitHub at line 27 of file PodioUtil.hpp

Referenced by Acts::MutablePodioTrackContainer::addTrack_impl(), Acts::MutablePodioTrackStateContainer::addTrackState_impl(), and convertSurfaceFromPodio().