I am working on Total PET Scanner simulations and trying to track all the hits’ coordinates. My problem resides in the fact that I have a G4bool function specific for any sensitive detector which works with some pointers and parameters. I want to print them out to understand more specifically what they do, but to no avail. If I type, for instance, for the photo attached the following statement inside the ProcessHits function:
G4cout << “Print anything” << G4endl;
I do not get any output in the terminal.