#include <HarmBasis3DCyl.h>
Public Member Functions | |
void | EvalBphi () |
void | EvalBr () |
void | EvalBz () |
void | EvalPtn () |
double | GetBphi (double *coeff) |
double | GetBphi_k (const unsigned k) |
double | GetBr (double *coeff) |
double | GetBr_k (const unsigned k) |
double | GetBz (double *coeff) |
double | GetBz_k (const unsigned k) |
unsigned | GetDim () |
unsigned | GetLen () |
void | GetLM (const unsigned j, int &Lj, int &Mj) |
double | GetPtn (double *coeff) |
double | GetPtn_k (const unsigned k) |
HarmBasis3DCyl (const unsigned N=18) | |
void | Print (std::ostream &out=std::cout) |
void | PrintBphiB (std::ostream &out=std::cout) |
void | PrintBrB (std::ostream &out=std::cout) |
void | PrintBzB (std::ostream &out=std::cout) |
void | PrintPtB (std::ostream &out=std::cout) |
void | SetPoint (const double r, const double z, const double phi) |
virtual | ~HarmBasis3DCyl () |
Private Member Functions | |
void | EvalRZ (harm_poly_arr &B, double *val) |
double | GetVal (double *coeff, double *basis) |
void | Print (harm_poly_arr &B, std::ostream &out=std::cout) |
Private Attributes | |
double * | Bphi_k |
harm_poly_arr | BphiB |
double * | Br_k |
harm_poly_arr | BrB |
double * | Bz_k |
harm_poly_arr | BzB |
unsigned | Dim |
int * | L_k |
unsigned | Len |
int * | M_k |
double * | P_k |
harm_poly_arr | PtB |
Definition at line 17 of file HarmBasis3DCyl.h.
HarmBasis3DCyl::HarmBasis3DCyl | ( | const unsigned | N = 18 | ) |
Definition at line 13 of file HarmBasis3DCyl.cc.
References Bphi_k, BphiB, Br_k, BrB, Bz_k, BzB, Dim, magfieldparam::poly2d_base::IncNPwr(), gen::k, dttmaxenums::L, L_k, Len, M_k, N, P_k, and PtB.
|
virtual |
void HarmBasis3DCyl::EvalBphi | ( | ) |
Definition at line 98 of file HarmBasis3DCyl.cc.
References Bphi_k, BphiB, Dim, magfieldparam::poly2d_base::Eval(), magfieldparam::rz_harm_poly::GetCos(), magfieldparam::rz_harm_poly::GetSin(), gen::k, dttmaxenums::L, and heppy_batch::val.
Referenced by EvalBz(), and magfieldparam::BFit3D::GetField().
|
inline |
Definition at line 51 of file HarmBasis3DCyl.h.
References EvalRZ().
Referenced by magfieldparam::BFit3D::GetField().
|
inline |
Definition at line 52 of file HarmBasis3DCyl.h.
References EvalBphi(), and EvalRZ().
Referenced by magfieldparam::BFit3D::GetField().
|
inline |
Definition at line 50 of file HarmBasis3DCyl.h.
References EvalRZ().
|
private |
Definition at line 78 of file HarmBasis3DCyl.cc.
References Dim, magfieldparam::poly2d_base::Eval(), magfieldparam::rz_harm_poly::GetCos(), magfieldparam::rz_harm_poly::GetSin(), gen::k, dttmaxenums::L, and heppy_batch::val.
Referenced by EvalBr(), EvalBz(), and EvalPtn().
|
inline |
Definition at line 68 of file HarmBasis3DCyl.h.
References GetVal().
Referenced by magfieldparam::BFit3D::GetField().
|
inline |
Definition at line 60 of file HarmBasis3DCyl.h.
References gen::k.
Referenced by magfieldparam::BFit3D::GetBphi_k().
|
inline |
Definition at line 66 of file HarmBasis3DCyl.h.
References GetVal().
Referenced by magfieldparam::BFit3D::GetField().
|
inline |
Definition at line 58 of file HarmBasis3DCyl.h.
References gen::k.
Referenced by magfieldparam::BFit3D::GetBr_k().
|
inline |
Definition at line 67 of file HarmBasis3DCyl.h.
References GetVal().
Referenced by magfieldparam::BFit3D::GetField().
|
inline |
Definition at line 59 of file HarmBasis3DCyl.h.
References gen::k.
Referenced by magfieldparam::BFit3D::GetBz_k().
|
inline |
|
inline |
Definition at line 41 of file HarmBasis3DCyl.h.
References Len.
Referenced by magfieldparam::BFit3D::GetLen().
|
inline |
Definition at line 42 of file HarmBasis3DCyl.h.
|
inline |
Definition at line 65 of file HarmBasis3DCyl.h.
References GetVal().
|
inline |
|
private |
|
private |
Definition at line 129 of file HarmBasis3DCyl.cc.
Referenced by PrintBphiB(), PrintBrB(), PrintBzB(), magfieldparam::BFit3D::PrintPoly(), and PrintPtB().
void HarmBasis3DCyl::Print | ( | std::ostream & | out = std::cout | ) |
Definition at line 145 of file HarmBasis3DCyl.cc.
References PrintBphiB(), PrintBrB(), PrintBzB(), and PrintPtB().
|
inline |
Definition at line 73 of file HarmBasis3DCyl.h.
References gather_cfg::cout, MillePedeFileConverter_cfg::out, and Print().
Referenced by Print(), and magfieldparam::BFit3D::PrintBphiPoly().
|
inline |
Definition at line 71 of file HarmBasis3DCyl.h.
References MillePedeFileConverter_cfg::out, and Print().
Referenced by Print(), and magfieldparam::BFit3D::PrintBrPoly().
|
inline |
Definition at line 72 of file HarmBasis3DCyl.h.
References MillePedeFileConverter_cfg::out, and Print().
Referenced by Print(), and magfieldparam::BFit3D::PrintBzPoly().
|
inline |
Definition at line 70 of file HarmBasis3DCyl.h.
References MillePedeFileConverter_cfg::out, and Print().
Referenced by Print(), and magfieldparam::BFit3D::PrintPtnPoly().
|
inline |
Definition at line 45 of file HarmBasis3DCyl.h.
References magfieldparam::rz_harm_poly::SetPoint().
Referenced by magfieldparam::BFit3D::GetField().
|
private |
Definition at line 24 of file HarmBasis3DCyl.h.
Referenced by EvalBphi(), HarmBasis3DCyl(), and ~HarmBasis3DCyl().
|
private |
Definition at line 29 of file HarmBasis3DCyl.h.
Referenced by EvalBphi(), and HarmBasis3DCyl().
|
private |
Definition at line 24 of file HarmBasis3DCyl.h.
Referenced by HarmBasis3DCyl(), and ~HarmBasis3DCyl().
|
private |
Definition at line 27 of file HarmBasis3DCyl.h.
Referenced by HarmBasis3DCyl().
|
private |
Definition at line 24 of file HarmBasis3DCyl.h.
Referenced by HarmBasis3DCyl(), and ~HarmBasis3DCyl().
|
private |
Definition at line 28 of file HarmBasis3DCyl.h.
Referenced by HarmBasis3DCyl().
|
private |
Definition at line 20 of file HarmBasis3DCyl.h.
Referenced by EvalBphi(), EvalRZ(), GetDim(), and HarmBasis3DCyl().
|
private |
Definition at line 23 of file HarmBasis3DCyl.h.
Referenced by HarmBasis3DCyl(), and ~HarmBasis3DCyl().
|
private |
Definition at line 21 of file HarmBasis3DCyl.h.
Referenced by GetLen(), GetVal(), and HarmBasis3DCyl().
|
private |
Definition at line 23 of file HarmBasis3DCyl.h.
Referenced by HarmBasis3DCyl(), and ~HarmBasis3DCyl().
|
private |
Definition at line 24 of file HarmBasis3DCyl.h.
Referenced by HarmBasis3DCyl(), and ~HarmBasis3DCyl().
|
private |
Definition at line 26 of file HarmBasis3DCyl.h.
Referenced by HarmBasis3DCyl().