63 std::string geometryFile;
64 std::string geometryType;
65 std::string blmMaterial;
70 std::string scoreQuantity;
81 void set_value(std::string property, T value);
92 std::cout <<
"blmplacement> Setting value " << std::setw(25) << std::left
93 <<
property << value << std::endl;
97 {
set(
this,property,value);}
98 catch (
const std::runtime_error&)
100 std::cerr <<
"Error: blmplacement> unknown option \"" <<
property
101 <<
"\" with value \"" << value <<
"\"" << std::endl;
double sideOffset
Offset between the geometry and the BLM.
bool axisAngle
Flag to use the axis angle construction of rotation.
void PublishMembers()
publish members
double theta
Euler angle for rotation.
std::string side
which side to attach to: top, bottom, left, right.
std::string referenceElement
Name of reference element w.r.t. to place to.
std::string name
Name of this samplerplacement.
double psi
Euler angle for rotation.
double phi
Euler angle for rotation.
void print() const
print some properties
BLMPlacement()
constructor
double s
Curvilinear s position to place w.r.t..
int referenceElementNumber
Index of repetition of element if there are multiple uses.
void set_value(std::string property, T value)
set methods by property name and value
Class that provides introspection to its members.
void set(BLMPlacement *instance, const std::string &name, double value)
Parser namespace for GMAD language. Combination of Geant4 and MAD.