Analysis Software
Documentation for sPHENIX simulation software
|
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 | |
|
inlinestatic |
add volume link
jSurface | [in,out] is the json object to be patched |
vLink | is 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().
|
inlinestatic |
Helper function to switch keys from ACTS to detray.
DETRAY types
sBounds | is the surface bounds type |
portal | is the flag for conversion into detray portal 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().