Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JsonMaterialDecorator.cpp File Reference
+ Include dependency graph for JsonMaterialDecorator.cpp:

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