1 #ifndef __JACOUSTICS__JACOUSTICSSUPPORTKIT__
2 #define __JACOUSTICS__JACOUSTICSSUPPORTKIT__
12 namespace JACOUSTICS {}
13 namespace JPP {
using namespace JACOUSTICS; }
15 namespace JACOUSTICS {
52 const double f_kHz)
const
54 const double z = D_m * 1.0e-3;
55 const double f1 = 0.78 * sqrt(
S/35.0) *
exp(
T/26.0);
56 const double f2 = 42.0 *
exp(
T/17.0);
57 const double a1 = 0.106 * f1*(f_kHz*f_kHz) / (f_kHz*f_kHz + f1*f1) *
exp((
pH-8.0)/0.56);
58 const double a2 = 0.52 * (1.0 +
T/43.0) * (
S/35.0) * f2 * f_kHz*f_kHz / (f_kHz*f_kHz + f2*f2) *
exp(-z/6.0);
59 const double a0 = 0.00049 *
exp(-
T/27.0 + z/17.0) * f_kHz*f_kHz;
60 const double A = a0 + a1 + a2;
62 return 10.0 / (A*log(10.0));
double operator()(const double D_m, const double f_kHz) const
Get attentuation length.
static const double TOAMIN_S
Minimal allowed time-of-arrival [s].
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable STRING $argv[2] set_array QUANTILES set_variable FORMULA *[0] exp(-0.5 *(x-[1])*(x-[1])/([2]*[2]))" set_variable MODULE `getModule -a $DETECTOR -L "$STRING 0"` typeset -Z 4 STRING JOpera1D -f hydrophone.root
static const double TOAMAX_S
Maximal allowed time-of-arrival [s].
JAttenuationLength(const double T, const double S, const double pH)
Constructor.
static const JAttenuationLength getAttenuationLength(13.2, 38.0, 8.0)
Function object to calculate attenutation length.
Auxiliary data structure for calculation of attenuation length.
source $JPP_DIR setenv csh $JPP_DIR eval JShellParser o a A