103 const std::set<TG4ParticlesChecker::ParticleProperty>& availableProperties =
105 std::set<TG4ParticlesChecker::ParticleProperty>::const_iterator it;
106 for (it = availableProperties.begin(); it != availableProperties.end();
109 candidates = candidates + G4String(
" ");
113 G4String guidance =
"Select particle property to be checked.\n";
114 guidance = guidance +
"Available: ";
115 guidance = guidance + candidates;
Definition of the TG4ParticlesCheckerMessenger class.
Definition of the TG4ParticlesChecker class.
G4UIcmdWithoutParameter * fCheckParticlesCmd
command: checkParticles
G4UIcmdWithADouble * fSetPrecisionCmd
command: setPrecision
G4UIcmdWithAString * fSelectPropertyCmd
command: selectProperty
virtual void SetNewValue(G4UIcommand *command, G4String string)
G4UIcmdWithAnInteger * fCheckParticleCmd
command: checkParticle
TG4ParticlesCheckerMessenger()
Not implemented.
G4UIcmdWithABool * fSetCheckingCmd
command: setChecking
G4UIdirectory * fDirectory
command directory
TG4ParticlesChecker * fParticlesChecker
associated class
virtual ~TG4ParticlesCheckerMessenger()
G4String fSelectedProperty
selected property
A helper class for comparing the basic particles properties in between Root and Geant4.
static G4String GetParticlePropertyName(ParticleProperty property)
static ParticleProperty GetParticleProperty(const G4String &propertyName)