Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
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
9namespace JOSCPROB {}
10namespace JPP { using namespace JOSCPROB; }
11
12namespace JOSCPROB {
13
14 /**
15 * Low-level interface for oscillation baseline calculators.
16 */
18 {
19 /**
20 * Default constructor.
21 */
24
25
26 /**
27 * Virtual destructor.
28 */
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
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Low-level interface for oscillation baseline calculators.
virtual double getBaseline(const double costh) const =0
Get baseline for a given cosine zenith angle.
virtual double getCosth(const double L) const =0
Get cosine zenith angle for a given baseline.