Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ParameterizeBField.C File Reference
#include "chebyshev_fit.C"

Go to the source code of this file.

Functions

void ParameterizeBField (void)
 
void Parameterize (TTree *Bfield, const char *Bi)
 
TF1 * FitSection (int order, TTree *Bfield, const char *Bi, Double_t z_min_inches, Double_t z_max_inches, Double_t r, const char *fname)
 

Function Documentation

TF1* FitSection ( int  order,
TTree *  Bfield,
const char *  Bi,
Double_t  z_min_inches,
Double_t  z_max_inches,
Double_t  r,
const char *  fname 
)

Definition at line 183 of file ParameterizeBField.C.

References chebyshev_Fit(), and func().

Referenced by Parameterize().

void Parameterize ( TTree *  Bfield,
const char *  Bi 
)

Definition at line 23 of file ParameterizeBField.C.

References c1, chebyshev_Fit(), colors, f1(), FitSection(), func(), Ncolors, Nr, sprintf(), zmax, and zmin.

Referenced by ParameterizeBField().

void ParameterizeBField ( void  )

Definition at line 8 of file ParameterizeBField.C.

References f, and Parameterize().