Issue import delphes root file

Asked by Chang Jung

Dear MA5 team,

I'm used newest MA5 version, v1.5 patch1. When I try to import delphes ROOT file into MA5, I got following error message :
./bin/ma5 -R
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.5 2016/12/30 *
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://launchpad.net/madanalysis5 *
MA5: * *
MA5: * Type 'help' for in-line help. *
MA5: * *
MA5: *************************************************************
MA5: Platform: Darwin 15.3.0 [MAC/OSX 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 [OK]
MA5: - Zlib [OK]
MA5: - FastJet [OK]
MA5: - Root [OK]
MA5: - Delphes [DISABLED]
MA5: - Delphes-MA5tune [DISABLED]
MA5: Checking optional packages devoted to histogramming:
MA5: - Root [OK]
MA5: - Matplotlib [OK]
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: => MadAnalysis libraries found.
MA5: => MadAnalysis test program works.
MA5: *************************************************************
MA5: Particle labels from input/reco_default.txt
MA5: => 14 particles successfully exported.
MA5: Multiparticle labels from madanalysis/input/multiparticles_reco_default.txt
MA5: => 9 multiparticles successfully exported.
MA5: => 9 multiparticles successfully exported.
ma5>import /Users/family/my-new-delphes/delphes/05mj.root
MA5-WARNING: file /Users/family/my-new-delphes/delphes/05mj.root is skipped: ROOT format is not supported. The ROOT package is required
MA5-ERROR: The dataset '/Users/family/my-new-delphes/delphes/05mj.root' has not been found or has a unsupported format.
ma5>

 I had installed ROOT and It seems OK for MA5 and donot know what is the problem. Do I need to install delphes for import delphes ROOT files? Thanks!

Best,
Justine

Question information

Language:
English Edit question
Status:
Solved
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Solved by:
Benjamin Fuks
Solved:
Last query:
Last reply:
Revision history for this message
Best Benjamin Fuks (fuks) said :
#1

Dear Justine,

You need to install delphes within madanalysis5 and generate the delphes files with madanalysis for being able to analyse the output file.

Regards,

Benjamin

On 01 Feb 2017, at 16:53 , Chang Jung <email address hidden> wrote:

> New question #449608 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/449608
>
> Dear MA5 team,
>
> I'm used newest MA5 version, v1.5 patch1. When I try to import delphes ROOT file into MA5, I got following error message :
> ./bin/ma5 -R
> 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.5 2016/12/30 *
> 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://launchpad.net/madanalysis5 *
> MA5: * *
> MA5: * Type 'help' for in-line help. *
> MA5: * *
> MA5: *************************************************************
> MA5: Platform: Darwin 15.3.0 [MAC/OSX 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 [OK]
> MA5: - Zlib [OK]
> MA5: - FastJet [OK]
> MA5: - Root [OK]
> MA5: - Delphes [DISABLED]
> MA5: - Delphes-MA5tune [DISABLED]
> MA5: Checking optional packages devoted to histogramming:
> MA5: - Root [OK]
> MA5: - Matplotlib [OK]
> 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: => MadAnalysis libraries found.
> MA5: => MadAnalysis test program works.
> MA5: *************************************************************
> MA5: Particle labels from input/reco_default.txt
> MA5: => 14 particles successfully exported.
> MA5: Multiparticle labels from madanalysis/input/multiparticles_reco_default.txt
> MA5: => 9 multiparticles successfully exported.
> MA5: => 9 multiparticles successfully exported.
> ma5>import /Users/family/my-new-delphes/delphes/05mj.root
> MA5-WARNING: file /Users/family/my-new-delphes/delphes/05mj.root is skipped: ROOT format is not supported. The ROOT package is required
> MA5-ERROR: The dataset '/Users/family/my-new-delphes/delphes/05mj.root' has not been found or has a unsupported format.
> ma5>
>
> I had installed ROOT and It seems OK for MA5 and donot know what is the problem. Do I need to install delphes for import delphes ROOT files? Thanks!
>
> Best,
> Justine
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Chang Jung (lovejesus99wwjd) said :
#2

Dear Benjamin,

Thanks a lot for the reply. As I remember for the lower version of MA5, it can directly analysis delphes output with ./bin/ma5 -R command. Is it for new version? Thanks!

Best,
Justine

Revision history for this message
Benjamin Fuks (fuks) said :
#3

You need in any case to install delphes to enable delphes support.

Regards,

Benjamin

On 02 Feb 2017, at 16:07 , Chang Jung <email address hidden> wrote:

> Question #449608 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/449608
>
> Chang Jung posted a new comment:
> Dear Benjamin,
>
> Thanks a lot for the reply. As I remember for the lower version of MA5,
> it can directly analysis delphes output with ./bin/ma5 -R command. Is it
> for new version? Thanks!
>
> Best,
> Justine
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
Chang Jung (lovejesus99wwjd) said :
#4

Dear Benjamin,

Thanks for the reply, I got it.

Best,
Justine

Revision history for this message
Chang Jung (lovejesus99wwjd) said :
#5

Thanks Benjamin Fuks, that solved my question.

Revision history for this message
Benjamin Grinstein (bgrinstein) said :
#6