9#include <beast/beamabort/dbobjects/BeamabortGeo.h>
19 addParameter(
"stepSize", content.getWithUnit(
"stepSize"));
20 addParameter(
"BeamBackgroundStudy", content.getInt(
"BeamBackgroundStudy"));
23 addArray(
"bar", content.getArray(
"bar"));
24 addParameter(
"WorkFunction", content.getDouble(
"WorkFunction"));
25 addParameter(
"FanoFactor", content.getDouble(
"FanoFactor"));
27 GearDir cActive(content,
"Active/");
void addParameter(const std::string &name, double val)
Add parameter to map of parameters.
void addArray(const std::string &name, std::vector< double > arr)
Add parameter array to map of parameters.
void initialize(const GearDir &content)
Initialze from the gearbox (xml file)
GearDir is the basic class used for accessing the parameter store.
std::vector< double > getArray(const std::string &path) const noexcept(false)
Get the parameter path as a list of double values converted to the standard unit.
int getInt(const std::string &path="") const noexcept(false)
Get the parameter path as a int.
Abstract base class for different kinds of events.