|
ACTS
Experiment-independent tracking
|
Classes | |
| struct | Options |
Functions | |
| std::shared_ptr< Experimental::Portal > | fromJson (const GeometryContext &gctx, const nlohmann::json &jPortal, const std::vector< std::shared_ptr< Experimental::DetectorVolume > > &detectorVolumes) |
| convert from json format | |
| nlohmann::json | toJson (const Experimental::ExternalNavigationDelegate &updator, const std::vector< const Experimental::DetectorVolume * > &detectorVolumes) |
| convert to json format | |
| nlohmann::json | toJson (const GeometryContext &gctx, const Experimental::Portal &portal, const std::vector< const Experimental::DetectorVolume * > &detectorVolumes, const Options &options=Options{}) |
| Convert to json format. | |
| std::tuple< std::vector< nlohmann::json >, std::vector< std::shared_ptr< Surface > > > | toJsonDetray (const GeometryContext &gctx, const Experimental::Portal &portal, std::size_t ip, const Experimental::DetectorVolume &volume, const std::vector< OrientedSurface > &orientedSurfaces, const std::vector< const Experimental::DetectorVolume * > &detectorVolumes, const Options &options=Options{}) |
| Convert to json format - dedicated Detray function. | |
| std::shared_ptr< Experimental::Portal > Acts::PortalJsonConverter::fromJson | ( | const GeometryContext & | gctx, |
| const nlohmann::json & | jPortal, | ||
| const std::vector< std::shared_ptr< Experimental::DetectorVolume > > & | detectorVolumes ) |
convert from json format
| gctx | the geometry context |
| jPortal | is the json portal description |
| detectorVolumes | is the list of already created detector volumes |
| nlohmann::json Acts::PortalJsonConverter::toJson | ( | const Experimental::ExternalNavigationDelegate & | updator, |
| const std::vector< const Experimental::DetectorVolume * > & | detectorVolumes ) |
convert to json format
| updator | the detector volume updator |
| detectorVolumes | the list of all detector volumes |
| nlohmann::json Acts::PortalJsonConverter::toJson | ( | const GeometryContext & | gctx, |
| const Experimental::Portal & | portal, | ||
| const std::vector< const Experimental::DetectorVolume * > & | detectorVolumes, | ||
| const Options & | options = Options{} ) |
Convert to json format.
| gctx | the geometry context |
| portal | the portal instance |
| detectorVolumes | is the list of all detector voluems for portal pointing |
| options | how to write this thing out |
| std::tuple< std::vector< nlohmann::json >, std::vector< std::shared_ptr< Surface > > > Acts::PortalJsonConverter::toJsonDetray | ( | const GeometryContext & | gctx, |
| const Experimental::Portal & | portal, | ||
| std::size_t | ip, | ||
| const Experimental::DetectorVolume & | volume, | ||
| const std::vector< OrientedSurface > & | orientedSurfaces, | ||
| const std::vector< const Experimental::DetectorVolume * > & | detectorVolumes, | ||
| const Options & | options = Options{} ) |
Convert to json format - dedicated Detray function.
| gctx | the geometry context |
| portal | the portal instance |
| ip | is the portal index that could be used to pick the oriented surface |
| volume | is the detector volume to which these surfaces belong to |
| orientedSurfaces | are the bounding surfaces (may still need to be split) |
| detectorVolumes | is the list of all detector voluems for portal pointing |
| options | how to write this thing out |