CMS 3D CMS Logo

Field.cc
Go to the documentation of this file.
3 
5 
6 #include "CLHEP/Units/GlobalSystemOfUnits.h"
7 
8 using namespace sim;
9 
10 Field::Field(const MagneticField *f, double d) : G4MagneticField(), theCMSMagneticField(f), theDelta(d) {
11  for (int i = 0; i < 3; ++i) {
12  oldx[i] = 1.0e12;
13  oldb[i] = 0.0;
14  }
15 }
16 
double oldb[3]
Definition: Field.h:24
double f[11][100]
d
Definition: ztail.py:151
~Field() override
Definition: Field.cc:17
double oldx[3]
Definition: Field.h:23
Field(const MagneticField *f, double d)
Definition: Field.cc:10