I would like to suppress printing of the large "HADRONIC PROCESS SUMMARY" table at startup. From the stack trace (copied below) it looks like this is getting printed because the verbose member of G4HadronicProcessStore is getting set to 1 in the constructor. I don't see where there is an opportunity for me to change that before the table is printed to the screen. I am setting the verbose level to zero in the constructor of the Physics list like this: runManager->SetUserInitialization(new QGSP_FTFP_BERT(0)); However, that "0" does not seem to get propagated down to G4HadronicProcessStore. ========= Stack trace =========== * thread #1: tid = 0xb5f7c6, 0x0000000101df746b libG4processes.dylib`G4HadronicProcessStore::Dump(this=0x0000000108e44b10, level=1) + 27 at G4HadronicProcessStore.cc:709, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000101df746b libG4processes.dylib`G4HadronicProcessStore::Dump(this=0x0000000108e44b10, level=1) + 27 at G4HadronicProcessStore.cc:709 * frame #1: 0x0000000101df741b libG4processes.dylib`G4HadronicProcessStore::PrintInfo(this=0x0000000108e44b10, part=<unavailable>) + 59 at G4HadronicProcessStore.cc:565 frame #2: 0x0000000101dee708 libG4processes.dylib`G4HadronicProcess::BuildPhysicsTable(this=<unavailable>, p=0x0000000108cdd3f0) + 72 at G4HadronicProcess.cc:179 frame #3: 0x00000001019263f3 libG4run.dylib`G4VUserPhysicsList::BuildPhysicsTable(this=<unavailable>, particle=0x0000000108cdd3f0) + 2611 at G4VUserPhysicsList.cc:688 frame #4: 0x000000010192551f libG4run.dylib`G4VUserPhysicsList::BuildPhysicsTable(this=0x0000000108cbf870) + 1471 at G4VUserPhysicsList.cc:582 frame #5: 0x0000000101911680 libG4run.dylib`G4RunManagerKernel::BuildPhysicsTables(this=0x0000000108bb6330, fakeRun=true) + 144 at G4RunManagerKernel.cc:707 frame #6: 0x000000010191135e libG4run.dylib`G4RunManagerKernel::RunInitialization(this=0x0000000108bb6330, fakeRun=true) + 270 at G4RunManagerKernel.cc:609 frame #7: 0x0000000101901128 libG4run.dylib`G4RunManager::RunInitialization(this=0x0000000108bb6060) + 40 at G4RunManager.cc:313 frame #8: 0x0000000101900c71 libG4run.dylib`G4RunManager::BeamOn(this=0x0000000108bb6060, n_event=0, macroFile=0x0000000000000000, n_select=-1) + 81 at G4RunManager.cc:272 frame #9: 0x0000000101906eb0 libG4run.dylib`G4MTRunManager::Initialize(this=0x0000000108bb6060) + 32 at G4MTRunManager.cc:210 frame #10: 0x000000010001403b CPPsim`main(argc=<unavailable>, argv=<unavailable>) + 1915 at CPPsim.cc:141 frame #11: 0x00007fff97b345fd libdyld.dylib`start + 1
The argument of QGSP_FTFP_BERT was not intended for this purpose and is currently thrown away. To do what you want, you can add the line G4HadronicProcessStore()::Instance()->SetVerbose(0); in your main() just after you have registered the physics list to the runManager. Also, of course, add the line #include "G4HadronicProcessStore.hh" to the top of your main().