Accessing PrimaryGeneratorAction in master thread

Hi everyone!
Here is the thing: I want to use the primary information from PrimaryGeneratorAction(PGA) like primary name/energy etc. in RunAction to name my output root file.
However, PrimaryGeneratorAction does not exist in master thread, and if I try to get PGA info at the end of the master thread run, the program just stops. So is there any way I can get PGA info in master thread?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.