Celeritas 0.7.0-dev.356+develop.6a0c715
Loading...
Searching...
No Matches
Functions
Convert.hh File Reference
#include <larcoreobj/SimpleTypesAndConstants/geo_vectors.h>
#include "corecel/Types.hh"
#include "corecel/cont/Array.hh"
#include "corecel/math/Quantity.hh"

Functions

template<class Q >
double celeritas::convert_to_larsoft (real_type v)
 Convert via a quantity to native LArSoft types/units.
 
template<class Q >
real_type celeritas::convert_from_larsoft (double v)
 Convert via a quantity from native LArSoft types/units.
 
template<class Q , class T >
geo::Point_t celeritas::convert_to_larsoft (Array< T, 3 > const &v)
 Convert via a quantity to native LArSoft types/units.
 
template<class Q >
Array< typename Q::value_type, 3 > celeritas::convert_from_larsoft (geo::Point_t const &v)
 Convert via a quantity from native LArSoft types/units.
 

Function Documentation

◆ convert_to_larsoft()

template<class Q >
double celeritas::convert_to_larsoft ( real_type  v)

Convert via a quantity to native LArSoft types/units.

Todo:
Update with #2223