SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
Materials.cpp File Reference
#include "SHiP/geometry/Materials.h"
#include "SHiP/geometry/Units.h"
#include <GeoModelKernel/GeoElement.h>
#include <GeoModelKernel/GeoMaterial.h>
#include <stdexcept>
#include <string>
Include dependency graph for Materials.cpp:

Namespaces

namespace  SHiP
namespace  SHiP::geometry

Functions

template<auto U, typename Rep>
requires (U == mm || U == cm || U == m)
constexpr double SHiP::geometry::gm (mp_units::quantity< U, Rep > q)
 Length quantity -> GeoModel raw double (GeoModel native unit: mm).