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

SPICE and TRIFIC update and merge 4.10.04 #64

Closed jsmallcombe closed 4 years ago

jsmallcombe commented 4 years ago

Got around to updating my local SPICE and TRIFIC changes to be mergeable. Finally updated SPICE to not use the histograms and to be less of a special case. Hopefully this should make it easier to maintain the code and keep SPICE working in it going forward. Assuming this is the repository we are using going forward, it doesn't seem to have been added to in a while though I know the collaboration has been developing other things.

The only change here that could effect non SPICE users is that I have added an option to store the primary event information in the output tuple. The macro command is "/DetSys/det/RecordGun" There is a slight excess of information as the same primary event information is stored once for every hit in an event, but the option defaults to off when not using SPICE.