Geant4
10.03
|
Chem1 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) |
void | Parse (int &argc, char **argv) |
int | main (int argc, char **argv) |
Chem1 example.
Definition in file chem1.cc.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 71 of file chem1.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(), and G4RunManager::SetUserInitialization().
void Parse | ( | int & | argc, |
char ** | argv | ||
) |
Definition at line 193 of file chem1.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 | ) |
Referenced by Par02DetectorConstruction::Construct(), RunAction::CreateNtuple(), main(), Parse(), parserCreate(), parserInit(), G4GDMLRead::Read(), RunAction::WriteNtuple(), XML_ExternalEntityParserCreate(), XML_SetExternalEntityRefHandlerArg(), and XML_UseParserAsHandlerArg().