A couple of months ago, I created a Mac OS X package manager for High Energy Physics programs. It’s called Homebrew-hep and is just an extension of the excellent Homebrew package manager. The homepage is http://davidchall.github.io/homebrew-hep/.
This should make it easier to install packages which usually come with documentation pages dedicated to ‘Mac Installation issues’. A couple of great things about the package manager are:
it will keep track of dependencies on other packages, e.g. if you install Herwig++ it will install HepMC and ThePEG too!
it also keeps things in /usr/local/ so you often don’t need to worry about setting environment variables.
it can tell you if you need to update to the latest versions.
I wanted to wait until after a bit of testing before announcing it, but everything seems to work well. I invite you to use it and let me know your experiences. Also, let me know if there are any packages you’d like included, and I’ll try my best.
I just spent a long time trying to work out how to draw an error band graph in ROOT without things looking completely ridiculous. Often ROOT will mess things up with Draw(“l3”) if you have data points that lie outside the range being plotted. To save others the major hassle involved, I’ve put my custom function here.
Many Monte Carlo simulations only give the option of outputting topdrawer files, in particular some of the latest Higgs simulations. I have written a short python script which reads in a topdrawer file and converts the plots to ROOT histograms.
PyROOT scripts tend to send the command line options to ROOT rather than python. This can cause problems when trying to use “-h” to display a help message. Here are some instructions on how to remedy this problem.
LHAPDF is an interface to many popular PDF sets used in high energy physics, and is used by various Monte Carlo programs. It is also possible to use the LHAPDF library to perform PDF reweighting. Here, I provide my installation script.
Update: If installing on a Mac, you might like to read this.