56 magneticSubField =
"";
57 electricSubField =
"";
58 magneticReflection =
"";
59 electricReflection =
"";
90 publish(
"magneticSubField", &Field::magneticSubField);
91 publish(
"electricSubField", &Field::electricSubField);
92 publish(
"magneticReflection", &Field::magneticReflection);
93 publish(
"electricReflection", &Field::electricReflection);
94 publish(
"fieldParameters", &Field::fieldParameters);
99 std::cout <<
"field: "
100 <<
"name " <<
name << std::endl
101 <<
"type " <<
type << std::endl
102 <<
"eScaling " <<
eScaling << std::endl
103 <<
"bScaling " <<
bScaling << std::endl
110 <<
"x, y, z,t " <<
x <<
" " <<
y <<
" " <<
z <<
" " <<
t << std::endl
111 <<
"phi, theta, psi " <<
phi <<
" " <<
theta <<
" " <<
psi << std::endl
112 <<
"axisX, Y, Z " <<
axisX <<
" " <<
axisY <<
" " <<
axisZ << std::endl
113 <<
"angle " <<
angle << std::endl
114 <<
"axisAngle " <<
axisAngle << std::endl
115 <<
"autoScale " <<
autoScale << std::endl
117 <<
"electricSubField " << electricSubField << std::endl
118 <<
"magneticSubField " << magneticSubField << std::endl
119 <<
"magneticReflection " << magneticReflection << std::endl
120 <<
"electricReflection " << electricReflection << std::endl
121 <<
"fieldParameters " << fieldParameters << std::endl;
double theta
Euler angle for rotation.
bool autoScale
Scale the field to the magnet it's attached to.
void print() const
Print some properties.
std::string integrator
Which integrator to use.
std::string magneticInterpolator
Interpolator for the magnetic field.
std::string electricFile
File for the electric field map.
void PublishMembers()
publish members
double phi
Euler angle for rotation.
double bScaling
B Field Scaling factor.
double maximumStepLength
Maximum permitted step length in the volumes the field is attached to.
std::string magneticFile
File for magnetic field map.
std::string electricInterpolator
Interpolator for the electric field.
std::string fieldModulator
Name of field modulator object.
bool axisAngle
Flag to use the axis angle construction of rotation.
bool globalTransform
Provide global to curvilinear coordinate transform.
double eScaling
E Field Scaling factor.
double psi
Euler angle for rotation.
void publish(const std::string &name, T C::*mp)
Make pointer to member from class C and type T with accessible with a name.
Parser namespace for GMAD language. Combination of Geant4 and MAD.