49 #ifdef G4MULTITHREADED
74 #ifdef G4MULTITHREADED
76 G4cout <<
"\n\n\t--> Running in multithreaded mode with "
77 << runmanager->GetNumberOfThreads()
78 <<
" threads\n\n" <<
G4endl;
82 G4cout <<
"\n\n\t--> Running in serial mode\n\n" <<
G4endl;
88 int main(
int argc,
char** argv)
128 G4String command =
"/control/execute ";
139 #ifdef GEANT4_USE_TIMEMORY
140 G4cout <<
"\nOutputting TiMemory results...\n" <<
G4endl;
142 manager->write_report(std::cout,
true);
143 std::string fname = argv[0];
144 std::string rfname = fname +
".txt";
145 std::string sfname = fname +
".json";
146 manager->write_report(rfname);
147 manager->write_serialization(sfname);
static void setTheSeed(long seed, int lux=3)
G4int ApplyCommand(const char *aCommand)
void SetVerboseLevel(G4int vl)
void message(RunManager *runmanager)
Definition of the TSActionInitialization class.
G4int G4GetNumberOfCores()
static G4UImanager * GetUIpointer()
virtual void SetUserInitialization(G4VUserDetectorConstruction *userInit)
int main(int argc, char **argv)
Definition of the TSPhysicsList class.
G4int GetVerboseLevel() const
static MCTruthManager * instance
G4GLOB_DLL std::ostream G4cout
Definition of the TSDetectorConstruction class.
virtual void Initialize()