Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
David Heddle authored and David Heddle committed Dec 15, 2017
2 parents bf69db2 + 03d4866 commit cf34a6b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion reconstruction/cvt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit cf34a6b

Please sign in to comment.