FairShip
Loading...
Searching...
No Matches
PythiaUnits.h File Reference
#include "ShipUnit.h"
Include dependency graph for PythiaUnits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  shipgen

Functions

constexpr double shipgen::PythiaLengthToCm (double x)
 A Pythia8 position (mm) in FairShip units (cm).
constexpr double shipgen::PythiaTimeToS (double t)
 A Pythia8 time (mm/c) in VMC units (s).

Variables

constexpr double shipgen::kPythiaLengthPerCm = 10.
 Pythia8 lengths are in mm, FairShip lengths in cm.
constexpr double shipgen::kCLightCmPerS = ShipUnit::c_light * ShipUnit::s
 Speed of light in cm/s, for VMC times in seconds.