#ifndef __JOSCPROB__JBASELINECOMPUTERINTERFACE__ #define __JOSCPROB__JBASELINECOMPUTERINTERFACE__ /** * \author bjung, mdejong */ namespace JOSCPROB {} namespace JPP { using namespace JOSCPROB; } namespace JOSCPROB { /** * Low-level interface for oscillation baseline calculators. */ struct JBaselineComputerInterface { /** * Default constructor. */ JBaselineComputerInterface() {} /** * Virtual destructor. */ ~JBaselineComputerInterface() {} /** * Get cosine zenith angle for a given baseline. * * \param L baseline [km] * \return cosine zenith angle */ virtual double getCosth(const double L) const = 0; /** * Get baseline for a given cosine zenith angle. * * \param costh cosine zenith angle * \return baseline [km] */ virtual double getBaseline(const double costh) const = 0; }; } #endif