43 double minimumKineticEnergy;
44 double maximumKineticEnergy;
47 std::string conversionFactorFile;
48 std::string conversionFactorPath;
49 std::string materialToInclude;
50 std::string materialToExclude;
51 bool scoreWorldVolumeOnly;
52 bool scorePrimariesOnly;
62 void set_value(std::string property, T value);
73 std::cout <<
"scorer> Setting value " << std::setw(25) << std::left <<
property << value << std::endl;
77 {
set(
this,property,value);}
78 catch (
const std::runtime_error&)
80 std::cerr <<
"Error: scorer> unknown option \"" <<
property <<
"\" with value \"" << value <<
"\"" << std::endl;
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)
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.