30 : FairField(), fPeak(0.), fMiddle(0.), fBtube(0.) {
38 Int_t orientation, Double_t Btube)
39 : FairField(name), fPeak(Peak), fMiddle(Middle), fBtube(Btube) {
49 : FairField(), fPeak(0.), fMiddle(0.), fBtube(0.), fInclTarget(kFALSE) {
51 cerr <<
"-W- ShipBellField::ShipBellField: empty parameter container!"
79 Double_t zlocal = fabs(z -
fMiddle) / 100.;
86 if ((fabs(x) < 2.7 *
m) && (fabs(y) <
fBtube + 0.2 *
m)) {
88 bx = 0.14361 * exp(-0.5 * pow((zlocal - 0.45479E-01) / 2.5046, 2.));
89 }
else if (zlocal < 11.9) {
90 bx = 0.19532 - 0.61512E-01 * zlocal + 0.68447E-02 * pow(zlocal, 2.) -
91 0.25672E-03 * pow(zlocal, 3.);
116 Double_t zlocal = (z -
fMiddle) / 100.;
117 by =
fPeak / (1. + pow(fabs(zlocal) / 2.1, 6.));
130 cout <<
"======================================================" << endl;
131 cout <<
"---- " << fTitle <<
" : " << fName << endl;
132 cout <<
"----" << endl;
133 cout <<
"---- Field type : constant" << endl;
134 cout <<
"----" << endl;
135 cout <<
"---- Field regions : " << endl;
137 cout <<
"======================================================" << endl;
virtual Double_t GetBy(Double_t x, Double_t y, Double_t z)
virtual Double_t GetBx(Double_t x, Double_t y, Double_t z)
void IncludeTarget(Double_t xy, Double_t z, Double_t l)
virtual Double_t GetBz(Double_t x, Double_t y, Double_t z)
Double_t GetMiddle() const
Double_t GetBtube() const