#include <rz_harm_poly.h>
|
static unsigned | Count () |
|
static int | GetMaxM () |
|
static unsigned | ParentCount () |
|
static void | PrintTrigArr (std::ostream &out=std::cout, const std::streamsize prec=5) |
|
static void | SetPhi (const double phi) |
|
static void | SetPoint (const double r, const double z, const double phi) |
|
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) |
|
|
void | PrintLM (std::ostream &out=std::cout) |
|
Definition at line 38 of file rz_harm_poly.h.
◆ rz_harm_poly() [1/4]
magfieldparam::rz_harm_poly::rz_harm_poly |
( |
| ) |
|
|
inline |
◆ rz_harm_poly() [2/4]
magfieldparam::rz_harm_poly::rz_harm_poly |
( |
const poly2d_base & |
S | ) |
|
|
inline |
◆ rz_harm_poly() [3/4]
magfieldparam::rz_harm_poly::rz_harm_poly |
( |
const rz_harm_poly & |
S | ) |
|
|
inline |
◆ rz_harm_poly() [4/4]
rz_harm_poly::rz_harm_poly |
( |
const unsigned |
N | ) |
|
Definition at line 23 of file rz_harm_poly.cc.
27 unsigned nz =
N,
nr = 0, nv = 0;
30 data = std::vector<poly2d_term>((
N + 2) / 2, v3);
36 data[nv].coeff = -
data[nv - 1].coeff * (nz + 1) * (nz + 2) / (
nr *
nr);
References Cnt, magfieldparam::poly2d_base::data, L, M, magfieldparam::poly2d_base::max_pwr, N, magfieldparam::poly2d_base::NPwr, EgHLTOffHistBins_cfi::nr, phi_set, magfieldparam::poly2d_base::poly2d_base_set, and magfieldparam::poly2d_base::rz_set.
◆ ~rz_harm_poly()
rz_harm_poly::~rz_harm_poly |
( |
| ) |
|
|
override |
◆ CheatL()
void magfieldparam::rz_harm_poly::CheatL |
( |
const unsigned |
newL | ) |
|
|
inline |
◆ Count()
static unsigned magfieldparam::rz_harm_poly::Count |
( |
| ) |
|
|
inlinestatic |
◆ FillTrigArr()
void rz_harm_poly::FillTrigArr |
( |
const double |
phi | ) |
|
|
staticprivate |
◆ GetCos()
double magfieldparam::rz_harm_poly::GetCos |
( |
| ) |
|
|
inline |
◆ GetDecPow()
rz_harm_poly magfieldparam::rz_harm_poly::GetDecPow |
( |
int |
nvar | ) |
|
|
inline |
◆ GetDiff()
rz_harm_poly magfieldparam::rz_harm_poly::GetDiff |
( |
int |
nvar | ) |
|
|
inline |
◆ GetIncPow()
rz_harm_poly magfieldparam::rz_harm_poly::GetIncPow |
( |
int |
nvar | ) |
|
|
inline |
◆ GetInt()
rz_harm_poly magfieldparam::rz_harm_poly::GetInt |
( |
int |
nvar | ) |
|
|
inline |
◆ GetL()
unsigned magfieldparam::rz_harm_poly::GetL |
( |
| ) |
|
|
inline |
◆ GetM()
int magfieldparam::rz_harm_poly::GetM |
( |
| ) |
|
|
inline |
◆ GetMaxM()
int rz_harm_poly::GetMaxM |
( |
| ) |
|
|
static |
◆ GetSin()
double magfieldparam::rz_harm_poly::GetSin |
( |
| ) |
|
|
inline |
◆ IsPhiSet()
bool magfieldparam::rz_harm_poly::IsPhiSet |
( |
| ) |
|
|
inline |
◆ LadderDwn()
Definition at line 194 of file rz_harm_poly.cc.
198 p_out.
data.reserve(2 *
L);
203 for (it = 0; it <
data.size(); ++it) {
209 p_out.
data.push_back(term);
212 for (it = 0; it <
data.size(); ++it) {
218 p_out.
data.push_back(term);
222 if (!p_out.
data.empty()) {
References funct::abs(), magfieldparam::poly2d_term::coeff, magfieldparam::poly2d_base::Collect(), magfieldparam::poly2d_base::data, createfilelist::int, L, M, MaxM, magfieldparam::poly2d_term::np, magfieldparam::poly2d_base::Scale(), and mathSSE::sqrt().
◆ LadderUp()
Definition at line 155 of file rz_harm_poly.cc.
159 p_out.
data.reserve(2 *
L);
164 for (it = 0; it <
data.size(); ++it) {
170 p_out.
data.push_back(term);
173 for (it = 0; it <
data.size(); ++it) {
179 p_out.
data.push_back(term);
183 if (!p_out.
data.empty()) {
References funct::abs(), magfieldparam::poly2d_term::coeff, magfieldparam::poly2d_base::Collect(), magfieldparam::poly2d_base::data, createfilelist::int, L, M, MaxM, magfieldparam::poly2d_term::np, magfieldparam::poly2d_base::Scale(), and mathSSE::sqrt().
◆ ParentCount()
static unsigned magfieldparam::rz_harm_poly::ParentCount |
( |
| ) |
|
|
inlinestatic |
◆ Print()
void magfieldparam::rz_harm_poly::Print |
( |
std::ostream & |
out = std::cout , |
|
|
const std::streamsize |
prec = 5 |
|
) |
| |
|
inline |
◆ PrintLM()
void magfieldparam::rz_harm_poly::PrintLM |
( |
std::ostream & |
out = std::cout | ) |
|
|
inlineprivate |
◆ PrintTrigArr()
void rz_harm_poly::PrintTrigArr |
( |
std::ostream & |
out = std::cout , |
|
|
const std::streamsize |
prec = 5 |
|
) |
| |
|
static |
◆ SetPhi()
void rz_harm_poly::SetPhi |
( |
const double |
phi | ) |
|
|
static |
◆ SetPoint()
static void magfieldparam::rz_harm_poly::SetPoint |
( |
const double |
r, |
|
|
const double |
z, |
|
|
const double |
phi |
|
) |
| |
|
inlinestatic |
◆ SetTrigArrSize()
void rz_harm_poly::SetTrigArrSize |
( |
const unsigned |
N | ) |
|
|
staticprivate |
◆ Cnt
unsigned rz_harm_poly::Cnt = 0 |
|
staticprivate |
unsigned magfieldparam::rz_harm_poly::L |
|
private |
int magfieldparam::rz_harm_poly::M |
|
private |
◆ MaxM
unsigned rz_harm_poly::MaxM = 0 |
|
staticprivate |
◆ phi_set
bool rz_harm_poly::phi_set = false |
|
staticprivate |
◆ phival
double rz_harm_poly::phival = -11111. |
|
staticprivate |
◆ TASize
unsigned rz_harm_poly::TASize = 0 |
|
staticprivate |
◆ TrigArr