Skip to content

Commit

Permalink
Define SNDLHC specific paramets in ShipUnit header to use with C++
Browse files Browse the repository at this point in the history
  • Loading branch information
siilieva authored and siilieva committed Mar 21, 2024
1 parent 20aad07 commit 024bea1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions shipdata/ShipUnit.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__) */

0 comments on commit 024bea1

Please sign in to comment.