Root Macros: Difference between revisions
Appearance
en>Jlabdaq |
m 1 revision imported |
(No difference)
|
Latest revision as of 17:59, 24 December 2024
Analysis Programs[edit | edit source]
Root Analysis[edit | edit source]
Once the simulation is modified for the scintillator experiment, a small root macro is written to extract the data from the simulation and prepare it for analysis. When the simulation is ran, it creates a root file of all the data from the simulation. The macro reads the root file and creates a histogram of the energy deposited by the muon when entering the scintillator. The program also creates an Ntuple that is filled with the energy deposited, initial position, and momentum of each particle.