FAQ:How to turn off long particle listing?

From Daya Bay
Jump to navigation Jump to search

To do this, you need to turn off the verbosity of the GiGaRunManager. From the python script:

       # skip 10k lines of G4ParticleDefinition dump for Verbosity less than 3
       from GiGa.GiGaConf import GiGa, GiGaRunManager
       giga = GiGa("GiGa")
       gigarm = GiGaRunManager("GiGa.GiGaMgr")
       gigarm.Verbosity = 2 

or from command line:

 nuwa.py -M GiGa.GiGaMgr,0 ...

One can also set it to 1 in order not to suppress the part of the output.