To run a simulation:
- cd R3BROOT_BUILD_DIR
- . ./config.sh
- cd R3BROOT_SOURCE_DIR/macros/r3b
- root -l run_sim.C
- [..] .q
This will produce output file sim.root with results of simulation in TTree format and parameter file par.root with parameter containers and detector geometry.
Output file can be directly opened and viewed with ROOT. TTree object with name "evt" contains branches of type TClonesArray with MC tracks and MC points for each detector present in the simulation.