62 std::string geometryFile;
63 std::string geometryType;
64 std::string blmMaterial;
69 std::string scoreQuantity;
80 void set_value(std::string property, T value,
bool bExit =
true);
91 std::cout <<
"blmplacement> Setting value " << std::setw(25) << std::left
92 <<
property << value << std::endl;
96 {
set(
this,property,value);}
97 catch (
const std::runtime_error&)
99 std::cerr <<
"Error: blmplacement> unknown option \"" <<
property
100 <<
"\" with value \"" << value <<
"\"" << std::endl;
104 {std::rethrow_exception(std::current_exception());}
double sideOffset
Offset between the geometry and the BLM.
void set_value(std::string property, T value, bool bExit=true)
set methods by property name and value
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.
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.