ROOTInterpolator Class Reference
|
Ratpac-two
|
Public Types |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
RAT::ROOTInterpolator Class Reference
Public Types | |
| enum class | kind_t { kLinear , kCubic } |
| enum class | extrapolation_t { kError , kExtrapolate , kClamp , kConstant } |
Public Member Functions | |
| ROOTInterpolator (const TGraph &g, kind_t kind=kind_t::kLinear, extrapolation_t extrapolation=extrapolation_t::kExtrapolate, double fillvalue=0.0) | |
| ROOTInterpolator (TGraph &&graph, kind_t kind=kind_t::kLinear, extrapolation_t extrapolation=extrapolation_t::kExtrapolate, double fillvalue=0.0) noexcept | |
| ROOTInterpolator & | operator= (const ROOTInterpolator &other) |
| ROOTInterpolator & | operator= (ROOTInterpolator &&other) noexcept |
| ROOTInterpolator (const std::vector< double > &x, const std::vector< double > &y, kind_t kind=kind_t::kLinear, extrapolation_t extrapolation=extrapolation_t::kExtrapolate, double fillvalue=0.0) | |
| void | SetGraph (const TGraph &g) |
| void | SetGraph (TGraph &&graph) noexcept |
| void | SetData (const std::vector< double > &x, const std::vector< double > &y) |
| void | SetFillValue (double fillValue) |
| void | SetKind (kind_t kind) |
| void | SetExtrapolation (extrapolation_t extrapolation) |
| double | GetFillValue () const |
| kind_t | GetKind () const |
| extrapolation_t | GetExtrapolation () const |
| const TGraph * | GetGraph () const |
| double | operator() (double xx) const |
Protected Member Functions | |
| void | prepareGraph () |
Protected Attributes | |
| std::unique_ptr< TGraph > | fGraph |
| double | fMinX |
| double | fMaxX |
| kind_t | fKind = kind_t::kLinear |
| extrapolation_t | fExtrapolation = extrapolation_t::kExtrapolate |
| double | fFillValue = 0.0 |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/util/include/RAT/ROOTInterpolator.hh
Generated by