G4CompileWRootforTracks
Jump to navigation
Jump to search
These instruction describe how you can create a tree within ExN02SteppingVerbose to store tracking info in an array (max number of steps in a track is set to 100 for the desired particle)
- include "TFile.h"
- include "TH1.h"
- include "TH2.h"
- include "TProfile.h"
Simulations_of_Particle_Interactions_with_Matter#Compiling_G4_with_ROOT