Geant4
10.03
|
Chem4 example. More...
#include "DetectorConstruction.hh"
#include "PhysicsList.hh"
#include "ActionInitialization.hh"
#include "G4RunManager.hh"
#include "G4DNAChemistryManager.hh"
#include "G4UImanager.hh"
#include "G4UIExecutive.hh"
#include "G4VisExecutive.hh"
#include "CommandLineParser.hh"
Go to the source code of this file.
Functions | |
CommandLineParser * | parser (0) |
unsigned int | noise () |
void | SetSeed () |
void | Parse (int &argc, char **argv) |
int | main (int argc, char **argv) |
bool | IsBracket (char c) |
Variables | |
long | seed = 0 |
Chem4 example.
Definition in file chem4.cc.
bool IsBracket | ( | char | c | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 77 of file chem4.cc.
References G4UImanager::ApplyCommand(), G4UIcommand::ConvertToInt(), G4DNAPARSER::CommandLineParser::DeleteInstance(), G4cout, G4endl, G4Threading::G4GetNumberOfCores(), G4DNAPARSER::CommandLineParser::GetCommandIfActive(), G4MTRunManager::GetNumberOfThreads(), G4DNAPARSER::Command::GetOption(), G4UImanager::GetUIpointer(), G4RunManager::Initialize(), G4VisManager::Initialize(), G4UIExecutive::IsGUI(), Parse(), parser(), G4UIExecutive::SessionStart(), G4MTRunManager::SetNumberOfThreads(), SetSeed(), and G4RunManager::SetUserInitialization().
unsigned int noise | ( | ) |
void Parse | ( | int & | argc, |
char ** | argv | ||
) |
Definition at line 295 of file chem4.cc.
References G4DNAPARSER::CommandLineParser::AddCommand(), G4DNAPARSER::CommandLineParser::CheckIfNotHandledOptionsExists(), G4DNAPARSER::CommandLineParser::DeleteInstance(), G4DNAPARSER::CommandLineParser::GetParser(), G4DNAPARSER::Command::OptionNotCompulsory, G4DNAPARSER::CommandLineParser::Parse(), parser(), G4DNAPARSER::Command::WithOption, and G4DNAPARSER::Command::WithoutOption.
Referenced by main().
CommandLineParser* parser | ( | 0 | ) |
void SetSeed | ( | ) |
Definition at line 212 of file chem4.cc.
References buffer, G4cout, G4endl, G4DNAPARSER::CommandLineParser::GetCommandIfActive(), G4DNAPARSER::Command::GetOption(), IsBracket(), noise(), parser(), and seed.
Referenced by main(), and G4MPImessenger::SetNewValue().
long seed = 0 |
Definition at line 68 of file chem4.cc.
Referenced by generate_hash_secret_salt(), G4MPIrandomSeedGenerator::GenerateSeeds(), G4TemplateRNGHelper< T >::GetSeed(), main(), Par02Smearer::Par02Smearer(), CLHEP::seed_spbox(), G4MPImessenger::SetNewValue(), and SetSeed().