GRIFFINCollaboration / detectorSimulations_v10

Geant4 version 10 of the simulation code for the GRIFFIN array and it's suite of ancillary detection systems.
MIT License
9 stars 14 forks source link

Viewing all generated events (Perfect efficiency) #74

Closed cnatzke closed 2 years ago

cnatzke commented 2 years ago

Is there a command or option to record all events rather than only those inside the active volumes?

I would like to validate new physics I've added to the simulation.

VinzenzBildstein commented 2 years ago

Not that I know off. That would kind of defeat the purpose of having active volumes. You might be able to get more information if you enable the writing of steps instead of hits, but I think that only increases the information you get when you hit a detector.

cnatzke commented 2 years ago

Good point, thanks. Maybe I'll adapt on the of GEANT4 example simulations.

VinzenzBildstein commented 2 years ago

That's probably the best way. Use one of the simpler examples and either place a very large detector right around the origin where you create the primaries, or change the stepping action to record everything that happens.