|
Jpp
18.4.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 29 of file JBaselineComputer.hh.
|
inline |
Default constructor.
Definition at line 36 of file JBaselineComputer.hh.
|
inline |
Constructor.
| Lmin | Minimum baseline [km] |
| Lmax | Maximum baseline [km] |
Definition at line 48 of file JBaselineComputer.hh.
|
inline |
Get minimum baseline.
Definition at line 60 of file JBaselineComputer.hh.
|
inline |
Get maximum baseline.
Definition at line 71 of file JBaselineComputer.hh.
|
inline |
Get inner radius.
Definition at line 82 of file JBaselineComputer.hh.
|
inline |
Get outer radius.
Definition at line 93 of file JBaselineComputer.hh.
|
inlineoverridevirtual |
Get cosine zenith angle for a given baseline.
| L | baseline [km] |
Implements JOSCPROB::JBaselineComputerInterface.
Definition at line 105 of file JBaselineComputer.hh.
|
inlineoverridevirtual |
Get baseline for a given cosine zenith angle.
| costh | cosine zenith angle |
Implements JOSCPROB::JBaselineComputerInterface.
Definition at line 120 of file JBaselineComputer.hh.
|
inline |
Get baseline for a given cosine zenith angle.
| costh | cosine zenith angle |
Definition at line 137 of file JBaselineComputer.hh.
Binary stream input of baseline extrema.
| in | input stream |
Implements JIO::JSerialisable.
Definition at line 149 of file JBaselineComputer.hh.
Binary stream output of oscillation parameters.
| out | output stream |
Implements JIO::JSerialisable.
Definition at line 161 of file JBaselineComputer.hh.
|
friend |
Stream input of baseline calculator.
| in | input stream |
| object | object |
Definition at line 174 of file JBaselineComputer.hh.
|
friend |
Stream output of baseline calculator.
| out | output stream |
| object | object |
Definition at line 187 of file JBaselineComputer.hh.
|
protected |
Minimum baseline [km].
Definition at line 197 of file JBaselineComputer.hh.
|
protected |
Maximum baseline [km].
Definition at line 198 of file JBaselineComputer.hh.
1.8.5