Main program of the extensibleFactory example. 더 자세히 ...
#include "DetectorConstruction.hh"#include "ActionInitialization.hh"#include "PrimaryGeneratorAction.hh"#include "G4RunManager.hh"#include "G4PhysListFactoryAlt.hh"#include "G4PhysListRegistry.hh"#include "G4PhysicsConstructorFactory.hh"#include "G4PhysListStamper.hh"#include "MySpecialPhysList.hh"#include "G4VModularPhysicsList.hh"#include "G4UImanager.hh"#include "Randomize.hh"#include "G4VisExecutive.hh"#include "G4UIExecutive.hh"함수 | |
| G4_DECLARE_PHYSLIST_FACTORY (MySpecialPhysList) | |
| int | main (int argc, char **argv) |
Main program of the extensibleFactory example.
extensibleFactory.cc 파일에서 정의되었습니다.
| G4_DECLARE_PHYSLIST_FACTORY | ( | MySpecialPhysList | ) |
extensibleFactory.cc 파일의 138 번째 라인에서 정의되었습니다.
다음을 참조함 : G4PhysListRegistry::AddPhysicsExtension(), G4UImanager::ApplyCommand(), G4UIcommand::ConvertToInt(), FatalException, G4cerr, G4cout, G4endl, G4Exception(), g4alt::G4PhysListFactory::GetReferencePhysList(), G4UImanager::GetUIpointer(), G4VisManager::Initialize(), G4PhysListRegistry::Instance(), g4alt::G4PhysListFactory::ReferencePhysList(), session, G4UIExecutive::SessionStart(), g4alt::G4PhysListFactory::SetDefaultReferencePhysList(), G4MTRunManager::SetNumberOfThreads(), G4RunManager::SetUserInitialization().
1.8.5