TLorentzVector.h cannot be found
I've been trying to install both MadAnalysis5 and Delphes 3.4.1 but am having a real hard time. I've downloaded the binary version of root_v6.14.06 compatible with Ubuntu 14.04. When I tried to install MadAnalysis5, the following error appeared.
norhan@
MA5:
MA5: *******
MA5: * *
MA5: * W E L C O M E to M A D A N A L Y S I S 5 *
MA5: * ______ ______ *
MA5: * /'\_/`\/\ __ \/\ ___\ *
MA5: * /\ \ \ \_\ \ \ \__/ *
MA5: * \ \ \__\ \ \ __ \ \___``\ *
MA5: * \ \ \_/\ \ \ \/\ \/\ \_\ \ *
MA5: * \ \_\\ \_\ \_\ \_\ \____/ *
MA5: * \/_/ \/_/\/_/\/_/\/___/ *
MA5: * *
MA5: * MA5 release : 1.6 2018/05/04 *
MA5: * *
MA5: * Comput. Phys. Commun. 184 (2013) 222-256 *
MA5: * Eur. Phys. J. C74 (2014) 3103 *
MA5: * *
MA5: * The MadAnalysis Development Team - Please visit us at *
MA5: * https:/
MA5: * *
MA5: * Type 'help' for in-line help. *
MA5: * *
MA5: *******
MA5: Platform: Linux 4.4.0-130-generic [Linux mode]
MA5: Reading user settings ...
MA5: Checking mandatory packages:
MA5: - Python [OK]
MA5: - GNU GCC g++ [OK]
MA5: - GNU Make [OK]
MA5: Checking optional packages devoted to data processing:
MA5: - Zlib [DISABLED]
MA5: - SciPy [DISABLED]
MA5: - FastJet [DISABLED]
MA5: - Root [OK]
MA5: - Delphes [DISABLED]
MA5: - Delphes-MA5tune [DISABLED]
MA5: Checking optional packages devoted to histogramming:
MA5: - Root [OK]
MA5: - Matplotlib [DISABLED]
MA5: - pdflatex [DISABLED]
MA5-WARNING: pdflatex disabled. Reports under the pdf format will not be compiled.
MA5: - latex [DISABLED]
MA5-WARNING: latex disabled. Reports under the dvi format will not be compiled.
MA5: Package used for graphical rendering: Root
MA5: Checking the MadAnalysis 5 core library:
MA5: => First use of MadAnalysis (or the library is missing).
MA5:
MA5: *******
MA5: Building SampleAnalyzer libraries
MA5: *******
MA5: How many cores for the compiling? default = max = 8
Answer: 8
MA5: => Number of cores used for the compilation = 8
MA5: Writing the setup files ...
MA5: Writing all the Makefiles ...
MA5: *******
MA5: Component 1/7 - test program: SampleAnalyzer configuration
MA5: - Cleaning the project before building the test program ...
MA5: - Compiling the source files ...
MA5: - Linking the test program ...
MA5: - Checking that the test program is properly built ...
MA5: - Cleaning the project after building the test program ...
MA5: - Running the test program ...
MA5: - Checking the program output...
MA5: => Status: [OK]
MA5: *******
MA5: Component 2/7 - library: SampleAnalyzer commons
MA5: - Cleaning the project before building the library ...
MA5: - Compiling the source files ...
MA5: - Linking the library ...
MA5: - Checking that the library is properly built ...
MA5: - Cleaning the project after building the library ...
MA5: => Status: [OK]
MA5: *******
MA5: Component 3/7 - test program: SampleAnalyzer commons
MA5: - Cleaning the project before building the test program ...
MA5: - Compiling the source files ...
MA5: - Linking the test program ...
MA5: - Checking that the test program is properly built ...
MA5: - Cleaning the project after building the test program ...
MA5: - Running the test program ...
MA5: - Checking the program output...
MA5: => Status: [OK]
MA5: *******
MA5: Component 4/7 - library: interface to Root
MA5: - Cleaning the project before building the library ...
MA5: - Compiling the source files ...
MA5-ERROR: impossible to compile the project. For more details, see the log file:
MA5-ERROR: /home/norhan/
MA5-ERROR: The library building aborted.
The log file says the following:
g++ -Wall -O3 -fPIC -I/home/
g++ -Wall -O3 -fPIC -I/home/
g++ -Wall -O3 -fPIC -I/home/
In file included from root/RootMainHe
/home/norhan/
#include <TLorentzVector.h>
compilation terminated.
make: *** [root/RootMainH
make: *** Waiting for unfinished jobs....
And for Delphes, the following error appeared:
norhan@
>> Generating tmp/classes/
Error: cannot open file "TLorentzVector.h" classes/
Error: Symbol TLorentzVector TrimmedP4[5] is not defined in current scope classes/
Error: Symbol TLorentzVector PrunedP4[5] is not defined in current scope classes/
Error: Symbol TLorentzVector SoftDroppedP4[5] is not defined in current scope classes/
Error: Symbol TLorentzVector Area is not defined in current scope classes/
Error: Symbol TLorentzVector Momentum,
Error: Symbol TLorentzVector TrimmedP4[5] is not defined in current scope classes/
Error: Symbol TLorentzVector PrunedP4[5] is not defined in current scope classes/
Error: Symbol TLorentzVector SoftDroppedP4[5] is not defined in current scope classes/
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing tmp/classes/
Error: rootcint: error loading headers...
make: *** [tmp/classes/
There is some kind of problem with TLorentzVector.h (which I have found in the root file that I've installed, it is supposedly not missing). I don't know what should I do.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Benjamin Fuks
- Solved:
- Last query:
- Last reply: