31 #include "B4DetectorConstruction.hh"    34 #ifdef G4MULTITHREADED    54     G4cerr << 
" exampleB4a [-m macro ] [-u UIsession] [-t nThreads]" << 
G4endl;
    55     G4cerr << 
"   note: -t option is available only for multi-threaded mode."    62 int main(
int argc,
char** argv)
    73 #ifdef G4MULTITHREADED    76   for ( 
G4int i=1; i<argc; i=i+2 ) {
    77     if      ( 
G4String(argv[i]) == 
"-m" ) macro = argv[i+1];
    78     else if ( 
G4String(argv[i]) == 
"-u" ) session = argv[i+1];
    79 #ifdef G4MULTITHREADED    80     else if ( 
G4String(argv[i]) == 
"-t" ) {
    93   if ( ! macro.size() ) {
   103 #ifdef G4MULTITHREADED   105   if ( nThreads > 0 ) { 
   135   if ( macro.size() ) {
   137     G4String command = 
"/control/execute ";
   142     UImanager->
ApplyCommand(
"/control/execute init_vis.mac");
 virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
 
void SetNumberOfThreads(G4int n)
 
int main(int argc, char **argv)
 
Definition of the B4bActionInitialization class. 
 
static G4UImanager * GetUIpointer()
 
static G4UIterminal * session
 
static G4int ConvertToInt(const char *st)
 
TFTFP_BERT< G4VModularPhysicsList > FTFP_BERT
 
G4int ApplyCommand(const char *aCommand)
 
G4GLOB_DLL std::ostream G4cerr