#include <rz_poly.h>
Public Member Functions | |
rz_poly | Diff (int nvar, bool keep_empty=false) |
double * | Expand (double *C) |
int | GetLength () const |
int | GetMaxRPow () const |
int | GetMaxZPow () const |
int | GetNActive () const |
double | GetSVal (double r, double z, const double *C) const |
double * | GetVVal (double r, double z, double *rez_out=nullptr) |
rz_poly | Int (int nvar) |
rz_poly & | operator*= (double *C) |
rz_poly & | operator*= (double C) |
void | Print () |
rz_poly () | |
rz_poly (const rz_poly &S) | |
rz_poly (int N) | |
void | SetAllON (int npoly) |
void | SetOFF (int npoly) |
void | SetON (int npoly) |
~rz_poly () | |
Private Attributes | |
poly_arr | data |
bool * | is_off |
int | max_nr |
int | max_nz |
int | n_active |
double * | r_pow |
double * | z_pow |
|
inline |
rz_poly::rz_poly | ( | int | N | ) |
Definition at line 8 of file rz_poly.cc.
References magfieldparam::poly_term::coeff, data, ntuplemaker::fill, visualization-live-secondInstance_cfg::m, N, magfieldparam::poly_term::np, EgHLTOffHistBins_cfi::nr, and nt.
rz_poly::rz_poly | ( | const rz_poly & | S | ) |
rz_poly::~rz_poly | ( | ) |
rz_poly rz_poly::Diff | ( | int | nvar, |
bool | keep_empty = false |
||
) |
Definition at line 132 of file rz_poly.cc.
References magfieldparam::poly_term::coeff, filterCSVwithJSON::copy, data, data, is_off, max_nr, max_nz, n_active, magfieldparam::poly_term::np, r_pow, findQualityFiles::size, and z_pow.
Referenced by magfieldparam::BFit::BFit().
double * rz_poly::Expand | ( | double * | C | ) |
|
inline |
|
inline |
|
inline |
|
inline |
double rz_poly::GetSVal | ( | double | r, |
double | z, | ||
const double * | C | ||
) | const |
Definition at line 257 of file rz_poly.cc.
References gen::C, data, createfilelist::int, alignCSCRings::r, and findQualityFiles::size.
double * rz_poly::GetVVal | ( | double | r, |
double | z, | ||
double * | rez_out = nullptr |
||
) |
Definition at line 288 of file rz_poly.cc.
References data, createfilelist::int, alignCSCRings::r, and findQualityFiles::size.
rz_poly rz_poly::Int | ( | int | nvar | ) |
rz_poly & rz_poly::operator*= | ( | double * | C | ) |
Definition at line 242 of file rz_poly.cc.
rz_poly & rz_poly::operator*= | ( | double | C | ) |
Definition at line 228 of file rz_poly.cc.
void rz_poly::Print | ( | void | ) |
Definition at line 112 of file rz_poly.cc.
References gather_cfg::cout, and data.
|
inline |
void rz_poly::SetOFF | ( | int | npoly | ) |
Definition at line 92 of file rz_poly.cc.
References data.
Referenced by magfieldparam::BFit::BFit().
void rz_poly::SetON | ( | int | npoly | ) |
|
private |
Definition at line 29 of file rz_poly.h.
Referenced by data_sources.node::__str__(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), Diff(), data_sources.json_list::get_members(), GetLength(), Int(), data_sources.json_list::last(), SetAllON(), and cuy.FindIssue::startElement().
|
private |
Definition at line 33 of file rz_poly.h.
Referenced by Diff(), Int(), and SetAllON().
|
private |
Definition at line 30 of file rz_poly.h.
Referenced by Diff(), GetMaxRPow(), and Int().
|
private |
Definition at line 30 of file rz_poly.h.
Referenced by Diff(), GetMaxZPow(), and Int().
|
private |
Definition at line 30 of file rz_poly.h.
Referenced by Diff(), GetNActive(), and Int().
|
private |