Celeritas
0.5.0-86+4a8eea4
|
Convert a unit from Geant4 scale to another. More...
#include <Scaler.hh>
Public Member Functions | |
double | operator() (double val) const |
Convert a positional scalar. | |
std::pair< double, double > | operator() (G4TwoVector const &vec) const |
Convert a two-vector. | |
vecgeom::Vector3D< double > | operator() (G4ThreeVector const &vec) const |
Convert a three-vector. | |
Convert a unit from Geant4 scale to another.
Currently the scale is hardcoded as mm (i.e., CLHEP units) but could easily be a class attribute.