This repository contains ROOT macros developed for data analysis.
The file fit.cc
contains macros that are generally applicable to any data set.
The file load_and_plot.cc
contains macros for loading and plotting specific data sets.
They have been used by the author for various publications.
settings and macros to load on ROOT logon
A set of macros simulating EMMA data
macros for plotting in ROOT, emulating Daphne commands
for use with Scarlet at Argonne
Use either of the following commands to download a copy of the git repository.
git clone https://github.com/jonlighthall/root.git
(HTTPS)
git clone git@github.com:jonlighthall/root.git
(SSH)
Set the macro path in '.rootrc' to include this directory.
# Path used to find macros.
# Paths are different for Unix and Windows. The example shows the defaults
# for all ROOT applications for either Unix or Windows.
Unix.*.Root.MacroPath: .:~/root/scripts
WinNT.*.Root.MacroPath: .;C:\Users\jonli\OneDrive\Documents\.cygwin_home\root.git\scripts;
Alternatively, the macros can be loaded via the rootlogon.C
.