#include <poly2d_base.h>
Public Member Functions | |
void | Collect () |
void | Compress () |
void | DecPow (int nvar) |
void | Diff (int nvar) |
double | Eval () |
double | GetVal () |
double | GetVal (const double r, const double z) |
void | IncPow (int nvar) |
void | Int (int nvar) |
bool | IsOn () |
bool | IsRZSet () |
poly2d_base () | |
poly2d_base (const poly2d_base &S) | |
void | Print (std::ostream &out=std::cout, const std::streamsize prec=5) |
void | Scale (const double C) |
virtual | ~poly2d_base () |
Static Public Member Functions | |
static unsigned | Count () |
static int | GetMaxPow () |
static void | IncNPwr (const unsigned N) |
static void | PrintTab (std::ostream &out=std::cout, const std::streamsize prec=5) |
static void | SetPoint (const double r, const double z) |
Static Protected Member Functions | |
static void | AdjustTab () |
static void | FillTable (const double r, const double z) |
static void | SetTabSize (const unsigned N) |
Protected Attributes | |
std::vector< poly2d_term > | data |
unsigned | max_pwr |
Static Protected Attributes | |
static const double | MIN_COEFF = DBL_EPSILON |
static unsigned | NPwr = 0 |
static unsigned | NTab = 0 |
static std::set< poly2d_base * > | poly2d_base_set |
static double | rval = 0. |
static double ** | rz_pow = nullptr |
static bool | rz_set = false |
static double | zval = 0. |
Definition at line 45 of file poly2d_base.h.
|
inline |
Definition at line 83 of file poly2d_base.h.
References max_pwr, and poly2d_base_set.
|
inline |
Definition at line 87 of file poly2d_base.h.
References data, max_pwr, and poly2d_base_set.
|
virtual |
Definition at line 53 of file poly2d_base.cc.
References GetMaxPow(), max_pwr, NPwr, NTab, poly2d_base_set, rval, rz_pow, rz_set, and zval.
|
staticprotected |
Definition at line 120 of file poly2d_base.cc.
References GetMaxPow(), NPwr, NTab, and SetTabSize().
void poly2d_base::Collect | ( | ) |
Definition at line 171 of file poly2d_base.cc.
References correctionTermsCaloMet_cff::C, data, gpuClustering::pixelStatus::mask, max_pwr, MIN_COEFF, and np.
Referenced by Compress(), magfieldparam::rz_harm_poly::LadderDwn(), and magfieldparam::rz_harm_poly::LadderUp().
|
inline |
|
inlinestatic |
Definition at line 78 of file poly2d_base.h.
References poly2d_base_set.
Referenced by magfieldparam::rz_harm_poly::ParentCount(), and SetPoint().
void poly2d_base::DecPow | ( | int | nvar | ) |
Definition at line 282 of file poly2d_base.cc.
References magfieldparam::poly2d_term::coeff, data, GetMaxPow(), max_pwr, magfieldparam::poly2d_term::np, and NPwr.
void poly2d_base::Diff | ( | int | nvar | ) |
Definition at line 231 of file poly2d_base.cc.
References magfieldparam::poly2d_term::coeff, data, GetMaxPow(), max_pwr, magfieldparam::poly2d_term::np, and NPwr.
double poly2d_base::Eval | ( | ) |
Definition at line 163 of file poly2d_base.cc.
References data, dqmiolumiharvest::j, np, and rz_pow.
Referenced by GetVal().
|
staticprotected |
|
static |
Definition at line 107 of file poly2d_base.cc.
References poly2d_base_set.
Referenced by AdjustTab(), DecPow(), Diff(), IncPow(), Int(), and ~poly2d_base().
|
inline |
|
inline |
Definition at line 116 of file poly2d_base.h.
References Eval(), and SetPoint().
|
inlinestatic |
Definition at line 73 of file poly2d_base.h.
Referenced by magfieldparam::HarmBasis3DCyl::HarmBasis3DCyl().
void poly2d_base::IncPow | ( | int | nvar | ) |
void poly2d_base::Int | ( | int | nvar | ) |
|
inline |
|
inline |
void poly2d_base::Print | ( | std::ostream & | out = std::cout , |
const std::streamsize | prec = 5 |
||
) |
Definition at line 214 of file poly2d_base.cc.
References data, max_pwr, and MillePedeFileConverter_cfg::out.
Referenced by magfieldparam::rz_harm_poly::Print().
|
static |
Definition at line 127 of file poly2d_base.cc.
References NPwr, NTab, MillePedeFileConverter_cfg::out, and rz_pow.
void poly2d_base::Scale | ( | const double | C | ) |
Definition at line 307 of file poly2d_base.cc.
References correctionTermsCaloMet_cff::C, and data.
Referenced by magfieldparam::rz_harm_poly::LadderDwn(), and magfieldparam::rz_harm_poly::LadderUp().
|
static |
Definition at line 151 of file poly2d_base.cc.
References Count(), FillTable(), NPwr, NTab, rval, rz_set, SetTabSize(), and zval.
Referenced by GetVal(), and magfieldparam::rz_harm_poly::SetPoint().
|
staticprotected |
Definition at line 73 of file poly2d_base.cc.
References N, NTab, rval, rz_pow, and zval.
Referenced by AdjustTab(), and SetPoint().
|
protected |
Definition at line 69 of file poly2d_base.h.
Referenced by data_sources.node::__str__(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), Collect(), DecPow(), Diff(), Eval(), data_sources.json_list::get_members(), IncPow(), Int(), IsOn(), magfieldparam::rz_harm_poly::LadderDwn(), magfieldparam::rz_harm_poly::LadderUp(), data_sources.json_list::last(), poly2d_base(), Print(), magfieldparam::rz_harm_poly::rz_harm_poly(), Scale(), and cuy.FindIssue::startElement().
|
protected |
Definition at line 70 of file poly2d_base.h.
Referenced by Collect(), DecPow(), Diff(), IncPow(), Int(), poly2d_base(), Print(), magfieldparam::rz_harm_poly::rz_harm_poly(), and ~poly2d_base().
|
staticprotected |
Definition at line 58 of file poly2d_base.h.
Referenced by Collect().
|
staticprotected |
Definition at line 55 of file poly2d_base.h.
Referenced by AdjustTab(), DecPow(), Diff(), FillTable(), IncNPwr(), IncPow(), Int(), PrintTab(), magfieldparam::rz_harm_poly::rz_harm_poly(), SetPoint(), and ~poly2d_base().
|
staticprotected |
Definition at line 54 of file poly2d_base.h.
Referenced by AdjustTab(), PrintTab(), SetPoint(), SetTabSize(), and ~poly2d_base().
|
staticprotected |
Definition at line 60 of file poly2d_base.h.
Referenced by Count(), magfieldparam::rz_harm_poly::GetMaxM(), GetMaxPow(), poly2d_base(), magfieldparam::rz_harm_poly::rz_harm_poly(), and ~poly2d_base().
|
staticprotected |
Definition at line 50 of file poly2d_base.h.
Referenced by SetPoint(), SetTabSize(), and ~poly2d_base().
|
staticprotected |
Definition at line 53 of file poly2d_base.h.
Referenced by Eval(), FillTable(), PrintTab(), SetTabSize(), and ~poly2d_base().
|
staticprotected |
Definition at line 56 of file poly2d_base.h.
Referenced by GetVal(), IsRZSet(), magfieldparam::rz_harm_poly::rz_harm_poly(), SetPoint(), and ~poly2d_base().
|
staticprotected |
Definition at line 51 of file poly2d_base.h.
Referenced by SetPoint(), SetTabSize(), and ~poly2d_base().