research papers
Simulation of FEL pulse length calculation with THz streaking method
^{a}Paul Scherrer Institut, 5232 Villigen PSI, Switzerland, and ^{b}École Polytechnique Fédérale de Lausanne, Route Cantonale, 1015 Lausanne, Switzerland
^{*}Correspondence email: ishkhan.gorgisyan@psi.ch, pavle.juranic@psi.ch
Having accurate and comprehensive photon diagnostics for the Xray pulses delivered by freeelectron laser (FEL) facilities is of utmost importance. Along with various parameters of the photon beam (such as photon energy, beam intensity, etc.), the pulse length measurements are particularly useful both for the machine operators to measure the beam parameters and monitor the stability of the machine performance, and for the users carrying out pump–probe experiments at such facilities to better understand their measurement results. One of the most promising pulse length measurement techniques used for photon diagnostics is the THz which is capable of simultaneously measuring the lengths of the photon pulses and their arrival times with respect to the pump laser. This work presents simulations of a THz performance. The simulation procedure utilizes FEL pulses with two different photon energies in hard and soft Xray regions, respectively. It recreates the energy spectra of the photoelectrons produced by the photon pulses and streaks them by a singlecycle THz pulse. Following the pulseretrieval procedure of the THz the lengths were calculated from the streaked spectra. To validate the pulse length calculation procedure, the precision and the accuracy of the method were estimated for streaking configuration corresponding to previously performed experiments. The obtained results show that for the discussed setup the method is capable of measuring FEL pulses with about a femtosecond accuracy and precision.
Keywords: simulation; freeelectron laser; femtosecond metrology; terahertz streaking; hard Xrays; timeofflight spectrometer.
1. Introduction
Freeelectron lasers are able to produce short pulses of radiation in both soft and hard Xray regions with a typical radiation power of about 10 GW (with pulse lengths in range of 10 fs), which is orders of magnitude higher than the thirdgeneration synchrotron light sources. Typical experiments carried out at FEL facilities around the world (Ackermann et al., 2007; Emma et al., 2010; Ishikawa et al., 2012) are pump–probe experiments where the sample is pumped by the experiment laser and then probed by the FEL beam. The resolution of pump–probe experiments is mostly dependent on the pumping and probing pulse lengths and the stability of the time delay between these two pulses. In order to improve the resolution of such experiments, to set up the machine itself and monitor its stability, it is important to measure the temporal properties of the photon pulses (pulse duration and the arrival time) on a shottoshot basis. Providing accurate photon diagnostics at femtosecond timescales is, however, challenging.
In recent years various methods have been proposed and developed for accurate measurements of relative arrival times (Bionta et al., 2011; Tavella et al., 2011; Düsterer et al., 2011; Harmand et al., 2013; Hartmann et al., 2014; Juranić et al., 2014a) and pulse lengths (Drescher et al., 2001; Frühling et al., 2009; Ding et al., 2011; Düsterer et al., 2011; Inubushi et al., 2012; Grguraš et al., 2012; Riedel et al., 2013). Among these methods, the THz (Itatani et al., 2002; Frühling et al., 2009; Grguraš et al., 2012; Helml et al., 2014; Juranić et al., 2014b) is able to measure both the length and the arrival time of the photon pulses at wavelengths ranging from UV to hard Xray.
A THz et al., 2014b) has been developed at the Paul Scherrer Institute (PSI) to provide online singleshot diagnostics for the FEL pulses delivered by the future SwissFEL facility (Ganter, 2010; Oberta et al., 2011). A prototype PALM setup was built and tested (Juranić et al., 2014a) both at PSI and at the SPring8 Angstrom Compact freeelectron LAser (SACLA): a hard Xray FEL facility in Japan (Ishikawa et al., 2012; Tono et al., 2013).
called the pulse arrival and length monitor (PALM) (JuranićTo better understand the measurements from the PALM setup and THz streak cameras in general, to improve the data analysis procedure used in the measurements and to validate the theory used in THz streak cameras for photon pulse length retrieval, a Matlab simulation code was developed for streaking and pulse length calculation. The code operates as follows: it takes as an input FEL pulses generated externally by the code Genesis (Reiche, 1999), and simulates the energy streaking of the photoelectrons produced by these pulses. For generating the electron spectra and simulating the streaking effect, a Monte Carlo method called rejection sampling (acceptance–rejection) was used (Gilks & Wild, 1992; Robert & Casella, 2013). The code then calculates the photon pulse lengths following the procedure used in a THz streak camera.
Once the pulse lengths are delivered by the simulation, the accuracy and the precision of the measurement technique is estimated for various pulse lengths. The accuracy in this work is defined as the absolute difference between the initial length of the photon pulse and the pulse length obtained by the simulation, whereas the precision is used as the standard deviation of the calculated values obtained by a set of simulations for the same pulse length.
2. Concept
The theory of the THz et al. (2002), Uiberacker et al. (2005) and Quéré et al. (2005). This section provides a short summary of the concept mostly following the derivations given by Frühling et al. (2009) and Juranić et al. (2014b). The main idea of the concept is to encode the temporal properties of the photon pulse in the energy spectrum of the photoelectrons created by the pulse. This is achieved by overlapping the region with an external timevarying electromagnetic field. In a THz the photon pulse propagates through a gas ionizing an ensemble of electrons whose energies are streaked depending on their emission times with respect to the THz pulse. The of an electron produced by a photon without an external field is defined only by the incident photon energy and the properties of the atom being ionized. When the electron is created in the presence of an external THz field, it starts interacting with the field of the THz pulse and an energy exchange between the electron and the field takes place. The streaking field is taken as a linearly polarized THz wave with an given as , where E_{0} is the field amplitude, t is the time, is the THz frequency and φ is a phase constant. For the electron travelling in the plane of polarization of the THz, the final after the interaction is given by
and the photon pulse length calculation method is explained well in the works by Itataniwhere is the phase of the electric field at the instant of the ionization and U_{p} is the ponderomotive potential. In the derivation of equation (1) it is assumed to be small, , and it is given by the following expression:
where e and m_{e} are the and mass, respectively. Equation (1) shows that the final of a photoelectron propagating in an external THz field depends on the moment of the electron emission with respect to the THz pulse. As the electrons ionized by different parts of the photon pulse are created at different times, they experience different field strengths of the THz field and, therefore, end up with different kinetic energies. The final energy spectrum of the photoelectrons created in the external timevarying field is a convolution of their energy spectrum without the streaking field and the temporal profile of the ionizing photon pulse. In the case of convolution, the root mean square (r.m.s.) widths add up in quadrature and the square of the r.m.s. width of the streaked electron spectrum can be written as
Here, is the r.m.s. width of the electron spectrum without the external streaking field or any energy chirp, is the r.m.s. length of the photon pulse, and the terms s and c are the streaking strength and the linear photon energy chirp along the FEL pulse, respectively. The two opposite signs in equation (3) correspond to two opposite directions of the electrons propagating along the streaking field and opposite to it. The change of the spectral width of the electrons with the streaking strength can be written as . Therefore, by simultaneously measuring this difference of the streaked and nonstreaked spectra for two opposite streaks, one can exclude the term containing the chirp and the r.m.s. length of the photon pulse can be extracted:
In this equation, and are the r.m.s. spectral width differences for the photoelectrons experiencing two opposite streaks. Equation (4) shows that it is possible to reconstruct the photon pulse length by simultaneously measuring the energy spectra of the nonstreaked electrons and the electrons streaked in two opposite directions. This procedure is used in the simulations for the pulse length retrieval.
3. Simulation
The main goal of the simulation is to reproduce the THz streaking effect and obtain energy spectra of the photoelectrons for the experimental setup used in pulse length measurements. The delivered spectra allow the validation of the analysis procedure used in a THz Genesis for SwissFEL parameters.
and estimate the precision and the accuracy of the method. The simulation utilizes FEL pulses generated by3.1. Simulation model
The simulation models the etc. are not discussed in the model. As the average duration of the process is comparable with the coherence time of the FEL [of the order of 100 attoseconds for the pulses discussed here], the energy spectrum of the photoelectrons does not simply mirror the spectrum of the photon pulse; it also has a contribution from the ionization The latter refers to a Gaussian energy spectrum which is the Fourier transformation of the Gaussian profile of the mean ionization time of the photoelectrons (Schultze et al., 2010). Depending on this time, any of the two components can be dominant in the final spectrum of the electrons. When the mean ionization time is faster than the coherence time of the photon pulse, the spectrum of the photoelectrons is broader than the original spectrum of the photons and it is dominated by the ionization Most of the studies about the mean ionization time carried out so far refer to the outer shell electrons using photon energies of a few hundred electronvolts and report values from a few tens up to hundreds of attoseconds (as) (Dahlström et al., 2012, 2015; Kheifets, 2013; Guénot et al., 2014). A recent study of mean emission time of the inner shell electrons with photon energies of up to 10 keV has obtained delays of about 10 as (Kheifets et al., 2015). For such values of time the spectrum of the photoelectrons should be dominated by the In the case of a 10 as emission time the corresponding energy spectrum is very broad and requires many sampling points in the simulation, which makes the procedure slow. For this reason, the simulation model takes the ionization mean time from the inner shells to be about 50 as which still keeps the emission the dominant component of the observed spectra and does not make the simulation process too bulky as it would be for the value of 10 as. Choosing a mean emission time of 50 as instead of 10 as changes only the width of the energy spectrum of the photoelectrons. This change does not affect the final result for the photon pulse length as during the simulation procedure the energy spectrum is first convoluted to the temporal profile of the photon pulse during the streaking and then deconvoluted back during the pulse length calculation process.
process and the energy streaking of the electrons in a simple way, concentrating only on the phenomena that are relevant for the photon pulse length measurement application. For example, effects such as doublephoton ionization, Gouy phase shift,Fig. 1(a) shows the spectra of two photon pulses with different lengths and the spectrum corresponding to a 50 as ionization time. This spectrum is dominant for all the pulses used in the simulation and, therefore, the energy spectra of the nonstreaked photoelectrons are always considered to have the same Gaussian profile.
This simulation utilizes a THz pulse with a frequency of 0.5 THz and a peak ^{−1} corresponding to the THz pulse generated during the experiments with the PALM setup (Juranić et al., 2014a). For this experimental setup the uncertainty in the pulse length measurement is mainly caused by the limited number of the detected photoelectrons and the energy resolution of the electron timeofflight spectrometers (eTOFs) used in the measurements (about 1.2 eV). In the abovementioned experiment the arrival time jitter of the photon pulses with respect to the THz pulse was about 100 fs r.m.s., whereas the linear part of the THz pulse was more than 600 fs long. This means that the streaking strength [term s in equation (4)] could be considered equivalent for all the photon pulses, even for those arriving away from the zerocrossing of the THz. For this reason, the jitter of the arrival time of the photon pulses relative to the THz pulse is not considered in this simulation and all the pulses are assumed to arrive at the zerocrossing of the THz pulse. Based on the same measurements, the electric field jitter of the THz pulse is also neglected and it is assumed constant in the simulations.
of 6 MV mThe central energies of the photoelectrons without the streaking field are taken as half of the photon energies. This corresponds to 6.2 keV and 0.62 keV of initial central energies of the electrons for hard and soft Xrays, respectively. The chosen values for binding energies used in the simulation are realistic and are comparable with the relevant binding energies of the noble gases used in streak cameras.
This simulation model assumes that the number of the photoelectrons registered by the eTOFs is in range from a few thousands up to 10^{5}, depending on the length of the photon pulse. These numbers were chosen based on the measurements performed by the PALM detector (Juranić et al., 2014a,b). A study carried out by Wellhöfer et al. (2008) discusses the spacecharge effect in the photoelectron spectra created by FEL pulses. For about 10^{8} photoelectrons with energies of 15–68 eV, the contribution of the spacecharge effect in the electron energy spectra is only about 1 eV. For the case discussed in this work the maximum number of electrons registered by the eTOFs is 10^{5}, corresponding to about 10^{8} electrons created by the photon pulse at the interaction region. This quantity of the electrons is the same as reported by Wellhöfer et al. (2008), whereas the kinetic energies are much higher (0.62 keV or 6.2 keV), making the spacecharge effect significantly smaller than 1 eV. As the resolution of the eTOF detectors is about 1.2 eV, the spacecharge effect can be neglected in the simulation.
3.2. Simulation of FEL pulses
The FEL process was simulated with the code Genesis (Reiche, 1999). The electron beam properties and the lattice parameters have been chosen based on the SwissFEL specifications (Ganter, 2010). Overall, 178 photon pulses were produced with r.m.s. durations varying between about 1 fs and 15 fs for the radiation wavelength of 0.1 nm and between 20 fs and 40 fs for 1 nm wavelengths. Some of the simulations were carried out with the standard SASE (Kondratenko & Saldin, 1980; Bonifacio et al., 1984) configuration, whereas some others include the option of selfseeding (Feldhaus et al., 1997; Saldin et al., 2001; Geloni et al., 2010; Amann et al., 2012) to reduce the bandwidth of the FEL pulse. Fig. 1 shows the time profiles and spectra of two of the simulated FEL pulses for a 0.1 nm wavelength. The blue and the red curves in the figure show the longpulse and the shortpulse configurations, respectively, of the SwissFEL.
3.3. Simulation procedure
The simulation procedure commences once a photon pulse is generated with a defined temporal profile and a defined energy spectrum. Photoelectron spectra are generated and the streaking is simulated in two opposite directions corresponding to the electrons propagating along the streaking electric field and opposite to it. After obtaining the streaked spectra of the photoelectrons and using their nonstreaked spectrum, the r.m.s. photon pulse length is calculated following the standard analysis procedure based on equation (4).
At the beginning of the simulation, a number of photoelectrons are generated depending on the length of the ionizing photon pulse. Here, the number of photons per unit length of the pulse is considered the same for all the pulses and, therefore, the number of created photoelectrons is taken as proportional to the pulse lengths. Each photoelectron is simulated by the rejection sampling method. The procedure of the simulation is illustrated in the diagram in Fig. 2. First, a random point t_{i} is taken along the temporal profile of the photon pulse which corresponds to the position of the photon field that would ionize the electron. Another random number a is generated between 0 and 1 that defines whether the at the selected point t_{i} should be considered or not. The number is compared with the value of the normalized profile = P(t_{i})/P_{max} at the taken point. If the amplitude is bigger than the generated number a, the chosen point is accepted and a photoelectron is produced from the position t_{i} of the photon pulse. This procedure is repeated until the required amount of photoelectrons is created. The initial nonstreaked energy of each electron is randomly generated from the Gaussian distribution of the , where R_{n} represents a function generating random numbers with a normal distribution. The mean value μ in the function is the central energy equal to the mean energy of the photon pulse minus the binding energy: . The r.m.s. width σ corresponds to the 50 as ionization time.
When the final spectrum of the electrons is registered by the eTOF spectrometer, its acceptance function should be convoluted with the spectrum. It is added in the expression for the energy of a nonstreaked electron detected by the spectrometer:
where is the resolution of the spectrometer, whereas the term ct_{i} is the contribution from a linear chirp along the photon pulse. As the photon pulses delivered by the FEL facilities may have a linear energy chirp along their temporal profile, it is included in the simulation to check the effect of the chirp in the pulse length calculations. The chirp c in the equation is defined as the change of the central energy of photons along the pulse per unit time. It is used in calculations in units of meV fs^{−1}. The effect of the nonlinear chirp is not discussed in this simulation as this effect is typically negligible at FEL facilities.
Analogously, the final
of an electron that is streaked in the THz field can be written asThe term K_{ch}(t_{i}) here is the of the electron before streaking, including also the effect from the linear chirp. The last term on the righthand side is the energy streaking in accordance with equation (1).
Based on equations (5) and (6), energy values are generated and assigned to the number of photoelectrons produced by each photon pulse. As the nonstreaked spectrum and the two streaked spectra are measured independently by different detectors, a new set of random numbers is generated for each of these spectra. This ensures that the effect of statistical fluctuations of the spectra is included in the pulse length calculation procedure. Fig. 3 shows the distribution of the electron energies registered by an eTOF spectrometer. These energy values are generated by the procedure described above and correspond to photoelectrons created by a photon pulse of 1.5 fs at a photon energy of 12.4 keV, without external streaking. One can see from the figure that the spectrum is not a smooth Gaussian due to the small number of electrons created by a short pulse. After recreating the electron spectra from the simulations, the r.m.s. pulse length can be calculated from equation (4) using the spectral width differences and .
As the quantities and are defined as the quadratic difference of the streaked and the nonstreaked spectra, they may have also negative values when the statistical fluctuations of the spectra are larger than the streaking itself. This may result in a negative sign under the square root in equation (4) making the pulse length value imaginary. Such a result is an artifact of the evaluation process and does not have any physical meaning. For this reason the simulation code has to check and reject these imaginary values that appear, especially in the case of short photon pulses where the difference between the streaked and nonstreaked spectral widths is small. When the nonphysical values are filtered out, the distribution of the remaining values is no longer symmetric around the mean value and has a cutoff at the zero length. This skews the final value of the average pulse length shifting it towards higher numbers. This means that the acceptance rate of a calculation set can also affect the accuracy of the results. This effect is observed in the simulations for short pulses and is discussed in the next section. In order to have a better estimation of a pulse length in average after many shots, one can keep the square value of the pulse lengths including also the negative ones. In this case the distribution of the obtained values will be symmetric around the mean and the square root of this mean value will describe the pulse length more accurately. The simulation procedure in this paper concentrates on singleshot measurements filtering out the imaginary values and the calculated mean pulse lengths give more the upper limit for the short pulses rather than measuring the actual values.
The r.m.s. spectral widths used for the pulse length calculation were obtained in two different ways. The first way was to perform a Gaussian fit to the spectrum and take the standard deviation value of the fit as the r.m.s. width of the spectrum. This fitting procedure is the one most commonly used in the data analysis and the theory of the THz et al., 2002; Frühling et al., 2009). The second method used for the pulse length calculation was to evaluate the standard deviation of the spectrum directly from the photoelectron energy distribution (shown in Fig. 3). This method does not depend on the shape of the electron spectra and can provide accurate results even for nonGaussian spectra. However, it is less often used in the data analysis as the spectra registered during the measurements also have a background signal from other electrons (from other shells or Auger electrons) and defining the precise range for the spectrum of a particular line for each photon pulse is challenging.
is developed for Gaussian pulses (ItataniAfter calculating the pulse lengths following the simulation procedure described above, the obtained results are compared with the initial pulse lengths.
4. Results
The r.m.s. duration of the used 178 different FEL pulses was in the range from about 1 fs up to 40 fs. The pulses had photon energies of 1.24 keV or 12.4 keV. The lengths of the pulses were calculated following the procedure described in §3.3. The spectral widths were obtained by either performing Gaussian fits to the spectra or taking their r.m.s. widths directly. These two methods revealed different results in terms of precision and accuracy.
The results obtained by fitting Gaussian profiles to the energy spectra are presented in Table 1 for some photon pulses randomly chosen per pulse length. The initial r.m.s. lengths of the pulses and the mean lengths delivered by the simulation are shown as well as the standard deviation of the pulse length from 100 measurements per input pulse and the accuracy of the mean value. The difference between the hard and soft Xray pulses is that the energy of the created electrons before streaking is different and, therefore, they are streaked by different amounts according to equation (6): the higher the initial energy of the electrons the more is the absolute streak of the spectra. This means that if both types of electrons are detected by the eTOFs with the same resolution, then the spectra which are more streaked should give better accuracy and precision. Such a result can be observed in Table 1, which shows better agreements for the more energetic 6.2 keV electrons produced by the hard Xray pulses.

For short photon pulses the amount of imaginary values for the pulse length that occur due to statistical fluctuations of the spectra is about 50%. As these nonphysical results are rejected by the simulation, the average pulse length is shifted towards higher values which can be seen in Table 1. For the pulses of about 5 fs r.m.s. the acceptance rate is about 75% and it reaches 100% for the longer pulses. The comparison of the results delivered by the simulations and the initial pulse lengths is illustrated in Fig. 4. Here the blue diagonal reference line shows the initial pulse lengths, whereas the green triangles and the red circles correspond to the calculated pulse lengths for hard and soft Xray photons, respectively. The vertical bars in the figure represent the precision of the calculation which is the standard deviation of a set of calculations for each photon pulse. It changes from about 6 fs down to subfs. The precision is better for hard Xray photon pulses as they correspond to stronger streaking. It also improves with longer pulses as the number of created photoelectrons is higher in this case and, therefore, the statistical fluctuations are smaller, making the calculations more reproducible for each single shot.
The accuracy of the 1.5 fs photon pulses is about 6 fs providing the upper limit of the pulse length values. This is caused by the high rejection rates of nonphysical pulse lengths. For the pulses of 5 fs and longer the accuracy is better than 2 fs down to subfs. One can also see both from the figure and the table that the accuracy gets slightly worse for the longest pulses used in the simulations. The reason for such a result is that the spectra of the streaked photoelectrons from the long photon pulses are no longer Gaussian and the errors induced by the fitting process become significant. For such cases the second method of pulse length retrieval that uses the r.m.s. widths of the spectra provides better results.
The second way to evaluate the widths of the electron spectra is to calculate the r.m.s. widths directly from the simulated data. The spectral widths obtained by this method describe the spectrum better and are not dependent on the shape of the peaks, so the calculated pulse lengths are more accurate. The mean values obtained this way are shown in Table 2 with their standard deviations and accuracies for the same photon pulses as given in Table 1. As one can see from the table, the calculated mean lengths for the short pulses are shifted towards higher numbers. As in the previous case, such a result is caused by the high rejection rate of nonphysical pulse length values (about 50%). About 85% of the pulses with r.m.s. length of 5 fs are accepted in the simulation and for longer pulses the acceptance is 100%. The accuracy of the calculated mean values is about 5 fs for the 1.5 fslong pulses and is better than a femtosecond for all the other pulses.

The results delivered by this method for all 178 photon pulses are displayed in Fig. 5. From the vertical bars in the figure one can see that the precision changes from about 5 fs down to subfs. It improves when moving towards longer pulses and higher photon energies which is consistent with the results delivered by the previous method.
5. Discussion
The results obtained from the simulations help to characterize the THz shows the accuracy of the obtained pulse lengths (Fig. 6a) and the precision of the calculations (Fig. 6b) provided by two different ways of obtaining the spectral widths. The plots on the left and right sides correspond to the results from the pulses with photon energies of 12.4 keV and 1.24 keV, respectively. The accuracy for the pulses longer than 5 fs is better than 2 fs for the both calculation methods. A significant difference between the Gaussian fitting and the r.m.s. methods can be observed for the shortest and the longest pulses. In the case of short pulses, the number of the created electrons is not sufficient to recreate a smooth Gaussian profile of the energy spectrum (Fig. 3) and the Gaussian fit does not represent the spectrum well, whereas for the longer pulses the streaked spectra have a more flattop shape than Gaussian. In such cases, directly calculating the r.m.s. widths of the spectra is preferable. The results in Fig. 6(a) show that for the experimental setup described by Juranić et al. (2014a) the THz is able to measure photon pulses from 5 fs to 40 fs with an accuracy of about 1 fs, whereas for the 1.5 fslong pulses it can provide an upper limit with about 6 fs accuracy.
measurement method and indicate possible ways to achieve the highest measurement accuracy for different pulse lengths by changing the streaking parameters. Fig. 6From Fig. 6(b) one can observe an improvement of precision with longer pulses which produce more photoelectrons reducing the statistical fluctuations of the spectra from shot to shot. The figure also shows that the spread of the calculated values is smaller for hard Xray photons corresponding to more streaking of photoelectrons compared with the soft Xray case, even though the latter corresponds to longer pulses. This shows that the lack of photoelectrons can be compensated by stronger streaking fields, reducing the contribution of the statistical fluctuations in overall uncertainties of the calculations. The precision of calculations using Gaussian fitting is slightly worse than for the method with the r.m.s. widths. The reason for this is that the fitting process introduces an additional error in the calculations from shot to shot.
The simulation results show that Gaussian fitting can be applied in most of the cases when the electron spectra have Gaussian shape. This method is easier to implement during the data analysis of the measurements and does not induce a significant error in the case of the mentioned setup. On the other hand, when the electron spectra are not Gaussian the method with the r.m.s. width should be utilized for more accurate results.
Fig. 6 indicates better accuracy and precision for more energetic electrons (created by the 12.4 keV photons) as they correspond to more absolute streaking. Such a result was obtained assuming that the eTOFs measure both types of the electrons with the same resolution. However, when the energy of the photoelectrons is too high, they will not be detected by the eTOFs with sufficient resolution which will affect the pulse length measurement accuracy. For this reason, to achieve better accuracy and precision it is preferable to increase the streaking field of the THz pulse instead of using more energetic electrons.
The simulation procedure concentrates only on the effects caused by the statistical fluctuations of the photoelectron spectra and by the limited resolution of the eTOF spectrometers used in the experiments. These effects are dominant for the present setup as described by Juranić et al. (2014b,a). It is possible to reduce the uncertainties and errors caused by these effects by increasing the streaking strength and the number of created photoelectrons. In this case, however, other sources of uncertainties may become dominant: for strong streaking field, for instance, small fluctuations of the field strength may cause large errors in the measurements, which implies stricter stability requirements for the streaking THz pulse. In the case of using higher gas densities to produce more photoelectrons, the spacecharge effect may become more than an electronvolt causing a detectable broadening of the spectrum which will affect the final results. Bearing this in mind, it is possible to alternate some parameters of the experimental setup to achieve a measurement accuracy of a femtosecond and better at any given pulse length.
As this simulation does not restrict itself to a specific temporal profile of FEL pulses, the obtained results are valid not only for SwissFEL but also for any other FEL facility delivering SASE or selfseeded photon pulses with pulse lengths from 1 fs to 40 fs.
6. Conclusion
A simulation procedure was developed to model the THz streaking process and calculate the photon pulse lengths following the pulse retrieval method of the THz
The simulation used 178 FEL pulses with r.m.s. lengths from about 1 fs to 40 fs, most of them corresponding to SwissFEL standard operation modes. The pulse lengths obtained through the simulation procedure were compared with the initial lengths of the pulses calculated directly from the temporal profiles. Two different ways of calculating the spectral widths were discussed: performing Gaussian fits to the energy spectra of the electrons or calculating the r.m.s. widths of the spectra directly. For most of the pulses used in the simulation both methods provided similar results without a significant difference. However, in some cases the method using the r.m.s. widths of the spectra was shown to be more accurate, even though being more difficult to implement in the data analysis process. The accuracy of the calculation was about 1 fs for the 5 fs pulses and longer. For the pulses of about 1 fs the obtained values gave only an upper limit due to the high rejection rate in the simulation procedure. The obtained results provide a good estimate of the accuracies to be expected from the measurements of different FEL pulse lengths using a THz streak camera.Acknowledgements
The authors of this paper would like to express their gratitude to S. Manson and A. Kheifets for providing information about mean
times. The authors acknowledge also M. Dahlström and E. Lindroth for fruitful discussions about two photon ionization processes.References
Ackermann, W. et al. (2007). Nat. Photon. 1, 336–342. Web of Science CrossRef
Amann, J. et al. (2012). Nat. Photon. 6, 693–698. Web of Science CrossRef CAS
Bionta, M., Lemke, H., Cryan, J., Glownia, J., Bostedt, C., Cammarata, M., Castagna, J., Ding, Y., Fritz, D., Fry, A., Krzywinski, J., Messerschmidt, M., Schorb, S., Swiggers, M. L. & Coffee, R. N. (2011). Opt. Express, 19, 21855–21865. Web of Science CrossRef CAS PubMed
Bonifacio, R., Pellegrini, C. & Narducci, L. (1984). Opt. Commun. 50, 373–378. CrossRef CAS Web of Science
Dahlström, M., Carette, T. & Lindroth, E. (2012). Phys. Rev. A, 86, 061402.
Dahlström, M., Vacher, M., Maquet, A., Caillat, J. & Haessler, S. (2015). Ultrafast Dynamics Driven by Intense Light Pulses, pp. 177–202. Berlin: Springer.
Ding, Y., Behrens, C., Emma, P., Frisch, J., Huang, Z., Loos, H., Krejcik, P. & Wang, M. H. (2011). Phys. Rev. ST Accel. Beams, 14, 120701. Web of Science CrossRef
Drescher, M., Hentschel, M., Kienberger, R., Tempea, G., Spielmann, C., Reider, G. A., Corkum, P. B. & Krausz, F. (2001). Science, 291, 1923–1927. Web of Science CrossRef PubMed CAS
Düsterer, S. et al. (2011). New J. Phys. 13, 093024.
Emma, P. et al. (2010). Nat. Photon. 4, 641–647. Web of Science CrossRef CAS
Feldhaus, J., Saldin, E. L., Schneider, J. R., Schneidmiller, E. A. & Yurkov, M. V. (1997). Opt. Commun. 140, 341–352. CrossRef CAS Web of Science
Frühling, U., Wieland, M., Gensch, M., Gebert, T., Schütte, B., Krikunova, M., Kalms, R., Budzyn, F., Grimm, O., Rossbach, J., Plönjes, E. & Drescher, M. (2009). Nat. Photon. 3, 523–528.
Ganter, R. (2010). SwissFEL Conceptual Design Report. Report 42006326. Paul Scherrer Institute, Villigen, Switzerland.
Geloni, G., Kocharyan, V. & Saldin, E. (2010). arXiv:1004.4067.
Gilks, W. R. & Wild, P. (1992). Appl. Stat. 41, 337. CrossRef Web of Science
Grguraš, I., Maier, A., Behrens, C., Mazza, T., Kelly, T. J., Radcliffe, P., Düsterer, S., Kazansky, A. K., Kabachnik, N. M., Tschentscher, T., Costello, J. T., Meyer, M., Hoffmann, M. C., Schlarb, H. & Cavalieri, A. L. (2012). Nat. Photon. 6, 852–857.
Guénot, D. et al. (2014). J. Phys. B, 47, 245602.
Harmand, M., Coffee, R., Bionta, M., Chollet, M., French, D., Zhu, D., Fritz, D., Lemke, H., Medvedev, N., Ziaja, B., Toleikis, S. & Cammarata, M. (2013). Nat. Photon. 7, 215–218. Web of Science CrossRef CAS
Hartmann, N. et al. (2014). Nat. Photon. 8, 706–709. Web of Science CrossRef CAS
Helml, W. et al. (2014). Nat. Photon. 8, 950–957. Web of Science CrossRef CAS
Inubushi, Y., Tono, K., Togashi, T., Sato, T., Hatsui, T., Kameshima, T., Togawa, K., Hara, T., Tanaka, T., Tanaka, H., Ishikawa, T. & Yabashi, M. (2012). Phys. Rev. Lett. 109, 144801. Web of Science CrossRef PubMed
Ishikawa, T. et al. (2012). Nat. Photon. 6, 540–544. Web of Science CrossRef CAS
Itatani, J., Quéré, F., Yudin, G. L., Ivanov, M. Y., Krausz, F. & Corkum, P. B. (2002). Phys. Rev. Lett. 88, 173903. Web of Science CrossRef PubMed
Juranić, P. N. et al. (2014a). Opt. Express, 22, 30004–30012. Web of Science PubMed
Juranić, P. N., Stepanov, A., Peier, P., Hauri, C. P., Ischebeck, R., Schlott, V., Radović, M., Erny, C., ArdanaLamas, F., Monoszlai, B., Gorgisyan, I., Patthey, L. & Abela, R. (2014b). J. Instrum. 9, P03006.
Kheifets, A. (2013). Phys. Rev. A, 87, 063404. Web of Science CrossRef
Kheifets, A., Saha, S., Deshmukh, P., Keating, D. & Manson, S. (2015). Phys. Rev. A, 92, 063422. Web of Science CrossRef
Kondratenko, A. & Saldin, E. (1980). Part. Accel. 10, 207–216. CAS
Oberta, P., Flechsig, U. & Abela, R. (2011). Proc. SPIE, 8078, 807805. CrossRef
Quéré, F., Mairesse, Y. & Itatani, J. (2005). J. Mod. Opt. 52, 339–360.
Reiche, S. (1999). Nucl. Instrum. Methods Phys. Res. A, 429, 243–248. Web of Science CrossRef CAS
Riedel, R., AlShemmary, A., Gensch, M., Golz, T., Harmand, M., Medvedev, N., Prandolini, M. J., SokolowskiTinten, K., Toleikis, S., Wegner, U., Ziaja, B., Stojanovic, N. & Tavella, F. (2013). Nat. Commun. 4, 1731. Web of Science CrossRef PubMed
Robert, C. & Casella, G. (2013). Monte Carlo Statistical Methods. Springer Science and Business Media.
Saldin, E. L., Schneidmiller, E. A., Shvyd'ko, Y. V. & Yurkov, M. V. (2001). Nucl. Instrum. Methods Phys. Res. A, 475, 357–362. Web of Science CrossRef CAS
Schultze, M. et al. (2010). Science, 328, 1658–1662. Web of Science CrossRef CAS PubMed
Tavella, F., Stojanovic, N., Geloni, G. & Gensch, M. (2011). Nat. Photon. 5, 162–165. Web of Science CrossRef CAS
Tono, K., Togashi, T., Inubushi, Y., Sato, T., Katayama, T., Ogawa, K., Ohashi, H., Kimura, H., Takahashi, S., Takeshita, K., Tomizawa, H., Goto, S., Ishikawa, T. & Yabashi, M. (2013). New J. Phys. 15, 083035. Web of Science CrossRef
Uiberacker, M., Goulielmakis, E., Kienberger, R., Baltuska, A., Westerwalbesloh, T., Keineberg, U., Heinzmann, U., Drescher, M. & Krausz, F. (2005). Laser Phys. 15, 195–204. CAS
Wellhöfer, M., Hoeft, J. T., Martins, M., Wurth, W., Braune, M., Viefhaus, J., Tiedtke, K. & Richter, M. (2008). J. Instrum. 3, P02003.
This is an openaccess article distributed under the terms of the Creative Commons Attribution (CCBY) Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original authors and source are cited.