Jpp
17.3.1
the software that should make you happy
|
Auxiliary data structure for storing and calculating baselines. More...
#include <JBaselineCalculator.hh>
Public Member Functions | |
JBaselineCalculator () | |
Default constructor. More... | |
JBaselineCalculator (const double Lmin, const double Lmax) | |
Constructor. More... | |
double | getMinimumBaseline () const |
Get minimum baseline. More... | |
double | getMaximumBaseline () const |
Get maximum baseline. More... | |
double | getInnerRadius () const |
Get inner radius. More... | |
double | getOuterRadius () const |
Get outer radius. More... | |
double | getCosth (const double L) const |
Get cosine zenith angle for a given baseline. More... | |
double | getBaseline (const double costh) const |
Get baseline for a given cosine zenith angle. More... | |
double | operator() (const double costh) const |
Get baseline for a given cosine zenith angle. More... | |
JReader & | read (JReader &in) override |
Binary stream input of baseline extrema. More... | |
JWriter & | write (JWriter &out) const override |
Binary stream output of oscillation parameters. More... | |
Protected Attributes | |
double | Lmin |
Minimum baseline [km]. More... | |
double | Lmax |
Maximum baseline [km]. More... | |
Friends | |
std::istream & | operator>> (std::istream &in, JBaselineCalculator &object) |
Stream input of baseline calculator. More... | |
std::ostream & | operator<< (std::ostream &out, const JBaselineCalculator &object) |
Stream output of baseline calculator. More... | |
Auxiliary data structure for storing and calculating baselines.
Definition at line 25 of file JBaselineCalculator.hh.
|
inline |
Default constructor.
Definition at line 31 of file JBaselineCalculator.hh.
|
inline |
Constructor.
Lmin | Minimum baseline [km] |
Lmax | Maximum baseline [km] |
Definition at line 43 of file JBaselineCalculator.hh.
|
inline |
Get minimum baseline.
Definition at line 55 of file JBaselineCalculator.hh.
|
inline |
Get maximum baseline.
Definition at line 66 of file JBaselineCalculator.hh.
|
inline |
Get inner radius.
Definition at line 77 of file JBaselineCalculator.hh.
|
inline |
Get outer radius.
Definition at line 88 of file JBaselineCalculator.hh.
|
inline |
Get cosine zenith angle for a given baseline.
L | baseline [km] |
Definition at line 100 of file JBaselineCalculator.hh.
|
inline |
Get baseline for a given cosine zenith angle.
costh | cosine zenith angle |
Definition at line 115 of file JBaselineCalculator.hh.
|
inline |
Get baseline for a given cosine zenith angle.
costh | cosine zenith angle |
Definition at line 132 of file JBaselineCalculator.hh.
Binary stream input of baseline extrema.
in | input stream |
Implements JIO::JSerialisable.
Definition at line 144 of file JBaselineCalculator.hh.
Binary stream output of oscillation parameters.
out | output stream |
Implements JIO::JSerialisable.
Definition at line 156 of file JBaselineCalculator.hh.
|
friend |
Stream input of baseline calculator.
in | input stream |
object | object |
Definition at line 169 of file JBaselineCalculator.hh.
|
friend |
Stream output of baseline calculator.
out | output stream |
object | object |
Definition at line 182 of file JBaselineCalculator.hh.
|
protected |
Minimum baseline [km].
Definition at line 190 of file JBaselineCalculator.hh.
|
protected |
Maximum baseline [km].
Definition at line 191 of file JBaselineCalculator.hh.