theta and phi swapped in outputTrackParameters
The eic::direction in eic::TrackParameters is defined in the order of theta (polar), phi https://gitlab.phy.anl.gov/eic/eicd/-/blob/27c47930aef2b36e1722c7a5c835bd2453e8b56f/eic_data.yaml#L472
but when filling in acts track info the order is phi then theta. https://eicweb.phy.anl.gov/EIC/juggler/-/blob/master/JugTrack/src/components/ParticlesFromTrackFit.cpp#L121
That makes the outputTrackParameters.direction.phi in rootfiles the polar angle (theta) provided by Acts.