diff --git a/src/libraries/AMPTOOLS_AMPS/Vec_ps_refl.cc b/src/libraries/AMPTOOLS_AMPS/Vec_ps_refl.cc index d6aa7225a..8654ce025 100644 --- a/src/libraries/AMPTOOLS_AMPS/Vec_ps_refl.cc +++ b/src/libraries/AMPTOOLS_AMPS/Vec_ps_refl.cc @@ -127,8 +127,6 @@ #include "AMPTOOLS_AMPS/barrierFactor.h" #include "IUAmpTools/report.h" -#include "UTILITIES/BeamProperties.h" - //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ //....oooOO0OOooo........ Helper Functions ........oooOO0OOooo..... //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/src/libraries/AMPTOOLS_AMPS/Zlm.h b/src/libraries/AMPTOOLS_AMPS/Zlm.h index 20c1aa8e9..8224f4c74 100644 --- a/src/libraries/AMPTOOLS_AMPS/Zlm.h +++ b/src/libraries/AMPTOOLS_AMPS/Zlm.h @@ -51,8 +51,11 @@ class Zlm : public UserAmplitude< Zlm > // the framework to purge the four-vectors bool needsUserVarsOnly() const { return true; } - // the user variables above are the same for all instances of this amplitude - bool areUserVarsStatic() const { return true; } + // are the user variables above the same for all instances of this amplitude? + // this is true if the polarization is embedded in the data file, but it + // is not true if, for example, pGamma is computed from polarization angle + // and fraction that are passed as arguments to the amplitude + bool areUserVarsStatic() const { return m_polInTree; } #ifdef GPU_ACCELERATION