Jpp  debug
the software that should make you happy
JSeaWater.hh
Go to the documentation of this file.
1 #ifndef __JSIRENE__SEAWATER__
2 #define __JSIRENE__SEAWATER__
3 
4 #include "JLang/JCC.hh"
5 
6 /**
7  * \author mdejong
8  */
9 
10 namespace JSIRENE {}
11 namespace JPP { using namespace JSIRENE; }
12 
13 namespace JSIRENE {
14 
15 
16  /**
17  * Sea water composition.
18  */
19  class JSeaWater
20  {
21  public:
22  /**
23  * Estimated mass fractions of chemical elements in sea water
24  */
25 #ifndef RADIATION
26  static double O () { return 0.8584; }
27  static double H () { return 0.1082; }
28  static double Na() { return 0.0108; }
29  static double Cl() { return 0.0194; }
30 #else
31  static double O () { return 0.85630; }
32  static double H () { return 0.10790; }
33  static double Na() { return 0.01160; }
34  static double Cl() { return 0.02090; }
35  static double Ca() { return 0.00045; }
36  static double Mg() { return 0.00140; }
37  static double K () { return 0.00045; }
38  static double S () { return 0.00100; }
39 #endif
40  };
41 }
42 
43 #endif
Compiler version dependent expressions, macros, etc.
Sea water composition.
Definition: JSeaWater.hh:20
static double Cl()
Definition: JSeaWater.hh:29
static double Na()
Definition: JSeaWater.hh:28
static double O()
Estimated mass fractions of chemical elements in sea water.
Definition: JSeaWater.hh:26
static double H()
Definition: JSeaWater.hh:27
static const uint32_t K[64]
Definition: crypt.cc:77
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Detector simulations.