Skip to content

Commit f0722e4

Browse files
committed
fix: reconstruction/cvt/src/main/java/org/jlab/rec/cvt/Geometry.java: do not add those lines since the magnet scale is set in decoding
1 parent c838b53 commit f0722e4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

reconstruction/cvt/src/main/java/org/jlab/rec/cvt/Geometry.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package org.jlab.rec.cvt;
22

3-
import cnuphys.magfield.MagneticFields;
43
import java.util.ArrayList;
54
import java.util.Arrays;
65
import java.util.Collections;
@@ -126,10 +125,6 @@ public synchronized static void initialize(String variation, int run, IndexedTab
126125

127126
private synchronized void load(String variation, int run, IndexedTable svtLorentz, IndexedTable bmtVoltage) {
128127

129-
if(Constants.getInstance().isCosmics) {
130-
MagneticFields.getInstance().getSolenoid().setScaleFactor(1e-7);
131-
MagneticFields.getInstance().getTorus().setScaleFactor(1e-7);
132-
}
133128
// Load target
134129
ConstantProvider providerTG = GeometryFactory.getConstants(DetectorType.TARGET, run, variation);
135130
this.initTarget(providerTG);

0 commit comments

Comments
 (0)