Analysis Software
Documentation for sPHENIX simulation software
|
#include "Acts/Plugins/Json/JsonMaterialDecorator.hpp"
Go to the source code of this file.
Namespaces | |
namespace | Acts |
Acts includes to create all necessary definitions. | |
Functions | |
Acts::ACTS_VERBOSE ("Reading JSON material description from: "<< jFileName) | |
std::ifstream | Acts::ifj (jFileName.c_str()) |
Acts::if (!ifj.good()) | |
Acts::if (jFileName.find(".cbor")!=std::string::npos) | |
Acts::ACTS_VERBOSE ("JSON material description read complete") | |
Variables | |
nlohmann::json | Acts::jin |
Acts::else | |
auto | Acts::maps = jmConverter.jsonToMaterialMaps(jin) |
Acts::m_surfaceMaterialMap = maps.first | |
Acts::m_volumeMaterialMap = maps.second | |