Namespace Acts::DetrayJsonHelper
-
namespace DetrayJsonHelper
Functions
-
static inline void addVolumeLink(nlohmann::json &jSurface, int vLink)
add volume link
- Parameters
jSurface – [in,out] is the json object to be patched
vLink – is the volume link to be added
-
static inline std::tuple<unsigned int, std::vector<ActsScalar>> maskFromBounds(const Acts::SurfaceBounds &sBounds, bool portal = false)
Helper function to switch keys from ACTS to detray.
DETRAY types
- Parameters
sBounds – is the surface bounds type
portal – is the flag for conversion into detray portal format
- Returns
type and value array in detray format
-
static inline void addVolumeLink(nlohmann::json &jSurface, int vLink)