42 double pulseDuration{};
45 double laserArrivalTime{};
46 double laserPolarization1{};
47 double laserPolarization2{};
48 double laserPolarization3{};
49 bool ignoreRayleighRange{};
60 void set_value(std::string property, T value);
70 std::cout <<
"Laser> Setting value " << std::setw(25) << std::left <<
property << value << std::endl;
74 set(
this, property, value);
76 catch (std::runtime_error) {
77 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.