Jpp  18.4.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JBaselineComputerInterface.hh
Go to the documentation of this file.
1 #ifndef __JOSCPROB__JBASELINECOMPUTERINTERFACE__
2 #define __JOSCPROB__JBASELINECOMPUTERINTERFACE__
3 
4 
5 /**
6  * \author bjung, mdejong
7  */
8 
9 namespace JOSCPROB {}
10 namespace JPP { using namespace JOSCPROB; }
11 
12 namespace JOSCPROB {
13 
14  /**
15  * Low-level interface for oscillation baseline calculators.
16  */
18  {
19  /**
20  * Default constructor.
21  */
23  {}
24 
25 
26  /**
27  * Virtual destructor.
28  */
30  {}
31 
32 
33  /**
34  * Get cosine zenith angle for a given baseline.
35  *
36  * \param L baseline [km]
37  * \return cosine zenith angle
38  */
39  virtual double getCosth(const double L) const = 0;
40 
41 
42  /**
43  * Get baseline for a given cosine zenith angle.
44  *
45  * \param costh cosine zenith angle
46  * \return baseline [km]
47  */
48  virtual double getBaseline(const double costh) const = 0;
49  };
50 }
51 
52 #endif
Low-level interface for oscillation baseline calculators.
virtual double getCosth(const double L) const =0
Get cosine zenith angle for a given baseline.
virtual double getBaseline(const double costh) const =0
Get baseline for a given cosine zenith angle.