diff --git a/reconstruction/cvt/pom.xml b/reconstruction/cvt/pom.xml index 6e3968d317..9f550230ea 100644 --- a/reconstruction/cvt/pom.xml +++ b/reconstruction/cvt/pom.xml @@ -47,4 +47,4 @@ 1.8 - + \ No newline at end of file diff --git a/reconstruction/dc/src/main/java/org/jlab/rec/dc/trajectory/DCSwimmer.java b/reconstruction/dc/src/main/java/org/jlab/rec/dc/trajectory/DCSwimmer.java index 9f77e29d8e..951e85a171 100644 --- a/reconstruction/dc/src/main/java/org/jlab/rec/dc/trajectory/DCSwimmer.java +++ b/reconstruction/dc/src/main/java/org/jlab/rec/dc/trajectory/DCSwimmer.java @@ -13,6 +13,7 @@ import cnuphys.rk4.RungeKuttaException; import cnuphys.swim.SwimTrajectory; import cnuphys.swim.Swimmer; +import cnuphys.magfield.TorusMap; import org.jlab.detector.geant4.v2.DCGeant4Factory; import org.jlab.rec.dc.Constants; @@ -553,13 +554,15 @@ public static synchronized void getMagneticFields() { //location relative to clasJLib. This will //have to be modified as appropriate. - String clasDictionaryPath = CLASResources.getResourcePath("etc"); + //String clasDictionaryPath = CLASResources.getResourcePath("etc"); - String torusFileName = clasDictionaryPath + "/data/magfield/clas12-fieldmap-torus.dat"; - String solenoidFileName = clasDictionaryPath + "/data/magfield/clas12-fieldmap-solenoid.dat"; - - MagneticFields.getInstance().initializeMagneticFields(); + //String torusFileName = clasDictionaryPath + "/data/magfield/clas12-fieldmap-torus.dat"; + //String solenoidFileName = clasDictionaryPath + "/data/magfield/clas12-fieldmap-solenoid.dat"; + //MagneticFields.getInstance().initializeMagneticFields(); + String clasDictionaryPath = CLASResources.getResourcePath("etc"); + + MagneticFields.getInstance().initializeMagneticFields(clasDictionaryPath, TorusMap.SYMMETRIC); /* File torusFile = new File(torusFileName); try {