From 024bea15aa2c1dde4c67530f27354a22c652db8e Mon Sep 17 00:00:00 2001 From: siilieva Date: Thu, 21 Mar 2024 17:09:56 +0100 Subject: [PATCH] Define SNDLHC specific paramets in ShipUnit header to use with C++ --- shipdata/ShipUnit.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shipdata/ShipUnit.h b/shipdata/ShipUnit.h index bc04a1d971..c852b0071f 100755 --- a/shipdata/ShipUnit.h +++ b/shipdata/ShipUnit.h @@ -324,7 +324,12 @@ namespace ShipUnit // static const Double_t universe_mean_density = 1.e-25*g/cm3; + // speed of light in vacuum + static const Double_t speedOfLight = 299792458*m/s; + // specific SNDLHC constants + static const Double_t snd_freq = 160.316*megahertz; // sndlhc clock + static const Double_t snd_TDC2ns = (1E9/snd_freq)*ns; }; #endif /* defined(____ShipUnit__) */