|
Jpp
19.0.0
the software that should make you happy
|
Auxiliary data structure for storing and calculating baselines. More...
#include <JBaselineComputer.hh>
Public Member Functions | |
| JBaselineComputer () | |
| Default constructor. More... | |
| JBaselineComputer (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 override |
| Get cosine zenith angle for a given baseline. More... | |
| double | getBaseline (const double costh) const override |
| 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, JBaselineComputer &object) |
| Stream input of baseline calculator. More... | |
| std::ostream & | operator<< (std::ostream &out, const JBaselineComputer &object) |
| Stream output of baseline calculator. More... | |
Auxiliary data structure for storing and calculating baselines.
Definition at line 31 of file JBaselineComputer.hh.
|
inline |
Default constructor.
Definition at line 38 of file JBaselineComputer.hh.
|
inline |
Constructor.
| Lmin | Minimum baseline [km] |
| Lmax | Maximum baseline [km] |
Definition at line 50 of file JBaselineComputer.hh.
|
inline |
Get minimum baseline.
Definition at line 62 of file JBaselineComputer.hh.
|
inline |
Get maximum baseline.
Definition at line 73 of file JBaselineComputer.hh.
|
inline |
Get inner radius.
Definition at line 84 of file JBaselineComputer.hh.
|
inline |
Get outer radius.
Definition at line 95 of file JBaselineComputer.hh.
|
inlineoverridevirtual |
Get cosine zenith angle for a given baseline.
| L | baseline [km] |
Implements JOSCPROB::JBaselineComputerInterface.
Definition at line 107 of file JBaselineComputer.hh.
|
inlineoverridevirtual |
Get baseline for a given cosine zenith angle.
| costh | cosine zenith angle |
Implements JOSCPROB::JBaselineComputerInterface.
Definition at line 122 of file JBaselineComputer.hh.
|
inline |
Get baseline for a given cosine zenith angle.
| costh | cosine zenith angle |
Definition at line 139 of file JBaselineComputer.hh.
Binary stream input of baseline extrema.
| in | input stream |
Implements JIO::JSerialisable.
Definition at line 151 of file JBaselineComputer.hh.
Binary stream output of oscillation parameters.
| out | output stream |
Implements JIO::JSerialisable.
Definition at line 163 of file JBaselineComputer.hh.
|
friend |
Stream input of baseline calculator.
| in | input stream |
| object | object |
Definition at line 176 of file JBaselineComputer.hh.
|
friend |
Stream output of baseline calculator.
| out | output stream |
| object | object |
Definition at line 189 of file JBaselineComputer.hh.
|
protected |
Minimum baseline [km].
Definition at line 199 of file JBaselineComputer.hh.
|
protected |
Maximum baseline [km].
Definition at line 200 of file JBaselineComputer.hh.
1.8.5