#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 (int N) | |
rz_poly (const rz_poly &S) | |
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 |
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 | ) |
Definition at line 56 of file rz_poly.cc.
References filterCSVwithJSON::copy, and data.
rz_poly::~rz_poly | ( | ) |
Definition at line 82 of file rz_poly.cc.
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, and z_pow.
Referenced by magfieldparam::BFit::BFit().
double * rz_poly::Expand | ( | double * | C | ) |
Definition at line 330 of file rz_poly.cc.
References correctionTermsCaloMet_cff::C, data, and createfilelist::int.
|
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 correctionTermsCaloMet_cff::C, data, and createfilelist::int.
double * rz_poly::GetVVal | ( | double | r, |
double | z, | ||
double * | rez_out = nullptr |
||
) |
rz_poly rz_poly::Int | ( | int | nvar | ) |
Definition at line 191 of file rz_poly.cc.
References filterCSVwithJSON::copy, data, data, is_off, max_nr, max_nz, n_active, r_pow, and z_pow.
rz_poly & rz_poly::operator*= | ( | double | C | ) |
rz_poly & rz_poly::operator*= | ( | double * | C | ) |
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 |