5 #include <JANA/JApplication.h>
6 #include <JANA/JEvent.h>
15 std::vector<std::map<string,double> > result;
16 loop->GetCalib(
"/PHOTON_BEAM/pair_spectrometer/fine/energy_range", result);
18 jerr <<
"Error in DPSGeometry constructor: "
19 <<
"failed to read fine PS energy_range table "
20 <<
"from calibdb at /PHOTON_BEAM/pair_spectrometer/fine/energy_range" << std::endl;
21 for (
int arm=0; arm <
NUM_ARMS; ++arm) {
29 for (
unsigned int i=0; i < result.size(); ++i) {
static const int NUM_ARMS
double m_energy_low[NUM_ARMS][NUM_FINE_COLUMNS]
double getEhigh(int arm, int column) const
DPSGeometry(JEventLoop *loop)
static const int NUM_FINE_COLUMNS
double getElow(int arm, int column) const
double m_energy_high[NUM_ARMS][NUM_FINE_COLUMNS]