42 double minimumKineticEnergy;
43 double maximumKineticEnergy;
46 std::string conversionFactorFile;
47 std::string conversionFactorPath;
48 std::string materialToInclude;
49 std::string materialToExclude;
50 bool scoreWorldVolumeOnly;
51 bool scorePrimariesOnly;
61 void set_value(std::string property, T value,
bool bExit =
true);
72 std::cout <<
"scorer> Setting value " << std::setw(25) << std::left <<
property << value << std::endl;
76 {
set(
this,property,value);}
77 catch (
const std::runtime_error&)
79 std::cerr <<
"Error: scorer> unknown option \"" <<
property <<
"\" with value \"" << value <<
"\"" << std::endl;
83 {std::rethrow_exception(std::current_exception());}
Class that provides introspection to its members.
void set(Scorer *instance, const std::string &name, double value)
void set_value(std::string property, T value, bool bExit=true)
Set methods by property name and value.
void PublishMembers()
publish members
int particlePDGID
PDG ID code for particle.
void print() const
Print some properties.
std::string type
Type of the scorer, ie forumula.
std::string particleName
Particle name as a string.
Parser namespace for GMAD language. Combination of Geant4 and MAD.