Real-time chromatographic alignment workflow. DIA alignment spectra are acquired, compressed, cross correlated with a control data set separately for each spectrum, and averaged together. The averaged cross-correlation is characterized, and the amount of retention time shift with respect to the control data set is calculated, which determines the set of currently active analytical targets. Finally, targeted MS/MS spectra are acquired for the active targets.