61 int main(
int argc, 
char** argv)
 
   67   if (argc < 2 || argc >= 4) {
 
   68     G4cerr << 
"clGeometry: Correct syntax: clGeometry <call_list_file> [ <macro_file> ]" 
   70     G4cerr << 
"If only one argument is specified, interactive mode will be " 
   71            << 
"entered." << G4endl << 
"The second argument, if specified, is " 
   72            << 
"the name of the macro file (batch mode)." << 
G4endl;
 
   80     std::ifstream 
in(inFile);
 
   82       G4cerr << 
"Cannot open input file \"" << inFile << 
"\"" << 
G4endl;
 
   89     std::ifstream mac(macroFile);
 
   91       G4cout << 
"Cannot open macro file """ << macroFile << 
"""" << 
G4endl;
 
  122     G4String command = 
"/control/execute ";
 
  132     uiManager->
ApplyCommand(
"/control/execute init_vis.mac");
 
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
 
Definition of the G3toG4DetectorConstruction class. 
 
int main(int argc, char **argv)
 
Definition of the ExG4PrimaryGeneratorAction01 class. 
 
static G4UImanager * GetUIpointer()
 
G4GLOB_DLL std::ostream G4cout
 
Definition of the ExG4EventAction01 class. 
 
virtual void Initialize()
 
Definition of the ExG4RunAction01 class. 
 
The primary generator class with particle gun. 
 
G4int ApplyCommand(const char *aCommand)
 
G4GLOB_DLL std::ostream G4cerr
 
virtual void SetUserAction(G4UserRunAction *userAction)