ExRootAnalysis Install AvailabilityMacros.h

Asked by Patrick Bryant

I am running macOS 10.14.1 and have managed to get MadGraph5 up and running by installing gcc@7 and have run through the tutorial to create the ttbar unweighted_event.lhe file. I would now like to develop the tools to do some truth level analysis with some simple ROOT ntuples. It seems this can be done quite simply with ExRootAnalysis rather than the terrifying mess that is the entire CMSSW framework for MC generation.

Here's what I get upon attempting to install:

MG5_aMC>install ExRootAnalysis
Downloading http://madgraph.phys.ucl.ac.be/Downloads/ExRootAnalysis/ExRootAnalysis_V1.1.5.tar.gz
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 50124 100 50124 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k
compile ExRootAnalysis. This might take a while.
>> Generating tmp/src/ExRootAnalysisDict.cc
Error: cannot open file "AvailabilityMacros.h" /usr/local/Cellar/root/5.34.26/include/root/RConfig.h:384:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing tmp/src/ExRootAnalysisDict.cc tmp/src/ExRootAnalysisDict.h !!!
Error: rootcint: error loading headers...
make: *** [tmp/src/ExRootAnalysisDict.cc] Error 1
Error detected during the compilation. Please check the compilation error and run make manually.

Any ideas?

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Patrick Bryant
Solved:
Last query:
Last reply:
Revision history for this message
Patrick Bryant (patrickbryant) said :
#1

Ah it appears ROOT 6 is now required for ExRootAnalysis. I will try updating ROOT and report back.

Revision history for this message
Patrick Bryant (patrickbryant) said :
#2

Success!

brew install root6
brew link --overwrite root
. /usr/local/Cellar/root/6.14.04_2/bin/thisroot.sh