#include <BFit3D.h>
Public Member Functions | |
BFit3D () | |
double | GetBnom () |
double | GetBphi_k (const unsigned k) |
double | GetBr_k (const unsigned k) |
double | GetBz_k (const unsigned k) |
double | GetC (const int k) |
void | GetField (const double r, const double z, const double phi, double &Br, double &Bz, double &Bphi) |
unsigned | GetLen () |
void | PrintBphiPoly (std::ostream &out=std::cout) |
void | PrintBrPoly (std::ostream &out=std::cout) |
void | PrintBzPoly (std::ostream &out=std::cout) |
void | PrintPoly (std::ostream &out=std::cout) |
void | PrintPtnPoly (std::ostream &out=std::cout) |
void | SetField (const double B) |
void | UseSignedRad (const bool flag=true) |
void | UseSpline (const bool flag=true) |
virtual | ~BFit3D () |
Private Member Functions | |
void | SetCoeff_Linear (const double B) |
void | SetCoeff_Spline (const double B) |
Private Attributes | |
double | B_set |
double | C [360] |
HarmBasis3DCyl * | HB |
bool | signed_rad |
bool | use_spline |
Static Private Attributes | |
static const double | B_nom [4] |
static const double | C0 [360][4] |
static const double | C1 [360][5] |
static const double | C2 [360][3] |
|
inlinevirtual |
|
inline |
|
inline |
Definition at line 64 of file BFit3D.h.
References magfieldparam::HarmBasis3DCyl::GetBphi_k(), HB, and dqmdumpme::k.
|
inline |
Definition at line 62 of file BFit3D.h.
References magfieldparam::HarmBasis3DCyl::GetBr_k(), HB, and dqmdumpme::k.
|
inline |
Definition at line 63 of file BFit3D.h.
References magfieldparam::HarmBasis3DCyl::GetBz_k(), HB, and dqmdumpme::k.
|
inline |
void BFit3D::GetField | ( | const double | r, |
const double | z, | ||
const double | phi, | ||
double & | Br, | ||
double & | Bz, | ||
double & | Bphi | ||
) |
Definition at line 73 of file BFit3D.cc.
References C, magfieldparam::HarmBasis3DCyl::EvalBphi(), magfieldparam::HarmBasis3DCyl::EvalBr(), magfieldparam::HarmBasis3DCyl::EvalBz(), magfieldparam::HarmBasis3DCyl::GetBphi(), magfieldparam::HarmBasis3DCyl::GetBr(), magfieldparam::HarmBasis3DCyl::GetBz(), HB, M_PI, magfieldparam::HarmBasis3DCyl::SetPoint(), and signed_rad.
|
inline |
|
inline |
Definition at line 71 of file BFit3D.h.
References HB, MillePedeFileConverter_cfg::out, and magfieldparam::HarmBasis3DCyl::PrintBphiB().
|
inline |
Definition at line 69 of file BFit3D.h.
References HB, MillePedeFileConverter_cfg::out, and magfieldparam::HarmBasis3DCyl::PrintBrB().
|
inline |
Definition at line 70 of file BFit3D.h.
References HB, MillePedeFileConverter_cfg::out, and magfieldparam::HarmBasis3DCyl::PrintBzB().
|
inline |
Definition at line 72 of file BFit3D.h.
References HB, MillePedeFileConverter_cfg::out, and magfieldparam::HarmBasis3DCyl::Print().
|
inline |
Definition at line 68 of file BFit3D.h.
References HB, MillePedeFileConverter_cfg::out, and magfieldparam::HarmBasis3DCyl::PrintPtB().
|
private |
Definition at line 11 of file BFit3D.cc.
References B, B_nom, C, C0, findQualityFiles::jj, and GetRecoTauVFromDQM_MC_cff::kk.
Referenced by SetField().
|
private |
Definition at line 40 of file BFit3D.cc.
References B, B_nom, C, C0, C1, C2, and reco::ParticleMasses::k0.
Referenced by SetField().
|
inline |
Definition at line 43 of file BFit3D.h.
References B, B_set, SetCoeff_Linear(), SetCoeff_Spline(), and use_spline.
|
inline |
|
inline |
|
staticprivate |
Definition at line 12 of file BFit3D.h.
Referenced by SetCoeff_Linear(), and SetCoeff_Spline().
|
private |
Definition at line 21 of file BFit3D.h.
Referenced by GetBnom(), and SetField().
|
private |
Definition at line 17 of file BFit3D.h.
Referenced by GetC(), GetField(), SetCoeff_Linear(), and SetCoeff_Spline().
|
staticprivate |
Definition at line 13 of file BFit3D.h.
Referenced by SetCoeff_Linear(), and SetCoeff_Spline().
|
staticprivate |
Definition at line 14 of file BFit3D.h.
Referenced by SetCoeff_Spline().
|
staticprivate |
Definition at line 15 of file BFit3D.h.
Referenced by SetCoeff_Spline().
|
private |
Definition at line 23 of file BFit3D.h.
Referenced by GetBphi_k(), GetBr_k(), GetBz_k(), GetField(), GetLen(), PrintBphiPoly(), PrintBrPoly(), PrintBzPoly(), PrintPoly(), PrintPtnPoly(), and ~BFit3D().
|
private |
Definition at line 20 of file BFit3D.h.
Referenced by GetField(), and UseSignedRad().
|
private |
Definition at line 19 of file BFit3D.h.
Referenced by SetField(), and UseSpline().