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

#include <acts/blob/sPHENIX/Examples/Python/include/Acts/Plugins/Python/Utilities.hpp>

+ Collaboration diagram for Acts::Python::Context:

Public Member Functions

pybind11::module_ & get (const std::string &name)
 
template<typename... Args, typename = std::enable_if_t<sizeof...(Args) >= 2>
auto get (Args &&...args)
 

Public Attributes

std::unordered_map
< std::string,
pybind11::module_ > 
modules
 

Detailed Description

Definition at line 22 of file Utilities.hpp.

View newest version in sPHENIX GitHub at line 22 of file Utilities.hpp

Member Function Documentation

template<typename... Args, typename = std::enable_if_t<sizeof...(Args) >= 2>
auto Acts::Python::Context::get ( Args &&...  args)
inline

Definition at line 28 of file Utilities.hpp.

View newest version in sPHENIX GitHub at line 28 of file Utilities.hpp

References check_smearing_config::args, std::tr1::make_tuple(), and modules.

+ Here is the call graph for this function:

Member Data Documentation

std::unordered_map<std::string, pybind11::module_> Acts::Python::Context::modules

Definition at line 23 of file Utilities.hpp.

View newest version in sPHENIX GitHub at line 23 of file Utilities.hpp

Referenced by Acts::Python::addOnnx(), Acts::Python::addPythia8(), get(), and PYBIND11_MODULE().


The documentation for this struct was generated from the following file: