|
phaser-server
0.0.4
|
A class to measure RF cavity phase error. More...
#include <cavityMeter.h>
Public Member Functions | |
| CavityMeter (RfCavity &, double, unsigned, double, std::ofstream &) | |
| Create an instance. More... | |
| double | Measure (PhaseInterface &) |
| Measure region energy via BEM and optionally estimate phase error. More... | |
A class to measure RF cavity phase error.
Phase error is measured by 'kicking' the cavity phase setting and measuring the impact in energy produced by the cavity.
| CavityMeter::CavityMeter | ( | RfCavity & | cavity, |
| double | maxPhaseErr, | ||
| unsigned | samples, | ||
| double | maxDpp, | ||
| std::ofstream & | out | ||
| ) |
Create an instance.
| cavity | - RF cavity to be 'kicked'. |
| maxPhaseErr | - Largest expected phase error (degrees). |
| samples | - Number of BEM region energy samples to take. |
| maxDpp | - Maximum tolerable momentum error. |
| out | - Calculation data output file. |
| double CavityMeter::Measure | ( | PhaseInterface & | pi | ) |
Measure region energy via BEM and optionally estimate phase error.
The passed argument 'kickIt' will be false when the user of the software only want to to testing of this software without being invasive to the accelerator beam energy. This works in conjunction with the RfCavity object, which knows to ignore phase kick requests.