|
ACTS
Experiment-independent tracking
|
Per-document decoding state, also available to application decoders. More...
#include <ActsPlugins/Json/TrackingGeometryMaterialJsonConverter.hpp>
Public Member Functions | |
| DecodeContext () | |
| Construct with canonical output units. | |
| double | angleUnit () const |
| Conversion factor from document angle to Acts units. | |
| double | densityUnit () const |
| Conversion factor from document molar density (amount / length cubed) to Acts units. | |
| double | energyUnit () const |
| Conversion factor from document energy to Acts units. | |
| double | lengthUnit () const |
| Conversion factor from document length to Acts units. | |
| double | materialAmountUnit () const |
| Conversion factor from document amount of material to Acts units. | |
| SlabStore | store (const std::string &name) const |
| Resolve a shared slab store by its document name. | |
Per-document decoding state, also available to application decoders.
| double Acts::TrackingGeometryMaterialJsonConverter::DecodeContext::angleUnit | ( | ) | const |
Conversion factor from document angle to Acts units.
| double Acts::TrackingGeometryMaterialJsonConverter::DecodeContext::densityUnit | ( | ) | const |
Conversion factor from document molar density (amount / length cubed) to Acts units.
| double Acts::TrackingGeometryMaterialJsonConverter::DecodeContext::energyUnit | ( | ) | const |
Conversion factor from document energy to Acts units.
| double Acts::TrackingGeometryMaterialJsonConverter::DecodeContext::lengthUnit | ( | ) | const |
Conversion factor from document length to Acts units.
| double Acts::TrackingGeometryMaterialJsonConverter::DecodeContext::materialAmountUnit | ( | ) | const |
Conversion factor from document amount of material to Acts units.
| SlabStore Acts::TrackingGeometryMaterialJsonConverter::DecodeContext::store | ( | const std::string & | name | ) | const |
Resolve a shared slab store by its document name.
| name | Store name in the material payload |
| std::invalid_argument | if the store is unknown |