BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Physics biasing class for parser. More...
#include <physicsbiasing.h>
Public Member Functions | |
PhysicsBiasing () | |
constructor | |
void | clear () |
reset | |
void | print () const |
print some properties | |
void | set_value (const std::string &property, double value) |
set methods by property name, numeric values | |
void | set_value (const std::string &property, Array *value) |
set methods by property name, list of numeric values | |
void | set_value (const std::string &property, std::string value) |
set methods by property name, string values | |
Data Fields | |
std::string | name |
std::string | particle |
particle name | |
std::string | process |
geant4 process: single string, but can have multiple processes separated with a space | |
std::vector< std::string > | processList |
std::vector< double > | factor |
factors corresponding to process | |
std::vector< PhysicsBiasingType > | flag |
flag which particles are biased | |
Physics biasing class for parser.
Definition at line 40 of file physicsbiasing.h.
PhysicsBiasing::PhysicsBiasing | ( | ) |
constructor
Definition at line 29 of file physicsbiasing.cc.
void PhysicsBiasing::clear | ( | ) |
void PhysicsBiasing::print | ( | ) | const |
void PhysicsBiasing::set_value | ( | const std::string & | property, |
Array * | value | ||
) |
set methods by property name, list of numeric values
Definition at line 67 of file physicsbiasing.cc.
References factor, flag, and GMAD::Array::set_vector().
void PhysicsBiasing::set_value | ( | const std::string & | property, |
double | value | ||
) |
set methods by property name, numeric values
Definition at line 54 of file physicsbiasing.cc.
void PhysicsBiasing::set_value | ( | const std::string & | property, |
std::string | value | ||
) |
set methods by property name, string values
Definition at line 86 of file physicsbiasing.cc.
std::vector<double> GMAD::PhysicsBiasing::factor |
factors corresponding to process
Definition at line 50 of file physicsbiasing.h.
Referenced by BDSDetectorConstruction::BuildCrossSectionBias(), clear(), print(), and set_value().
std::vector<PhysicsBiasingType> GMAD::PhysicsBiasing::flag |
flag which particles are biased
Definition at line 52 of file physicsbiasing.h.
Referenced by BDSDetectorConstruction::BuildCrossSectionBias(), clear(), print(), and set_value().
std::string GMAD::PhysicsBiasing::name |
name
Definition at line 43 of file physicsbiasing.h.
Referenced by BDSDetectorConstruction::BuildCrossSectionBias(), clear(), print(), and set_value().
std::string GMAD::PhysicsBiasing::particle |
particle name
Definition at line 45 of file physicsbiasing.h.
Referenced by BDSDetectorConstruction::BuildCrossSectionBias(), clear(), print(), and set_value().
std::string GMAD::PhysicsBiasing::process |
geant4 process: single string, but can have multiple processes separated with a space
Definition at line 47 of file physicsbiasing.h.
Referenced by BDSDetectorConstruction::BuildCrossSectionBias(), clear(), print(), and set_value().
std::vector<std::string> GMAD::PhysicsBiasing::processList |
Definition at line 48 of file physicsbiasing.h.