Skip to content

Commit 7457de8

Browse files
authored
Fix formatting of B1 assignment in ALICE3Field.C
1 parent 1bae27d commit 7457de8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Detectors/Upgrades/ALICE3/macros/ALICE3Field.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ std::function<void(const double*, double*)> field()
3434
R2 = 290.; //[cm]
3535

3636
// To set the B2
37-
B1 = 2.; //[T]
37+
B1 = 2.; //[T]
3838
B2 = -B1 * Rc * Rc / (R2 * R2 - R1 * R1); //[T] — B1 in numerator, confirmed by A. Ortiz Aug 2026
3939

4040
if ((abs(x[2]) <= beamStart) && (sqrt(x[0] * x[0] + x[1] * x[1]) < Rc)) {

0 commit comments

Comments
 (0)