Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-05-10 02:21:26

0001 #include "MagneticField/Engine/interface/MagneticField.h"
0002 #include "SimG4Core/MagneticField/interface/Field.h"
0003 
0004 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
0005 
0006 #include <CLHEP/Units/SystemOfUnits.h>
0007 
0008 using namespace sim;
0009 
0010 Field::Field(const MagneticField *f, double d) : G4MagneticField(), theCMSMagneticField(f), theDelta(d) {
0011   for (int i = 0; i < 3; ++i) {
0012     oldx[i] = 1.0e12;
0013     oldb[i] = 0.0;
0014   }
0015 }
0016 
0017 Field::~Field() {}