41 double pulseDuration{};
44 double laserArrivalTime{};
45 double laserPolarization1{};
46 double laserPolarization2{};
47 double laserPolarization3{};
48 bool ignoreRayleighRange{};
59 void set_value(std::string property, T value);
69 std::cout <<
"Laser> Setting value " << std::setw(25) << std::left <<
property << value << std::endl;
73 set(
this, property, value);
75 catch (
const std::runtime_error&) {
76 std::cerr <<
"Error: placement> unknown option \"" <<
property <<
"\" with value " << value << std::endl;
Placement class for laser.
void print() const
print some properties
std::string name
Name of this laser.
void PublishMembers()
publish members
void set_value(std::string property, T value)
set methods by property name and value
Class that provides introspection to its members.
void set(Laser *instance, const std::string &name, double value)
Parser namespace for GMAD language. Combination of Geant4 and MAD.