34 #ifdef G4MULTITHREADED 
   59     G4cerr << 
" exampleB4c [-m macro ] [-u UIsession] [-t nThreads]" << 
G4endl;
 
   60     G4cerr << 
"   note: -t option is available only for multi-threaded mode." 
   67 int main(
int argc,
char** argv)
 
   78 #ifdef G4MULTITHREADED 
   81   for ( 
G4int i=1; i<argc; i=i+2 ) {
 
   82     if      ( 
G4String(argv[i]) == 
"-m" ) macro = argv[i+1];
 
   83     else if ( 
G4String(argv[i]) == 
"-u" ) session = argv[i+1];
 
   84 #ifdef G4MULTITHREADED 
   85     else if ( 
G4String(argv[i]) == 
"-t" ) {
 
  101 #ifdef G4MULTITHREADED 
  103   if ( nThreads > 0 ) { 
 
  137   if ( macro.size() ) {
 
  139     G4String command = 
"/control/execute ";
 
  147     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 B4cActionInitialization class. 
 
static G4UImanager * GetUIpointer()
 
Definition of the B4cDetectorConstruction class. 
 
static G4int ConvertToInt(const char *st)
 
TFTFP_BERT< G4VModularPhysicsList > FTFP_BERT
 
virtual void Initialize()
 
G4int ApplyCommand(const char *aCommand)
 
G4GLOB_DLL std::ostream G4cerr