Skip to content

Commit 595090e

Browse files
ICN-UNAM: fix ALICE3Field.C — B1 in numerator, Rc=170 cm (R_out_coil per Ian; confirmed by A. Ortiz Aug 2026)
1 parent efb892d commit 595090e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Detectors/Upgrades/ALICE3/macros/ALICE3Field.C

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ std::function<void(const double*, double*)> field()
2929
// ***********************
3030

3131
// RADIUS
32-
Rc = 185.; //[cm]
32+
Rc = 170.; //[cm] — R_out_coil per Ian DetectorConstruction.cc; confirmed by A. Ortiz definition
3333
R1 = 220.; //[cm]
3434
R2 = 290.; //[cm]
3535

3636
// To set the B2
3737
B1 = 2.; //[T]
38-
B2 = -Rc * Rc / ((R2 * R2 - R1 * R1) * B1); //[T]
38+
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)) {
4141
b[0] = 0.;

0 commit comments

Comments
 (0)