perform Fourier phase checks only if a Fourier block is present and not set to power spectra.

This commit is contained in:
2025-12-22 16:09:32 +01:00
parent 6155438676
commit b3ee2000ed

View File

@@ -6735,7 +6735,11 @@ Bool_t PMsrHandler::CheckRRFSettings()
*/ */
Bool_t PMsrHandler::CheckRealFFT() Bool_t PMsrHandler::CheckRealFFT()
{ {
// check // if no Fourier block is present, nothing needs to be checked
if (!fFourier.fFourierBlockPresent)
return true;
// if Fourier is set to power spectra, no phase checks are needed
if (fFourier.fPlotTag == FOURIER_PLOT_POWER) if (fFourier.fPlotTag == FOURIER_PLOT_POWER)
return true; return true;