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

Functions

static std::tuple< unsigned
int, std::vector< ActsScalar > > 
maskFromBounds (const Acts::SurfaceBounds &sBounds, bool portal=false)
 Helper function to switch keys from ACTS to detray.
 
static void addVolumeLink (nlohmann::json &jSurface, int vLink)
 add volume link
 

Function Documentation

static void Acts::DetrayJsonHelper::addVolumeLink ( nlohmann::json &  jSurface,
int  vLink 
)
inlinestatic

add volume link

Parameters
jSurface[in,out] is the json object to be patched
vLinkis the volume link to be added

Definition at line 89 of file DetrayJsonHelper.hpp.

View newest version in sPHENIX GitHub at line 89 of file DetrayJsonHelper.hpp

Referenced by Acts::DetectorVolumeJsonConverter::toJsonDetray(), and Acts::PortalJsonConverter::toJsonDetray().

+ Here is the caller graph for this function:

static std::tuple<unsigned int, std::vector<ActsScalar> > Acts::DetrayJsonHelper::maskFromBounds ( const Acts::SurfaceBounds sBounds,
bool  portal = false 
)
inlinestatic

Helper function to switch keys from ACTS to detray.

DETRAY types

Parameters
sBoundsis the surface bounds type
portalis the flag for conversion into detray portal format
Returns
type and value array in detray format

Definition at line 42 of file DetrayJsonHelper.hpp.

View newest version in sPHENIX GitHub at line 42 of file DetrayJsonHelper.hpp

References Acts::SurfaceBounds::type(), Acts::type, physmon_ckf_tracking::u, and Acts::SurfaceBounds::values().

Referenced by Acts::SurfaceBoundsJsonConverter::toJsonDetray().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: