Dear, I am also try to perform the flash progress, but found it hard to trigger the dose rate in the Geant4. Do you have any ideas to solve these problems?
Why to display, store in a txt/dat file and read it later. You can set verbose, like /tracking/verbose 1 etc. Further,
./YourCode yourmacro.mac > outputmacro.dat
please see this : examples/extended/medical/dna/UHDR or examples/advanced/eFLASH_radiotherapy from G4.11.2beta. Please, keep in mine that this is just the beta version
i compared the code between the UHDR and eFLASH, I found the difference of primarygeneratoraction
in UHDR :
for (i<numberof)
{
anevent->addprimaryvertex();
}
i wonder that the difference of the primaryaction between the two flash code, and i am confused that the two set codes of the flash is how to perform the ultrahigh dose rate.