We describe a method for symplectic tracking of charged particles through static electric and magnetic fields. The method can be applied to cases where the fields have a dependence on the longitudinal as well as transverse position and where the reference trajectory may have nonzero curvature. Application of the method requires analytical expressions for the scalar and vector potentia... https://www.soiebiologique.com/