9#include <framework/gearbox/GearDir.h>
10#include <ir/dbobjects/BeamPipeGeo.h>
21 GearDir cSafety(content,
"Safety/");
24 addParameter(
"LimitStepLength", content.getInt(
"LimitStepLength"));
26 std::vector<std::string> names = {
"Lv1SUS",
"Lv2OutTi",
"Lv2OutBe",
"Lv2InBe",
"Lv2Paraf",
"Lv2Vacuum",
"Lv3AuCoat",
"Lv1TaFwd",
"Lv2VacFwd",
"Lv1TaBwd",
"Lv2VacBwd",
"Flange",
"AreaTubeFwd",
"Lv1TaLERUp",
"Lv1SUSLERUp",
"Lv2VacLERUp",
"Lv1TaHERDwn",
"Lv1SUSHERDwn",
"Lv2VacHERDwn",
"AreaTubeBwd",
"Lv1TaHERUp",
"Lv1SUSHERUp",
"Lv2VacHERUp",
"Lv1TaLERDwn",
"Lv1SUSLERDwn",
"Lv2VacLERDwn",
"PXDMountFwd",
"PXDMountBwd",
"PXDMountFixtureFwd",
"PXDMountFixtureBwd"};
30 for (
auto name : names) {
31 GearDir sect(content, name +
"/");
void initialize(const GearDir &content)
Initialze from the gearbox (xml file)
GearDir is the basic class used for accessing the parameter store.
void addParameters(const GearDir &content, const std::string §ion)
Add parameters from Gearbox.
void addParameter(const std::string &name, double val)
Add parameter to map of parameters.
double getLength(const std::string &path="") const noexcept(false)
Get the parameter path as a double converted to the standard length unit.
Abstract base class for different kinds of events.