Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DMagneticFieldStepper.cc File Reference
#include <iostream>
#include <iomanip>
#include <cmath>
#include "HDGEOMETRY/DMagneticFieldMap.h"
#include "DMagneticFieldStepper.h"
#include <DVector2.h>

Go to the source code of this file.

Macros

#define qBr2p   0.003
 
#define MAX_SWIM_DIST   2000.0
 

Functions

int grkuta_ (double *CHARGE, double *STEP, double *VECT, double *VOUT, const DMagneticFieldMap *bfield)
 

Macro Definition Documentation

#define MAX_SWIM_DIST   2000.0
#define qBr2p   0.003

Definition at line 11 of file DMagneticFieldStepper.cc.

Referenced by DMagneticFieldStepper::CalcDirs().

Function Documentation

int grkuta_ ( double *  CHARGE,
double *  STEP,
double *  VECT,
double *  VOUT,
const DMagneticFieldMap bfield 
)

Definition at line 270 of file grkuta.cc.

References dabs, e, f, f1(), f2, DMagneticFieldMap::GetField(), gufld_(), h2, h4, loc_abs, sin(), sqrt(), x, xt, xyzt, y, yt, z__, and zt.

Referenced by DMagneticFieldStepper::Step(), and MyTrajectoryGrkuta::swim().