diff --git a/Config/LocustKass_Cavity_1GHz.xml.in b/Config/LocustKass_Cavity_1GHz.xml.in
index c1ca9c22..1572adc5 100644
--- a/Config/LocustKass_Cavity_1GHz.xml.in
+++ b/Config/LocustKass_Cavity_1GHz.xml.in
@@ -340,6 +340,7 @@
+
@@ -421,6 +422,7 @@
+
diff --git a/Config/LocustKass_Cavity_CCA.xml.in b/Config/LocustKass_Cavity_CCA.xml.in
index f7565e7e..57baca8c 100644
--- a/Config/LocustKass_Cavity_CCA.xml.in
+++ b/Config/LocustKass_Cavity_CCA.xml.in
@@ -340,8 +340,9 @@
+
-
+
@@ -421,6 +422,7 @@
+
diff --git a/Source/Utilities/LMCCavityUtility.cc b/Source/Utilities/LMCCavityUtility.cc
index 9d9044b6..2e76f3b8 100644
--- a/Source/Utilities/LMCCavityUtility.cc
+++ b/Source/Utilities/LMCCavityUtility.cc
@@ -139,12 +139,13 @@ namespace locust
if (convolutionMag*convolutionMag > maxGain)
{
maxGain = convolutionMag*convolutionMag;
+ qInferred = 0.;
}
else if ((convolutionMag*convolutionMag < 0.5*maxGain) && (qInferred == 0.))
{
qInferred = dhoCavityFrequency / (2.* rfStepSize * (rfStep-1));
}
- LPROG( testlog, "Cavity GF gain at frequency " << fRF_frequency << " is " << convolutionMag );
+ LPROG( testlog, "Cavity GF gain at frequency " << fRF_frequency << " is " << convolutionMag );
} // rfStep
delete aSignal;