Analysis

There are already several files which help you to analyse root files from primasoft:

  1. PrimaSimAnalysis (can be found here: /geant4/src/PRIMASimAnalysis.cc, /geant4/include/PRIMASimAnalysis.hh)
  2. Config file for Analysis (examples can be found here: /geant4/sim_ana_utilities/ana_default.conf)
  3. Rootmacros (examples can be found here: /geant4/rootmacros)

This is what they do:

PrimaSimAnalysis
Rootmacro