{'fraction_non_alphanumeric': 0.028614750592900744, 'fraction_numerical': 0.017223280587846508, 'mean_word_length': 4.450731087094724, 'pattern_counts': {'":': 0, '<': 1, '<?xml version=': 0, '>': 2, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Reduction of coherent betatron oscillations in a muon g − 2 storage ring experiment using RF fields

This work demonstrates that two systematic errors, coherent betatron oscillations (CBO) and muon losses, can be reduced through application of radio frequency (RF) electric fields, which ultimately increases the sensitivity of the muon g − 2 experiments. As the ensemble of polarized muons goes around a weak focusing storage ring, their spin precesses, and when they decay through the weak interaction, μ+→e+νeνμ̄ , the decay positrons are detected by electromagnetic calorimeters. In addition to the expected exponential decay in the positron time spectrum, the weak decay asymmetry causes a modulation in the number of positrons in a selected energy range at the difference frequency between the spin and cyclotron frequencies, ω a. This frequency is directly proportional to the magnetic anomaly a μ = (g − 2)/2, where g is the g-factor of the muon, which is slightly greater than 2. The detector acceptance depends on the radial position of the muon decay, so the CBO of the muon bunch following injection into the storage ring modulate the measured muon signal with the frequency ω CBO. In addition, the muon populations at the edge of the beam hit the walls of the vacuum chamber before decaying, which also affects the signal. Thus, reduction of CBO and unwanted muon loss increases the a μ measurement sensitivity. Numerical and experimental studies with RF electric fields yield more than a magnitude reduction of the CBO, with muon losses comparable to the conventional method.


Introduction
Efforts to measure the muon magnetic anomaly a μ ≡ (g μ − 2)/2 using storage rings have been ongoing since the 1960s [1]. Several key methods like the magic momentum were applied in experiments at CERN [2][3][4]. The use of electrostatic quadrupoles was first introduced in the third CERN experiment, which obtained a precision of 7.3 ppm [4]. With a significant increase in the number of muons and direct muon injection into the storage ring, the Brookhaven national laboratory (BNL) experiment E821 achieved 0.54 ppm precision [5]. At present, there appears to be a greater than 3 standard deviation difference between the experimental measurement of a μ and the standard model value [6,7]. Currently, the Fermilab g − 2 collaboration is conducting a new experiment (E989) with upgraded muon beamline, storage ring and detector systems [8]. The E989 goal is to measure a μ to an accuracy of 140 ppb, four times the precision reached by BNL E821.
The positive muon beam in E989 is produced in two steps: first, a proton beam hits a target to produce copious pions that decay into muons and neutrinos. After the pions decay, a small muon momentum bite is selected, yielding a longitudinally polarized (>95%) muon beam at the magic momentum (p m = 3.09 GeV/c) that is then injected into the 14 m diameter storage ring. The beam fills the ring azimuthally in the first turn, being stored radially by a B 0 = 1.45 T vertical dipole magnetic field and vertically by four sets of electrostatic quadrupoles.
The storage ring magnet is designed as a near continuous 'C' magnet with yoke sections that have minimal spaces between them [9]. This design is required in order to shim the dipole component to high uniformity in azimuth. After the magnetic shimming at Fermilab, the dipole component has achieved an RMS of ±15 ppm over its 44.7 m circumference inside of the 9 cm diameter muon storage region. The fast muon kicker and the electrostatic quadrupoles residing inside the beam vacuum chamber are constructed from non-ferromagnetic materials. Figure 1 shows the top view of the storage ring. The beam is brought into the storage region through a superconducting septum magnet called the inflector [10,11]. After the beam exits the inflector magnet, it is kicked onto a stable orbit with a fast kicker [12,13]. The kicker provides a 200 Gauss vertical field with a 200 ns width. It lasts around 1 μs with ringing. The limited space between the storage ring pole pieces necessitates a very narrow beam channel through the inflector magnet, making it impossible to match the incident beam phase space with that of the storage ring. The present strength of the kicker magnet is slightly less than needed to center the beam in the storage region. As one can infer from figure 2, the mismatch of the phase space combined with the underkick leads to a significant radial beam oscillation after injection. It has a decoherence time of 200-300 μs, which is not insignificant compared to the dilated muon lifetime of 64.4 μs. This radial oscillation is called the 'coherent betatron oscillation' (CBO) described below.
Assuming that B is uniform and β⊥ B, the difference between this muon spin frequency and the cyclotron frequency is: where the muon charge q = ±|e|. This difference frequency provides a direct measurement of the magnetic anomaly. With the presence of the electric quadrupole field, and assuming that β⊥ B and β⊥ E, the spin equation is modified to [4] For γ magic = 29.3 (p magic = 3.09 GeV/c) the electric field does not contribute to the rate at which the spin rotates relative to the momentum [14]. After approximately 30 turns around the ring, the spin angle relative to the momentum vector turns through 2π. When the stored muons decay, the highest energy positrons in the muon rest frame are correlated with the muon spin. As the muon spin precesses relative to the momentum vector, the number of high-energy decay positrons observed in the lab frame oscillates with the frequency ω a . This feature is exploited by selecting the highest energy positrons in the calorimeters and measuring the muon spin precession rate in the horizontal plane.
A sample time spectrum of high-energy electrons is shown in figure 3. These data appear to show the muon lifetime modulated by the muon spin frequency ω a , which can be represented by the 'five-parameter function' where N 0 is the number of particles per 149 ns time bin at t = 0, γ = 29.3 is the relativistic Lorentz factor, τ μ ≈ 2.2 μs is the lifetime of muon at rest, A is the overall decay asymmetry, and φ is the g − 2 phase. However, there is also information in these data on the coherent beam motion discussed below. With a continuous pure electric quadrupole field around the ring to provide vertical focusing, the transverse motion of the beam follows the linear Hill's equations: where ω c /2π 6.7 MHz is the cyclotron frequency, and n 0.12 is the weak focusing field index, determined by the ring radius R 0 , the magnetic field B 0 , the particle velocity v, and the electric quadrupole gradient κ: The betatron frequencies in the horizontal and vertical directions are ω x = ω c √ 1 − n and ω y = ω c √ n, respectively.  The horizontal betatron oscillation frequency is slightly less than the cyclotron frequency. Therefore, a localized detector sees the beam oscillate inward and outward at f CBO 0.4 MHz, namely the CBO frequency [5], defined as 2πf CBO An illustration of this motion is shown in figure 4. When the narrow time bunch muon beam enters the storage ring, each calorimeter sees the beam moving in and out with this CBO frequency. Because the detector acceptance depends on the radial position of the muon decay, this inward and outward motion of the bunched beam amplitude modulates the positron decay time spectrum. The principal issue is that its lower side band may overlap with f a if f CBO is close to 2f a , thereby pulling the g − 2 phase. The effect can be significantly reduced, perhaps eliminated, if the CBO can be suppressed by an order of magnitude (see figure 5). Note that this effect does not appear at the frequencies related to the vertical CBO. Therefore, our main focus will be on the horizontal motion.
The CBO frequency depends on the n-value of the ring, viz the quadrupole voltage. As the CBO frequency approaches 2f a , the systematic pull on ω a becomes significant, as discussed in section 5.1 of reference [15]. Figure 6 shows the relative systematic error from the CBO as a function of f CBO caused by the lower sideband overlapping with f a . An obvious strategy to minimize this issue would be to change the n-value by increasing or decreasing the quadrupole high voltage in order to move away from the central region of figure 6. However, raising the high voltage (higher n) increases the possibility of the quadrupoles sparking, and lowering the voltage (lower n) decreases the acceptance of the storage ring, resulting in fewer muons stored.
Coherent betatron oscillations were a well-known effect in the BNL data, which was discussed in the E821 papers [5,15,16]. In the analysis of Run 99 and later, equation (5) is modulated with an additional term to modulate the acceptance, phase and asymmetry:  where τ CBO is the lifetime of the CBO, A CBO is the modification of the acceptance, and φ CBO is the CBO phase. This additional parametrization resulted in an acceptable χ 2 /dof, and a conservative systematic error of ±0.07 ppm (70 ppb) for this effect was assigned [5]. Because the total E989 error budget for the muon frequency ω a is four times smaller, we need to reduce the CBO contribution on ω a from 70 ppb to 30 ppb. Reducing the CBO amplitude will significantly reduce the risk associated with the choice of the functional form describing it. The muon populations at the edge of the beam tend to hit the walls of the vacuum chamber before decaying, which causes a modified decay rate measurement at the detectors. This systematic error was reduced to 90 ppb level in the E821 experiment. It was achieved by scraping the beam halo against circular collimators with a 9 cm diameter through the asymmetrical powering method.
Immediately before the muon beam injection, the top and bottom plates on quadrupoles 1-4 were powered asymmetrically, as were the vertical side plates on quadrupoles 2 and 4. This asymmetric powering shifted the beam both vertically and horizontally onto the collimators. Five to fifteen microseconds later, the plate voltages were returned to a symmetric configuration with a 5 μs time constant, centering the beam in the storage region [5,18]. This procedure removed particles near the aperture and significantly reduced muon losses from the storage ring during the data collection period. The asymmetrical powering method has been utilized in the first two runs of E989 as well. An approximately 7μs scraping time was used [19].
A major issue with this scraping method is that the beam can move through a resonance while going from the scraping high-voltage configuration to the final symmetric high voltage, causing unwanted muon losses.
In the next section, we introduce the RF reduction method for damping the CBO. Application of RF fields allows us to scrape the beam as well, while avoiding the unwanted muon loss. It is worth emphasizing that reducing the CBO effect ensures a better fitting result, in other words, a more sensitive a μ measurement.

The RF reduction method: analytical calculation of CBO reduction
The manipulation of charged particle beams in accelerators using radio frequency (RF) techniques has a long history, and many electron, proton and heavy ion storage rings have been built and operated. RF beam separators have also been utilized to improve the purity of secondary beams. Our method relies on damping the coherent betatron oscillations by applying a transverse RF electric field at the CBO frequency. Because of the limited muon lifetime, the application of the RF field should be finished within a few tens of microseconds.
Reduction of coherent betatron oscillations by RF fields was first proposed in 2003 as a potential upgrade to the BNL E821 storage ring experiment [17]. We present that discussion here, since this reference is not published.
To damp the CBO, a harmonically varying horizontal dipole electric field E x (t) is applied to the beam out of phase with the CBO. The RF field is applied to the two vertical quadrupole plates, which begin at the longitudinal position s 0 and extend to s = s 0 + .
where, θ 0 is the initial CBO phase and f(s) is defined as Setting the muon injection time to be t = 0, we obtain equation (6), Hill's equation for the horizontal component, with a harmonic driving term: where The definition of f(t) means that the muon passes through the damping electric field E x (t) periodically with the revolution period T = 2π/ω c , N + 1 times, after which the RF perturbation is turned off. The exact solution of equation (11) with f(t) given by equation (12) is where a 0 corresponds to t = 0. From equation (14), one gets the solution at time t = (N + 1)T + l/v, the time that the CBO damping finishes. At this time Ideally, a → 0, or very close to zero after N + 1 turns. After discussing the simulations of the RF method, we will compare this analytical formula with a simulation result in section 3.3.

Simulations of the RF reduction method
In this and subsequent sections, we follow the conventions of figure 7 for both phase space ellipses and individual particles of low-and high-momentum in phase space.

Simulation strategy
A dipole RF field with the resonant frequency can move the centroid of the beam along the vertical axis of the transverse phase space. It moves the high-(δp/p m > 0) and low-(δp/p m < 0) momentum populations together when they have the same CBO phase. Figure 8 shows the effect of the dipole RF field with f CBO on the phase space. Figure 8(a) shows that by a correct choice of the RF phase, the beam can be shifted on the vertical axis to reduce the CBO amplitude. Figure 8(b) shows that the dipole RF field can also be used in 'scraping mode' before the measurement period by switching to the opposite RF phase. In contrast to the RF dipole mode, the RF quadrupole mode moves the high-and low-momentum populations in opposite directions. The beam width decreases as they reach the design orbit (see figure 9).

Simulation conditions
The simulations of the RF reduction were done with a precision tracking simulation tool written in C++ [20]. All of the essential ring elements were implemented in the program, such as the electrostatic  quadrupoles [18], the fast kicker magnets [13], the vacuum chamber, and the collimators. In these simulations, a 3 kV RF voltage was applied to one 3.2 m azimuthal quadrupole section.
As described above, the beam enters the E989 muon storage ring through the inflector section (shown in figure 1), after which the simulations start with a beam distribution that was previously obtained by independent Monte Carlo simulations [21]. After the inflector, the fast kicker applies a vertical pulsed magnetic field to move the beam towards the design orbit. The beam motion in the phase space is depicted in figure 2.
The electric quadrupole plates have a cross section of 10 × 10 cm 2 [18]. An RF voltage of 0.3 kV amplitude is applied to all eight quadrupole sections, covering 43% of the ring circumference. Particles are stored for up to 200 μs in the simulations.

Single particle simulations
As a proof of principle, single particle simulations were conducted using three particles of different momenta: magic (δp/p m = 0), high-(δp/p m = +0.25%) and low-(δp/p m = −0.25%) momentum muons. In the absence of an RF field, each particle follows an elliptical trajectory in phase space, whose origin and radius are determined by its momentum and initial position. Figure 10 shows the phase space trajectory of each particle in the presence of the dipole RF field applied with the optimum phase. The method works best if the particles are in phase. If they are out of phase, then a dipole RF increases the amplitude of one, and shrinks the amplitude of the other. On the other hand, the RF quadrupole mode shrinks the high-and low-momentum particle orbits if they are out of phase  ( figure 11). Note that the particle with magic momentum is not affected by the RF quadrupole field as it oscillates around the design orbit. Figure 12 shows the excellent agreement between the analytical calculation presented in section 2 and the result from a single particle simulation. The parameters used in the calculation are: n = 0.12, l = 3.2 m, E x0 = 100 kV m −1 , B 0 = 1.45 T, f c = 6.71 MHz, f CBO = 400 kHz and θ 0 = 134 • . Note that the RF field should be turned off at the minimum, after which the CBO starts growing because of resonance. In this example, it takes roughly N = 23 oscillations to minimize the CBO amplitude. As seen here, amplitude damping with an opposing RF kick is the only effect for the single particle case. However, coupling between high-and low-momentum populations brings about a phase shift, a more dominant reduction effect. This will be presented in the next section.

Multiparticle simulations
The multiparticle simulations were done with roughly 30 000 muons entering the storage ring. 95% of the particles hit the vacuum chamber or collimators and were lost after several turns around the ring.
The RF phase was initially optimized for the maximum CBO reduction without applying any scraping. After determining the optimum phase, the dipole RF field was applied from 2 to 7 μs for the scraping and from 10 to 20 μs for CBO reduction. Note that these two steps should have opposite phases. Figure 13 compares the CBO without RF, and with the applied RF field at the optimum phase. The CBO decoherence time is 100-200 μs in the absence of an RF field. The damping time depends on the momentum spread of the beam and the multipole components of the electric focusing field. Because of the electric 20-pole component, the CBO frequency of the different momentum muons varies, eventually leading to a decoherence (see figure 14). However, the application of the RF field before 20 μs improves the Figure 14. CBO frequency of a particle has a momentum dependence, which is known as chromaticity. The histogram in (a) was obtained by multiparticle simulations, where the particles had a momentum distribution as shown in (b). Because of this variation, the CBO of the beam gets modulated after the RF field is turned off ( figure 13). CBO damping by almost an order of magnitude. The beating after 20 μs originates from the frequency spread of the beam shown in figure 14.
The mechanism of the CBO reduction by a dipole RF field is shown in figure 15. The initial conditions were obtained from Monte Carlo simulations [21]. As figure 15(b) shows, the RF dipole field reduces the CBO amplitude of both the high-and low-momentum populations. However, it is worth emphasizing that the reduction is not limited to a simple damping effect. In fact, the dominant effect is the phase shift between the two populations. The CBO phase of the high-momentum population advances with the RF kick, since it is closer to the origin of the phase space (see the tilt of the beam at figure 2).
Applying the RF quadrupole field after the dipole mode does not have any effect on the beam centroid, as shown in figure 16. However the RMS modulation of the beam is significantly reduced by the application of the RF field, as shown in figure 17.  The total effect of the dipole and the quadrupole RF modes in the simulation are summarized in figure 18, which shows three time slices of the phase space. The center of mass (CM) for the high-momentum population is represented by a purple square, and the phase space trajectory of the CM of the high-momentum particles is represented by a purple ellipse. The CM of the low-momentum particles is represented by a cyan box, and the phase space trajectory for this CM is shown by a cyan ellipse. Figure 18(a) is before the application of the RF fields. The dipole RF mode is then applied to the beam for 20 μs, resulting in opposite phases for the high-and low-momentum populations. Thus, the centers of the two trajectories have become symmetric around the design orbit.
This opposite phase for low-and high-momentum particles provides the ideal condition for the RF quadrupole mode to shrink the phase space of the muon beam. Figure 18(c) shows how the RF quadrupole field shrinks the beam in phase space in the remaining 10 μs.

Hardware
The muon beam is stored for around 750 μs with an average repetition frequency of 12 Hz. The quadrupole plates are pulsed in such a way that the at-voltage time coincides with the measurement time. The pulsed voltage is transferred to the quadrupoles through high voltage (HV) resistors with approximately 5 μs RC time constants. The E821-type scraping is also applied at this ramping period.
The quadrupole plates and cages are the same as used in E821 [18], with the exception of the first quadrupole (Q1), where the beam enters the storage ring through the quadrupole plate. Q1 has been redesigned and is significantly thinner than in E821. The E989 high voltage pulsing circuit is new and will be described in reference [22].
The RF voltage is superimposed on the HV pulses ( figure 19) to modulate the field at the quadrupole plates. Figure 20 shows the circuit diagram of the system. While the RF voltage is applied through the RF electronics on the left, the main field of the quadrupole is applied through an HV resistor. The RF  electronics is protected by a gas discharge protector (GDP), which is connected to a transformer for impedance matching and a potted HV capacitor that couples the RF to the quadrupole plates. Figure 21 shows a 3D drawing of the installed system. There are four of each element in the box for each quadrupole plate.
The RF electronics is composed of trigger gate/delay generators, fan-in/fan-out modules, 7 signal generators, 13 HV pulsed amplifiers, and HV RF cables for every quadrupole plate. The main trigger for the quadrupole pulser is used for generating a gate of 40 μs, which is copied for each signal generator and the amplifier. The signal generators are used in 'arbitrary signal mode', and controlled by means of a GUI. For CBO reduction and scraping with dipole fields, the arbitrary function is composed of two sinusoidal signals with integer number of oscillations, which are separated by a short gap to switch the phase. Each signal has a delay before the first sine wave, which is determined by the azimuthal location of the connected quadrupole. The RF amplifiers with ≈ 57 dB gain deliver the signal through the HV RF cables to the RF box, which is depicted in figure 21. The application of the RF system does not require any modification in the experimental conditions.   As mentioned earlier, the RF reduction method has an efficient scraping mode as well, which is preferable to the conventional method since the field index does not change during scraping in this method. Nevertheless, the RF electronics can be disconnected and the RF branch of the circuit can be shorted to the ground (shown with 0.1 Ohm resistor in figure 22) for back compatibility with the original scraping scheme.
HV breakdowns are initiated by the emission of electrons from the cathode to anode at high voltages. The exchange of charged particles between the cathode and anode can be enhanced through several mechanisms [23][24][25]. One way of avoiding electron HV breakdowns is to eliminate the contact between the air and conductors. The HV resistors and capacitors are potted in respective containers with silicone elastomer (SE) for this purpose ( figure 23).

Test results
The hardware was tested by installing the RF system into all of the quadrupole sections in the E989 experiment. A 450 V amplitude RF voltage with an azimuthally dependent phase was applied to all of the quadrupole sections. The voltage was split between the long and the short quadrupoles by an HV divider. The motion of the beam centroid was extracted from the tracker detector [26] data. Figure 24 shows the CBO amplitude damping rate that is obtained during the phase scan. Negative and positive values indicate CBO reduction and growth, respectively. The maximum reduction happens at φ 0 = 160 • . Figure 25 shows the CBO measurement at the RF phase φ 0 = 160 • . Initially, the CBO amplitude is ≈ 15 mm. The RF field starts at t = 4.2 μs, reducing the CBO amplitude to x ≈ 1 mm at t = 18.1 μs. Then, it grows similar to figure 12 with the RF field. It is worth noting that the CBO phase flips by 180 • after the crossover. This feature was exploited for scraping the beam.
We continued the application of the RF field at the same phase for scraping the beam. Then, the RF field was flipped by 180 • at t = 21.9 μs. Finally, it was turned off at 26 μs. At that time, the CBO amplitude reduced back to 1 mm after scraping. The whole CBO reduction and the scraping process took around 22 μs.
The tests reveal that RF scraping produces results comparable to those of conventional scraping. Measurement of the betatron frequencies shows that the RF scraping and the CBO reduction do not affect the beam dynamics after the RF time is over.

Conclusions
This work represents the first successful development of the hardware necessary to apply RF cooling to a tertiary particle beam. Unlike primary beams in storage rings, where RF manipulation can occur over millisecond time scales, the muon time dilated lifetime of γτ μ = 64.4 μs severely limits the time available for beam manipulation, if there is to be a significant measurement time following the beam cooling period.
The RF reduction method described here has been shown to significantly reduce the CBO while achieving loss of muons comparable to that which occurs during conventional scraping. This improvement is essential to determine the muon spin rotation frequency, and thereby the muon magnetic anomaly a μ with an unprecedented sensitivity.