phaser-server  0.0.2
energyMonitor.h
Go to the documentation of this file.
1 #ifndef ENERGY_MONITOR_H
2 #define ENERGY_MONITOR_H
8 #include <ca.h>
9 #include "types.h"
10 class PhaseInterface;
11 
17 { public:
18  EnergyMonitor(unsigned, Type::Region);
20 
21  private:
22  const unsigned m_samples;
23  Type::Region m_region;
24  ECA::ChannelAccess m_ca;
25  dbr_double_t m_bemP;
26  dbr_long_t m_bemDataValid;
27 };
28 
29 #endif
Get BEM energy estimate for a region.
Definition: energyMonitor.h:17
double GetRegionEnergy(PhaseInterface &)
Measure a region's energy.
Definition: energyMonitor.cpp:85
EnergyMonitor(unsigned, Type::Region)
Construct an instance.
Definition: energyMonitor.cpp:22
Abstract interface to RF cavity phasing.
Definition: phaseInterface.h:16
Region
BEM region identifiers.
Definition: types.h:14
Application specific data types.