MadAnalysis produces empty M and PT plot for a defined extraparticle

Asked by mehdirahmani

Hi,

I just started working with MadAnalysis I encountered a problem.

Here is my command history:

ma5>define ZD = 5000002
ma5>define SD = 5000512
ma5>import run_01/events.lhe
ma5>plot M(ZD)
ma5>submit

Here is my interaction: generate p p > ZD, (ZD > SD SD~, SD > mu+ mu-, SD~ > mu+ mu-)
ZD is a dark Z and SD is a dark imaginary scalar.

Here is one of the events from my .lhe file:
<mgrwt>
<rscale> 0 0.91376989E+02</rscale>
<asrwt>0</asrwt>
<pdfrwt beam="1"> 1 1 0.40278488E+00 0.91376989E+02</pdfrwt>
<pdfrwt beam="2"> 1 -1 0.12266307E-03 0.91376989E+02</pdfrwt>
<totfact> 0.46472229E+04</totfact>
</mgrwt>
</event>
<event>
 9 1 0.3679250E-03 0.8938469E+02 0.7818608E-02 0.1304349E+00
        2 -1 0 0 0 501 0.00000000000E+00 0.00000000000E+00 0.53313650853E+01 0.53313656951E+01 0.25500000000E-02 0. 1.
       -2 -1 0 0 501 0 -0.00000000000E+00 -0.00000000000E+00 -0.37465182542E+03 0.37465182543E+03 0.25500000000E-02 0. -1.
  5000002 2 1 2 0 0 0.00000000000E+00 0.00000000000E+00 -0.36932046034E+03 0.37998319113E+03 0.89384691725E+02 0. 0.
  5000512 2 3 3 0 0 -0.33253328707E+02 -0.23017740726E+01 -0.30386760022E+03 0.30585393716E+03 0.10001518874E+02 0. 0.
 -5000512 2 3 3 0 0 0.33253328707E+02 0.23017740726E+01 -0.65452860121E+02 0.74129253968E+02 0.99993680755E+01 0. 0.
      -13 1 4 4 0 0 -0.16051184560E+02 0.15977686907E+01 -0.18246310863E+03 0.18317475417E+03 0.10566000000E+00 0. 1.
       13 1 4 4 0 0 -0.17202144147E+02 -0.38995427634E+01 -0.12140449158E+03 0.12267918298E+03 0.10566000000E+00 0. 1.
      -13 1 5 5 0 0 0.56213729325E+01 0.42746844563E+01 -0.14675742950E+02 0.16286846104E+02 0.10566000000E+00 0. 1.
       13 1 5 5 0 0 0.27631955775E+02 -0.19729103837E+01 -0.50777117171E+02 0.57842407864E+02 0.10566000000E+00 0. 1.

But I get empty plots for ZD and SD mass and pt.

How can I resolve this?

Thanks,

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

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

Hi,

You need to indicate to madanalysis that your ZD particle is an intermediate state:
  plot M(ZD) [interstate]
Otherwise, the code only accounts for the final state particles (and there is no ZD in there, so that the histogram will effectively be empty).

Best regards,

Benjamin

> On 27 Mar 2019, at 21:08 , mehdirahmani <email address hidden> wrote:
>
> New question #679607 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/679607
>
> Hi,
>
> I just started working with MadAnalysis I encountered a problem.
>
> Here is my command history:
>
> ma5>define ZD = 5000002
> ma5>define SD = 5000512
> ma5>import run_01/events.lhe
> ma5>plot M(ZD)
> ma5>submit
>
> Here is my interaction: generate p p > ZD, (ZD > SD SD~, SD > mu+ mu-, SD~ > mu+ mu-)
> ZD is a dark Z and SD is a dark imaginary scalar.
>
> Here is one of the events from my .lhe file:
> <mgrwt>
> <rscale> 0 0.91376989E+02</rscale>
> <asrwt>0</asrwt>
> <pdfrwt beam="1"> 1 1 0.40278488E+00 0.91376989E+02</pdfrwt>
> <pdfrwt beam="2"> 1 -1 0.12266307E-03 0.91376989E+02</pdfrwt>
> <totfact> 0.46472229E+04</totfact>
> </mgrwt>
> </event>
> <event>
> 9 1 0.3679250E-03 0.8938469E+02 0.7818608E-02 0.1304349E+00
> 2 -1 0 0 0 501 0.00000000000E+00 0.00000000000E+00 0.53313650853E+01 0.53313656951E+01 0.25500000000E-02 0. 1.
> -2 -1 0 0 501 0 -0.00000000000E+00 -0.00000000000E+00 -0.37465182542E+03 0.37465182543E+03 0.25500000000E-02 0. -1.
> 5000002 2 1 2 0 0 0.00000000000E+00 0.00000000000E+00 -0.36932046034E+03 0.37998319113E+03 0.89384691725E+02 0. 0.
> 5000512 2 3 3 0 0 -0.33253328707E+02 -0.23017740726E+01 -0.30386760022E+03 0.30585393716E+03 0.10001518874E+02 0. 0.
> -5000512 2 3 3 0 0 0.33253328707E+02 0.23017740726E+01 -0.65452860121E+02 0.74129253968E+02 0.99993680755E+01 0. 0.
> -13 1 4 4 0 0 -0.16051184560E+02 0.15977686907E+01 -0.18246310863E+03 0.18317475417E+03 0.10566000000E+00 0. 1.
> 13 1 4 4 0 0 -0.17202144147E+02 -0.38995427634E+01 -0.12140449158E+03 0.12267918298E+03 0.10566000000E+00 0. 1.
> -13 1 5 5 0 0 0.56213729325E+01 0.42746844563E+01 -0.14675742950E+02 0.16286846104E+02 0.10566000000E+00 0. 1.
> 13 1 5 5 0 0 0.27631955775E+02 -0.19729103837E+01 -0.50777117171E+02 0.57842407864E+02 0.10566000000E+00 0. 1.
>
> But I get empty plots for ZD and SD mass and pt.
>
> How can I resolve this?
>
> Thanks,
>
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
mehdirahmani (mehdirahmani) said :
#2

Thanks Benjamin Fuks, that solved my question.

Revision history for this message
mehdirahmani (mehdirahmani) said :
#3

Hello,
Thank you for your response that solved my problem. In the plots that I have generated for
p p > ZD, (ZD > SD SD~, SD > mu+ mu-, SD~ > mu+ mu-)
when I do
ma5>plot M(mu < SD)
or
ma5>plot M(mu < SD~)
I do not get same mass as SD (invariant mass should match the mass of SD). Do you know why is this happening?

Also another quick question: Is there a way to have control on the y-axes? I can not find it tutorials.

Thanks,

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

Hi,

> Thank you for your response that solved my problem. In the plots that I have generated for
> p p > ZD, (ZD > SD SD~, SD > mu+ mu-, SD~ > mu+ mu-)
> when I do
> ma5>plot M(mu < SD)
> or
> ma5>plot M(mu < SD~)
> I do not get same mass as SD (invariant mass should match the mass of SD).
No it shouldn't. The invariant mass of one muon is not the same as the invariant mass of the muon pair.

> Also another quick question: Is there a way to have control on the
> y-axes? I can not find it tutorials.
It depends to which purpose. Some features (user-defined axis range) are already available in v1.8_beta.

Cheers,

Benjamin

Revision history for this message
mehdirahmani (mehdirahmani) said :
#5

Hi Benjamin,

I have defined mu to be mu + mu-:

ma5>define mu = mu+ mu-

shouldn't this return same invariant mass as the SD?

I have downloaded and installed ma5_v1.7 where can I download the version v.1.8 beta?

what would be the command to define the y-axis range?

Thank you,

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

Hi,

Regardless what you have defined, you are still requiring the invariant mass distribution of a single particle (either a muon or an antimuon) and not of a pair of particles.

You can download v1.8 here:
  https://code.launchpad.net/~ma5dev/madanalysis5/v1.8_beta

Cheers,

Benjamin

> On 1 Apr 2019, at 17:08 , mehdirahmani <email address hidden> wrote:
>
> Question #679607 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/679607
>
> Status: Answered => Open
>
> mehdirahmani is still having a problem:
> Hi Benjamin,
>
> I have defined mu to be mu + mu-:
>
> ma5>define mu = mu+ mu-
>
> shouldn't this return same invariant mass as the SD?
>
> I have downloaded and installed ma5_v1.7 where can I download the
> version v.1.8 beta?
>
> what would be the command to define the y-axis range?
>
> Thank you,
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
mehdirahmani (mehdirahmani) said :
#7

thank you for your response, Benjamin, I downloaded the version 8 package.

If the below commands wont plot the invariant mass of the pair:
ma5>define mu = mu+ mu-
ma5>plot M (mu < SD)
what would plot the pair?

Also how can I set the y-axis range in this version. Is there documentation on it somewhere?

Thanks,

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

Hi,

You can use plot M(mu mu) if you need two muons, as indicated in the manual. Moreover, there is no documentation for not-yet-official features. For the y axis range, you can type:
 set selection[x].ymin = …
where x stands for the id of the plot. It is an integer with 1 being the first plot, 2 the second plot, and so on (beware, cut counts too). You can also use tab completion to check what is available and type "display selection[x]" to verify things have been entered correctly.

Cheers,

Benjamin

> On 1 Apr 2019, at 18:22 , mehdirahmani <email address hidden> wrote:
>
> Question #679607 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/679607
>
> Status: Answered => Open
>
> mehdirahmani is still having a problem:
> thank you for your response, Benjamin, I downloaded the version 8
> package.
>
> If the below commands wont plot the invariant mass of the pair:
> ma5>define mu = mu+ mu-
> ma5>plot M (mu < SD)
> what would plot the pair?
>
> Also how can I set the y-axis range in this version. Is there
> documentation on it somewhere?
>
> Thanks,
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
mehdirahmani (mehdirahmani) said :
#9

That was very helpful. Thank you.
How would I go about fitting my histograms in madanalysis?
Thanks,

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

I don't know. There is nothing about histogram fitting in the code.

Cheers,

Benjamin

> On 1 Apr 2019, at 21:57 , mehdirahmani <email address hidden> wrote:
>
> Question #679607 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/679607
>
> Status: Answered => Open
>
> mehdirahmani is still having a problem:
> That was very helpful. Thank you.
> How would I go about fitting my histograms in madanalysis?
> Thanks,
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
mehdirahmani (mehdirahmani) said :
#11

Hello Benjamin,

I am trying to move on to hadron level and reconstructed level with madanalysis, for that I am trying to install delphes.
when I do:

install delphes

I get this error:

MA5-ERROR: impossible to build the project. For more details, see the log file:
MA5-ERROR: /home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/delphes/compilation.log

and this is In the log file:
make: *** No targets. Stop.

Do you know what is causing this?

Thanks,

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

Hi,

With so little information, I am afraid I can't help. Please start the code in debug mdoe and copy us the screen output.

Regards,

Benjamin

> On 9 Apr 2019, at 20:47 , mehdirahmani <email address hidden> wrote:
>
> Question #679607 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/679607
>
> Status: Answered => Open
>
> mehdirahmani is still having a problem:
> Hello Benjamin,
>
> I am trying to move on to hadron level and reconstructed level with madanalysis, for that I am trying to install delphes.
> when I do:
>
> install delphes
>
> I get this error:
>
> MA5-ERROR: impossible to build the project. For more details, see the log file:
> MA5-ERROR: /home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/delphes/compilation.log
>
> and this is In the log file:
> make: *** No targets. Stop.
>
> Do you know what is causing this?
>
> Thanks,
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
mehdirahmani (mehdirahmani) said :
#13

Thank you for your response Benjamin,
Here is the output of debug mode (It wont even let me in the madanalysis environment any more, after my trial to install delphes):

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.8.2 2019/03/19 *
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-DEBUG:
MA5-DEBUG: DEBUG MODE ACTIVATED
MA5-DEBUG:
MA5: Platform: Linux 3.10.0-693.el7.x86_64 [Linux mode]
MA5-DEBUG:
MA5-DEBUG: Machine - Cross platform information
MA5-DEBUG: Machine type: x86_64
MA5-DEBUG: Processor name: x86_64
MA5-DEBUG: Platform: Linux-3.10.0-693.el7.x86_64-x86_64-with-centos-7.4.1708-Core
MA5-DEBUG: Platform release: 3.10.0-693.el7.x86_64
MA5-DEBUG: System: Linux
MA5-DEBUG: Node: azhang_94de802bd042
MA5-DEBUG: Number of cores: 4
MA5-DEBUG:
MA5-DEBUG: Machine - OS-specific information
MA5-DEBUG: Java version: ('', '', ('', '', ''), ('', '', ''))
MA5-DEBUG: Windows version: ('', '', '', '')
MA5-DEBUG: Mac Os version: ('', ('', '', ''), '')
MA5-DEBUG: Unix distribution: Linux-3.10.0-693.el7.x86_64-x86_64-with-centos-7.4.1708-Core
MA5-DEBUG:
MA5: Reading user settings ...
MA5-DEBUG: Opening the file: /home/mehdi/Desktop/madanalysisV8/v1.8_beta/madanalysis/input/installation_options.dat
MA5-DEBUG: Lines to interpret:
MA5-DEBUG: Closing the file: /home/mehdi/Desktop/madanalysisV8/v1.8_beta/madanalysis/input/installation_options.dat
MA5-DEBUG:
MA5-DEBUG: User
MA5-DEBUG: User name: mehdi
MA5-DEBUG: User ID: 0
MA5-DEBUG: Expanding folder ~/: /root/
MA5-DEBUG: Variable $USER: mehdi
MA5-DEBUG: Variable $USERNAME: mehdi
MA5-DEBUG: Variable $LNAME:
MA5-DEBUG: Variable $LOGNAME: mehdi
MA5-DEBUG: Variable $HOME: /root
MA5-DEBUG: Variable $HOMEDRIVE:
MA5-DEBUG: Variable $posix:
MA5-DEBUG: Variable $HOMEPATH:
MA5-DEBUG:
MA5-DEBUG: Web access
MA5-DEBUG: enable
MA5-DEBUG:
MA5-DEBUG: Temporary folder
MA5-DEBUG: Variable $TMPDIR:
MA5-DEBUG: Variable $TMP:
MA5-DEBUG: Variable $TEMP:
MA5-DEBUG: Check if the folder /tmp/mehdi exists ...
MA5-DEBUG: -> found
MA5-DEBUG: temporary folder will be used for MA5: /tmp/mehdi
MA5-DEBUG:
MA5-DEBUG: Download dir
MA5-DEBUG: Check if the folder /tmp/mehdi/MA5_downloads exists ...
MA5-DEBUG: -> found
MA5-DEBUG: download folder will be used for MA5: /tmp/mehdi/MA5_downloads
MA5-DEBUG:
MA5-DEBUG: Text editor
MA5-DEBUG: Look for the global variable $EDITOR ...
MA5-DEBUG: -> variable not found. VI editor is set by default.
MA5-DEBUG:
MA5: Checking mandatory packages:
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package python
MA5-DEBUG: Try to detect automatically the package ...
MA5-DEBUG: Extract more informations related to the package ...
MA5-DEBUG:
MA5-DEBUG: Python release: 2.7.5
MA5-DEBUG: Python build: ('default', 'Aug 4 2017 00:39:18')
MA5-DEBUG: Python compiler: GCC 4.8.5 20150623 (Red Hat 4.8.5-16)
MA5-DEBUG: Python prefix: /usr
MA5-DEBUG: Python executable used: /bin/python
MA5-DEBUG: sys.executable: /bin/python
MA5-DEBUG: which: /bin/python
MA5-DEBUG: which-all:
MA5-DEBUG: - /bin/python
MA5-DEBUG: - /usr/bin/python
MA5-DEBUG: Python internal paths:
MA5-DEBUG: - /home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/ReportGenerator/Services
MA5-DEBUG: - /home/mehdi/Desktop/madanalysisV8/v1.8_beta
MA5-DEBUG: - /home/mehdi/Desktop/madanalysisV8/v1.8_beta/bin
MA5-DEBUG: - /usr/lib64/python27.zip
MA5-DEBUG: - /usr/lib64/python2.7
MA5-DEBUG: - /usr/lib64/python2.7/plat-linux2
MA5-DEBUG: - /usr/lib64/python2.7/lib-tk
MA5-DEBUG: - /usr/lib64/python2.7/lib-old
MA5-DEBUG: - /usr/lib64/python2.7/lib-dynload
MA5-DEBUG: - /usr/lib64/python2.7/site-packages
MA5-DEBUG: - /usr/lib64/python2.7/site-packages/gtk-2.0
MA5-DEBUG: - /usr/lib/python2.7/site-packages
MA5-DEBUG: $PYTHONPATH:
MA5-DEBUG: EMPTY OR NOT FOUND
MA5-DEBUG:
MA5-DEBUG: Saving informations ...
MA5: - Python [OK]
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package gpp
MA5-DEBUG: Try to detect automatically the package ...
MA5-DEBUG: which: /bin/g++
MA5-DEBUG: Extract more informations related to the package ...
MA5-DEBUG: which-all:
MA5-DEBUG: - /bin/g++
MA5-DEBUG: - /usr/bin/g++
MA5-DEBUG: version: 4.8.5
MA5-DEBUG: search path for headers:
MA5-DEBUG: - /usr/include/c++/4.8.5
MA5-DEBUG: - /usr/include/c++/4.8.5/x86_64-redhat-linux
MA5-DEBUG: - /usr/include/c++/4.8.5/backward
MA5-DEBUG: - /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include
MA5-DEBUG: - /usr/local/include
MA5-DEBUG: - /usr/include
MA5-DEBUG: search path for libraries:
MA5-DEBUG: - /usr/lib/gcc/x86_64-redhat-linux/4.8.5
MA5-DEBUG: - /usr/lib64
MA5-DEBUG: - /lib64
MA5-DEBUG: - /usr/lib64
MA5-DEBUG: - /usr/lib
MA5-DEBUG: - /lib
MA5-DEBUG: - /usr/lib
MA5-DEBUG: Saving informations ...
MA5: - GNU GCC g++ [OK]
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package make
MA5-DEBUG: Try to detect automatically the package ...
MA5-DEBUG: which: /bin/make
MA5-DEBUG: Extract more informations related to the package ...
MA5-DEBUG: which-all:
MA5-DEBUG: - /bin/make
MA5-DEBUG: - /usr/bin/make
MA5-DEBUG: version: GNU Make 3.82
MA5-DEBUG: Saving informations ...
MA5: - GNU Make [OK]
MA5: Checking optional packages devoted to data processing:
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package zlib
MA5-DEBUG: Is there a veto? ...
MA5-DEBUG: no user veto
MA5-DEBUG: Detection of the package in the location specified by the user ...
MA5-DEBUG: Detection of the package in the "tools" folder ...
MA5-DEBUG: Look for zlib folder in path /home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/zlib ...
MA5-DEBUG: -> not found
MA5-DEBUG: Try to detect automatically the package ...
MA5-DEBUG: Search for header & libraries possible paths...
MA5-DEBUG: ->header paths=['.', '/usr/include', '/usr/local/include']
MA5-DEBUG: ->library paths=['.', '/usr/lib', '/usr/lib64', '/usr/libexec', '/usr/local/lib', '/usr/local/lib64', '/usr/local/libexec']
MA5-DEBUG: Look for the header file zlib.h ...
MA5-DEBUG: look for pattern zlib.h ...
MA5-DEBUG: -> no file found
MA5-DEBUG: look for pattern /usr/include/zlib.h ...
MA5-DEBUG: -> no file found
MA5-DEBUG: look for pattern /usr/local/include/zlib.h ...
MA5-DEBUG: -> no file found
MA5: - Zlib [DISABLED]
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package fastjet
MA5-DEBUG: Is there a veto? ...
MA5-DEBUG: no user veto
MA5-DEBUG: Detection of the package in the location specified by the user ...
MA5-DEBUG: Detection of the package in the "tools" folder ...
MA5-DEBUG: Look for FastJet in the folder here:/home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/fastjet/bin/fastjet-config ...
MA5-DEBUG: -> found
MA5-DEBUG: Extract more informations related to the package ...
MA5-DEBUG: version: 3.3.2
MA5-DEBUG: Trying to get library and header paths ...
MA5-DEBUG: Lib flags: -Wl,-rpath,/home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/fastjet/lib -lm -L/home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/fastjet/lib -lfastjettools -lfastjet -lfastjetplugins -lsiscone_spherical -lsiscone
MA5-DEBUG: Lib path: ['/home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/fastjet/lib']
MA5-DEBUG: Saving informations ...
MA5: - FastJet [OK]
MA5-DEBUG: ------------------------------------------------------
MA5-DEBUG: Detect package root
MA5-DEBUG: Is there a veto? ...
MA5-DEBUG: no user veto
MA5-DEBUG: Detection of the package in the location specified by the user ...
MA5-DEBUG: Detection of the package in the "tools" folder ...
MA5-DEBUG: Detecting root-config in the tools folder ...
MA5-DEBUG: Try to detect automatically the package ...
MA5-DEBUG: which: /usr/local/root/bin/root-config [is it a link? False]
MA5-DEBUG: which-all:
MA5-DEBUG: - /usr/local/root/bin/root-config
MA5-DEBUG: Extract more informations related to the package ...
MA5-DEBUG: Trying to get library and header paths ...
MA5-DEBUG: -> root-config found
MA5-DEBUG: -> root version: 6.12.06
MA5-DEBUG: -> root header folder: /usr/local/root/include
MA5-DEBUG: -> root library folder: /usr/local/root/lib
MA5-DEBUG: Try to find /usr/local/root/lib/libCore.so ...
MA5-DEBUG: Try to find /usr/local/root/include/TH1F.h ...
MA5-DEBUG: features: ['asimage', 'astiff', 'builtin_afterimage', 'builtin_cfitsio', 'builtin_davix', 'builtin_fftw3', 'builtin_freetype', 'builtin_ftgl', 'builtin_gl2ps', 'builtin_glew', 'builtin_gsl', 'builtin_llvm', 'builtin_lz4', 'builtin_lzma', 'builtin_pcre', 'builtin_tbb', 'builtin_unuran', 'builtin_veccore', 'builtin_xrootd', 'cling', 'cxx11', 'davix', 'exceptions', 'explicitlink', 'fftw3', 'fitsio', 'fortran', 'gdml', 'genvector', 'http', 'imt', 'krb5', 'mathmore', 'memstat', 'minuit2', 'opengl', 'pch', 'python', 'roofit', 'shadowpw', 'shared', 'ssl', 'table', 'thread', 'tmva', 'unuran', 'veccore', 'x11', 'xft', 'xml', 'xrootd']
MA5-DEBUG: C++ compiler: c++
MA5-DEBUG: Saving informations ...
MA5: - Root [OK]
MA5-DEBUG: Delphes
MA5-DEBUG: Look for Delphes in the folder /home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools ...
MA5-DEBUG: -> found
MA5-DEBUG: Look for the file /home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/delphes/modules/ParticlePropagator.h ...
MA5-DEBUG: -> found
MA5-DEBUG: Look for the libraries in folder ['/home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/delphes'] ...
Traceback (most recent call last):
  File "bin/ma5", line 70, in <module>
    madanalysis.core.launcher.LaunchMA5(version, date, ma5dir)
  File "/home/mehdi/Desktop/madanalysisV8/v1.8_beta/madanalysis/core/launcher.py", line 411, in LaunchMA5
    repeat = MainSession(mode,arglist,ma5dir,version,date)
  File "/home/mehdi/Desktop/madanalysisV8/v1.8_beta/madanalysis/core/launcher.py", line 260, in MainSession
    if not main.CheckConfig(debug=mode.debug):
  File "/home/mehdi/Desktop/madanalysisV8/v1.8_beta/madanalysis/core/main.py", line 438, in CheckConfig
    if not checkup.CheckOptionalProcessingPackages():
  File "/home/mehdi/Desktop/madanalysisV8/v1.8_beta/madanalysis/system/checkup.py", line 324, in CheckOptionalProcessingPackages
    self.archi_info.has_delphes = checker2.checkDelphes()
  File "/home/mehdi/Desktop/madanalysisV8/v1.8_beta/madanalysis/system/config_checker.py", line 455, in checkDelphes
    self.archi_info.delphes_lib=os.path.normpath(myfiles[0])
IndexError: list index out of range

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

Hi,

Can you please list me the content of the following folder:
  /home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/delphes

Cheers,

Benjamin

> On 9 Apr 2019, at 21:52 , mehdirahmani <email address hidden> wrote:
>
> Question #679607 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/679607
>
> Status: Answered => Open
>
> mehdirahmani is still having a problem:
> Thank you for your response Benjamin,
> Here is the output of debug mode (It wont even let me in the madanalysis environment any more, after my trial to install delphes):
>
>
> 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.8.2 2019/03/19 *
> 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-DEBUG:
> MA5-DEBUG: DEBUG MODE ACTIVATED
> MA5-DEBUG:
> MA5: Platform: Linux 3.10.0-693.el7.x86_64 [Linux mode]
> MA5-DEBUG:
> MA5-DEBUG: Machine - Cross platform information
> MA5-DEBUG: Machine type: x86_64
> MA5-DEBUG: Processor name: x86_64
> MA5-DEBUG: Platform: Linux-3.10.0-693.el7.x86_64-x86_64-with-centos-7.4.1708-Core
> MA5-DEBUG: Platform release: 3.10.0-693.el7.x86_64
> MA5-DEBUG: System: Linux
> MA5-DEBUG: Node: azhang_94de802bd042
> MA5-DEBUG: Number of cores: 4
> MA5-DEBUG:
> MA5-DEBUG: Machine - OS-specific information
> MA5-DEBUG: Java version: ('', '', ('', '', ''), ('', '', ''))
> MA5-DEBUG: Windows version: ('', '', '', '')
> MA5-DEBUG: Mac Os version: ('', ('', '', ''), '')
> MA5-DEBUG: Unix distribution: Linux-3.10.0-693.el7.x86_64-x86_64-with-centos-7.4.1708-Core
> MA5-DEBUG:
> MA5: Reading user settings ...
> MA5-DEBUG: Opening the file: /home/mehdi/Desktop/madanalysisV8/v1.8_beta/madanalysis/input/installation_options.dat
> MA5-DEBUG: Lines to interpret:
> MA5-DEBUG: Closing the file: /home/mehdi/Desktop/madanalysisV8/v1.8_beta/madanalysis/input/installation_options.dat
> MA5-DEBUG:
> MA5-DEBUG: User
> MA5-DEBUG: User name: mehdi
> MA5-DEBUG: User ID: 0
> MA5-DEBUG: Expanding folder ~/: /root/
> MA5-DEBUG: Variable $USER: mehdi
> MA5-DEBUG: Variable $USERNAME: mehdi
> MA5-DEBUG: Variable $LNAME:
> MA5-DEBUG: Variable $LOGNAME: mehdi
> MA5-DEBUG: Variable $HOME: /root
> MA5-DEBUG: Variable $HOMEDRIVE:
> MA5-DEBUG: Variable $posix:
> MA5-DEBUG: Variable $HOMEPATH:
> MA5-DEBUG:
> MA5-DEBUG: Web access
> MA5-DEBUG: enable
> MA5-DEBUG:
> MA5-DEBUG: Temporary folder
> MA5-DEBUG: Variable $TMPDIR:
> MA5-DEBUG: Variable $TMP:
> MA5-DEBUG: Variable $TEMP:
> MA5-DEBUG: Check if the folder /tmp/mehdi exists ...
> MA5-DEBUG: -> found
> MA5-DEBUG: temporary folder will be used for MA5: /tmp/mehdi
> MA5-DEBUG:
> MA5-DEBUG: Download dir
> MA5-DEBUG: Check if the folder /tmp/mehdi/MA5_downloads exists ...
> MA5-DEBUG: -> found
> MA5-DEBUG: download folder will be used for MA5: /tmp/mehdi/MA5_downloads
> MA5-DEBUG:
> MA5-DEBUG: Text editor
> MA5-DEBUG: Look for the global variable $EDITOR ...
> MA5-DEBUG: -> variable not found. VI editor is set by default.
> MA5-DEBUG:
> MA5: Checking mandatory packages:
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package python
> MA5-DEBUG: Try to detect automatically the package ...
> MA5-DEBUG: Extract more informations related to the package ...
> MA5-DEBUG:
> MA5-DEBUG: Python release: 2.7.5
> MA5-DEBUG: Python build: ('default', 'Aug 4 2017 00:39:18')
> MA5-DEBUG: Python compiler: GCC 4.8.5 20150623 (Red Hat 4.8.5-16)
> MA5-DEBUG: Python prefix: /usr
> MA5-DEBUG: Python executable used: /bin/python
> MA5-DEBUG: sys.executable: /bin/python
> MA5-DEBUG: which: /bin/python
> MA5-DEBUG: which-all:
> MA5-DEBUG: - /bin/python
> MA5-DEBUG: - /usr/bin/python
> MA5-DEBUG: Python internal paths:
> MA5-DEBUG: - /home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/ReportGenerator/Services
> MA5-DEBUG: - /home/mehdi/Desktop/madanalysisV8/v1.8_beta
> MA5-DEBUG: - /home/mehdi/Desktop/madanalysisV8/v1.8_beta/bin
> MA5-DEBUG: - /usr/lib64/python27.zip
> MA5-DEBUG: - /usr/lib64/python2.7
> MA5-DEBUG: - /usr/lib64/python2.7/plat-linux2
> MA5-DEBUG: - /usr/lib64/python2.7/lib-tk
> MA5-DEBUG: - /usr/lib64/python2.7/lib-old
> MA5-DEBUG: - /usr/lib64/python2.7/lib-dynload
> MA5-DEBUG: - /usr/lib64/python2.7/site-packages
> MA5-DEBUG: - /usr/lib64/python2.7/site-packages/gtk-2.0
> MA5-DEBUG: - /usr/lib/python2.7/site-packages
> MA5-DEBUG: $PYTHONPATH:
> MA5-DEBUG: EMPTY OR NOT FOUND
> MA5-DEBUG:
> MA5-DEBUG: Saving informations ...
> MA5: - Python [OK]
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package gpp
> MA5-DEBUG: Try to detect automatically the package ...
> MA5-DEBUG: which: /bin/g++
> MA5-DEBUG: Extract more informations related to the package ...
> MA5-DEBUG: which-all:
> MA5-DEBUG: - /bin/g++
> MA5-DEBUG: - /usr/bin/g++
> MA5-DEBUG: version: 4.8.5
> MA5-DEBUG: search path for headers:
> MA5-DEBUG: - /usr/include/c++/4.8.5
> MA5-DEBUG: - /usr/include/c++/4.8.5/x86_64-redhat-linux
> MA5-DEBUG: - /usr/include/c++/4.8.5/backward
> MA5-DEBUG: - /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include
> MA5-DEBUG: - /usr/local/include
> MA5-DEBUG: - /usr/include
> MA5-DEBUG: search path for libraries:
> MA5-DEBUG: - /usr/lib/gcc/x86_64-redhat-linux/4.8.5
> MA5-DEBUG: - /usr/lib64
> MA5-DEBUG: - /lib64
> MA5-DEBUG: - /usr/lib64
> MA5-DEBUG: - /usr/lib
> MA5-DEBUG: - /lib
> MA5-DEBUG: - /usr/lib
> MA5-DEBUG: Saving informations ...
> MA5: - GNU GCC g++ [OK]
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package make
> MA5-DEBUG: Try to detect automatically the package ...
> MA5-DEBUG: which: /bin/make
> MA5-DEBUG: Extract more informations related to the package ...
> MA5-DEBUG: which-all:
> MA5-DEBUG: - /bin/make
> MA5-DEBUG: - /usr/bin/make
> MA5-DEBUG: version: GNU Make 3.82
> MA5-DEBUG: Saving informations ...
> MA5: - GNU Make [OK]
> MA5: Checking optional packages devoted to data processing:
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package zlib
> MA5-DEBUG: Is there a veto? ...
> MA5-DEBUG: no user veto
> MA5-DEBUG: Detection of the package in the location specified by the user ...
> MA5-DEBUG: Detection of the package in the "tools" folder ...
> MA5-DEBUG: Look for zlib folder in path /home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/zlib ...
> MA5-DEBUG: -> not found
> MA5-DEBUG: Try to detect automatically the package ...
> MA5-DEBUG: Search for header & libraries possible paths...
> MA5-DEBUG: ->header paths=['.', '/usr/include', '/usr/local/include']
> MA5-DEBUG: ->library paths=['.', '/usr/lib', '/usr/lib64', '/usr/libexec', '/usr/local/lib', '/usr/local/lib64', '/usr/local/libexec']
> MA5-DEBUG: Look for the header file zlib.h ...
> MA5-DEBUG: look for pattern zlib.h ...
> MA5-DEBUG: -> no file found
> MA5-DEBUG: look for pattern /usr/include/zlib.h ...
> MA5-DEBUG: -> no file found
> MA5-DEBUG: look for pattern /usr/local/include/zlib.h ...
> MA5-DEBUG: -> no file found
> MA5: - Zlib [DISABLED]
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package fastjet
> MA5-DEBUG: Is there a veto? ...
> MA5-DEBUG: no user veto
> MA5-DEBUG: Detection of the package in the location specified by the user ...
> MA5-DEBUG: Detection of the package in the "tools" folder ...
> MA5-DEBUG: Look for FastJet in the folder here:/home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/fastjet/bin/fastjet-config ...
> MA5-DEBUG: -> found
> MA5-DEBUG: Extract more informations related to the package ...
> MA5-DEBUG: version: 3.3.2
> MA5-DEBUG: Trying to get library and header paths ...
> MA5-DEBUG: Lib flags: -Wl,-rpath,/home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/fastjet/lib -lm -L/home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/fastjet/lib -lfastjettools -lfastjet -lfastjetplugins -lsiscone_spherical -lsiscone
> MA5-DEBUG: Lib path: ['/home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/fastjet/lib']
> MA5-DEBUG: Saving informations ...
> MA5: - FastJet [OK]
> MA5-DEBUG: ------------------------------------------------------
> MA5-DEBUG: Detect package root
> MA5-DEBUG: Is there a veto? ...
> MA5-DEBUG: no user veto
> MA5-DEBUG: Detection of the package in the location specified by the user ...
> MA5-DEBUG: Detection of the package in the "tools" folder ...
> MA5-DEBUG: Detecting root-config in the tools folder ...
> MA5-DEBUG: Try to detect automatically the package ...
> MA5-DEBUG: which: /usr/local/root/bin/root-config [is it a link? False]
> MA5-DEBUG: which-all:
> MA5-DEBUG: - /usr/local/root/bin/root-config
> MA5-DEBUG: Extract more informations related to the package ...
> MA5-DEBUG: Trying to get library and header paths ...
> MA5-DEBUG: -> root-config found
> MA5-DEBUG: -> root version: 6.12.06
> MA5-DEBUG: -> root header folder: /usr/local/root/include
> MA5-DEBUG: -> root library folder: /usr/local/root/lib
> MA5-DEBUG: Try to find /usr/local/root/lib/libCore.so ...
> MA5-DEBUG: Try to find /usr/local/root/include/TH1F.h ...
> MA5-DEBUG: features: ['asimage', 'astiff', 'builtin_afterimage', 'builtin_cfitsio', 'builtin_davix', 'builtin_fftw3', 'builtin_freetype', 'builtin_ftgl', 'builtin_gl2ps', 'builtin_glew', 'builtin_gsl', 'builtin_llvm', 'builtin_lz4', 'builtin_lzma', 'builtin_pcre', 'builtin_tbb', 'builtin_unuran', 'builtin_veccore', 'builtin_xrootd', 'cling', 'cxx11', 'davix', 'exceptions', 'explicitlink', 'fftw3', 'fitsio', 'fortran', 'gdml', 'genvector', 'http', 'imt', 'krb5', 'mathmore', 'memstat', 'minuit2', 'opengl', 'pch', 'python', 'roofit', 'shadowpw', 'shared', 'ssl', 'table', 'thread', 'tmva', 'unuran', 'veccore', 'x11', 'xft', 'xml', 'xrootd']
> MA5-DEBUG: C++ compiler: c++
> MA5-DEBUG: Saving informations ...
> MA5: - Root [OK]
> MA5-DEBUG: Delphes
> MA5-DEBUG: Look for Delphes in the folder /home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools ...
> MA5-DEBUG: -> found
> MA5-DEBUG: Look for the file /home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/delphes/modules/ParticlePropagator.h ...
> MA5-DEBUG: -> found
> MA5-DEBUG: Look for the libraries in folder ['/home/mehdi/Desktop/madanalysisV8/v1.8_beta/tools/delphes'] ...
> Traceback (most recent call last):
> File "bin/ma5", line 70, in <module>
> madanalysis.core.launcher.LaunchMA5(version, date, ma5dir)
> File "/home/mehdi/Desktop/madanalysisV8/v1.8_beta/madanalysis/core/launcher.py", line 411, in LaunchMA5
> repeat = MainSession(mode,arglist,ma5dir,version,date)
> File "/home/mehdi/Desktop/madanalysisV8/v1.8_beta/madanalysis/core/launcher.py", line 260, in MainSession
> if not main.CheckConfig(debug=mode.debug):
> File "/home/mehdi/Desktop/madanalysisV8/v1.8_beta/madanalysis/core/main.py", line 438, in CheckConfig
> if not checkup.CheckOptionalProcessingPackages():
> File "/home/mehdi/Desktop/madanalysisV8/v1.8_beta/madanalysis/system/checkup.py", line 324, in CheckOptionalProcessingPackages
> self.archi_info.has_delphes = checker2.checkDelphes()
> File "/home/mehdi/Desktop/madanalysisV8/v1.8_beta/madanalysis/system/config_checker.py", line 455, in checkDelphes
> self.archi_info.delphes_lib=os.path.normpath(myfiles[0])
> IndexError: list index out of range
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
mehdirahmani (mehdirahmani) said :
#15

Benjamin,

Below is the content of that directory:
-----------------------------------------------------------------------

total 5192
-rwxrwxrwx. 1 root root 799 Apr 9 14:39 AUTHORS
drwxrwxrwx. 5 root root 4096 Feb 21 05:35 cards
-rwxrwxrwx. 1 root root 10688 Apr 9 14:39 CHANGELOG
drwxrwxrwx. 2 root root 4096 Feb 21 05:35 classes
drwxrwxrwx. 2 root root 39 Apr 9 14:39 cmake
-rwxrwxrwx. 1 root root 2983 Apr 9 14:39 CMakeLists.txt
-rw-r--r--. 1 root root 29 Apr 9 14:39 compilation.log
-rw-r--r--. 1 root root 92 Apr 9 14:39 configuration.log
-rwxrwxrwx. 1 root root 189 Apr 9 14:39 configure
-rwxrwxrwx. 1 root root 1157 Apr 9 14:39 CONTRIBUTING.md
drwxrwxrwx. 2 root root 197 Feb 21 05:35 converters
-rwxrwxrwx. 1 root root 35147 Apr 9 14:39 COPYING
-rwxrwxrwx. 1 root root 90 Apr 9 14:39 DelphesEnv.sh
drwxrwxrwx. 2 root root 4096 Feb 21 05:35 display
drwxrwxrwx. 2 root root 4096 Apr 9 14:39 doc
drwxrwxrwx. 4 root root 4096 Feb 21 05:35 examples
drwxrwxrwx. 7 root root 131 Feb 21 05:35 external
-rwxrwxrwx. 1 root root 9408 Apr 9 14:39 LICENSE
-rw-r--r--. 1 root root 0 Apr 9 14:39 Makefile
-rw-r--r--. 1 root root 0 Apr 9 14:39 Makefile.savema5
-rwxrwxrwx. 1 root root 5162312 Apr 9 14:39 MinBias.pileup
drwxrwxrwx. 2 root root 4096 Apr 9 14:39 modules
-rwxrwxrwx. 1 root root 962 Apr 9 14:39 NOTICE
drwxrwxrwx. 3 root root 4096 Feb 21 05:35 python
drwxrwxrwx. 2 root root 248 Feb 21 05:35 readers
-rwxrwxrwx. 1 root root 3778 Apr 9 14:39 README
-rwxrwxrwx. 1 root root 1786 Apr 9 14:39 README_4LHCb
-rwxrwxrwx. 1 root root 4341 Apr 9 14:39 README.md
-rw-r--r--. 1 root root 0 Apr 9 14:39 unpack.log
drwxrwxrwx. 2 root root 89 Feb 21 05:35 validation
-rwxrwxrwx. 1 root root 6 Apr 9 14:39 VERSION
-rw-r--r--. 1 root root 91 Apr 9 14:39 wget.log

---------------------------------

Thanks,

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

Mmmmh. Your makefile is an empty file. Ca you please try to install delphes as a standalone package and see whether it works?

Cheers,

Benjamin

> On 10 Apr 2019, at 24:43 , mehdirahmani <email address hidden> wrote:
>
> Question #679607 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/679607
>
> Status: Answered => Open
>
> mehdirahmani is still having a problem:
> Benjamin,
>
> Below is the content of that directory:
> -----------------------------------------------------------------------
>
> total 5192
> -rwxrwxrwx. 1 root root 799 Apr 9 14:39 AUTHORS
> drwxrwxrwx. 5 root root 4096 Feb 21 05:35 cards
> -rwxrwxrwx. 1 root root 10688 Apr 9 14:39 CHANGELOG
> drwxrwxrwx. 2 root root 4096 Feb 21 05:35 classes
> drwxrwxrwx. 2 root root 39 Apr 9 14:39 cmake
> -rwxrwxrwx. 1 root root 2983 Apr 9 14:39 CMakeLists.txt
> -rw-r--r--. 1 root root 29 Apr 9 14:39 compilation.log
> -rw-r--r--. 1 root root 92 Apr 9 14:39 configuration.log
> -rwxrwxrwx. 1 root root 189 Apr 9 14:39 configure
> -rwxrwxrwx. 1 root root 1157 Apr 9 14:39 CONTRIBUTING.md
> drwxrwxrwx. 2 root root 197 Feb 21 05:35 converters
> -rwxrwxrwx. 1 root root 35147 Apr 9 14:39 COPYING
> -rwxrwxrwx. 1 root root 90 Apr 9 14:39 DelphesEnv.sh
> drwxrwxrwx. 2 root root 4096 Feb 21 05:35 display
> drwxrwxrwx. 2 root root 4096 Apr 9 14:39 doc
> drwxrwxrwx. 4 root root 4096 Feb 21 05:35 examples
> drwxrwxrwx. 7 root root 131 Feb 21 05:35 external
> -rwxrwxrwx. 1 root root 9408 Apr 9 14:39 LICENSE
> -rw-r--r--. 1 root root 0 Apr 9 14:39 Makefile
> -rw-r--r--. 1 root root 0 Apr 9 14:39 Makefile.savema5
> -rwxrwxrwx. 1 root root 5162312 Apr 9 14:39 MinBias.pileup
> drwxrwxrwx. 2 root root 4096 Apr 9 14:39 modules
> -rwxrwxrwx. 1 root root 962 Apr 9 14:39 NOTICE
> drwxrwxrwx. 3 root root 4096 Feb 21 05:35 python
> drwxrwxrwx. 2 root root 248 Feb 21 05:35 readers
> -rwxrwxrwx. 1 root root 3778 Apr 9 14:39 README
> -rwxrwxrwx. 1 root root 1786 Apr 9 14:39 README_4LHCb
> -rwxrwxrwx. 1 root root 4341 Apr 9 14:39 README.md
> -rw-r--r--. 1 root root 0 Apr 9 14:39 unpack.log
> drwxrwxrwx. 2 root root 89 Feb 21 05:35 validation
> -rwxrwxrwx. 1 root root 6 Apr 9 14:39 VERSION
> -rw-r--r--. 1 root root 91 Apr 9 14:39 wget.log
>
> ---------------------------------
>
> Thanks,
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
mehdirahmani (mehdirahmani) said :
#17

Thank you, Benjamin,
I have downloaded Delphes-3.3.1 package, what should I do next? how can import it in madanalysis?
Thanks,

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

Hi,

What I was meaning was actually to go directly into the tools/delphes directory and try to install delphes from there (from a shell). You didn't need to download a new tar-ball (especially as this won't include any of the MadAnalysis 5 modification).

Cheers,

Benjamin

> On 10 Apr 2019, at 17:17 , mehdirahmani <email address hidden> wrote:
>
> Question #679607 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/679607
>
> Status: Answered => Open
>
> mehdirahmani is still having a problem:
> Thank you, Benjamin,
> I have downloaded Delphes-3.3.1 package, what should I do next? how can import it in madanalysis?
> Thanks,
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
mehdirahmani (mehdirahmani) said :
#19

Hello Benjamin,
We installed delphes through madanalysis, and we travelled to the newly created tools/delphes only to discover that the Makefile is empty. Is the Makefile from the vanilla delphes compatible with madanalysis version of delphes; are the build procedures the same? Alternatively, where can we find the stand alone modified version of delphes?

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

Can you please run the delphes configure script (after running the setup.sh madanalysis script) to see whether a makefile is generated or not.

Cheers,

Benjamin

> On 24 Apr 2019, at 17:26 , mehdirahmani <email address hidden> wrote:
>
> Question #679607 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/679607
>
> Status: Answered => Open
>
> mehdirahmani is still having a problem:
> Hello Benjamin,
> We installed delphes through madanalysis, and we travelled to the newly created tools/delphes only to discover that the Makefile is empty. Is the Makefile from the vanilla delphes compatible with madanalysis version of delphes; are the build procedures the same? Alternatively, where can we find the stand alone modified version of delphes?
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
mehdirahmani (mehdirahmani) said :
#21

Benjamin,

Thank you for your suggestion.
We ran madanaysis' setup.sh to set the environment variables used by the configure script that we then ran to generate the Makefile. Unfortunately, the make failed:

>> Generating tmp/classes/ClassesDict.cc
Error: rootcling: failed to open tmp/classes/ClassesDict.cc_tmp_24517 in main
make: *** [tmp/classes/ClassesDict.cc] Error 1

What other steps can be taken to resolve this issue?

Thank you,

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

Hmmm, this is weird as thuis file is not modified by madanalysis. Please try to download the official delphes version and install it locally. This may be a problem going beyond madanalysis.

Cheers,

Benjamin

> On 24 Apr 2019, at 23:58 , mehdirahmani <email address hidden> wrote:
>
> Question #679607 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/679607
>
> Status: Answered => Open
>
> mehdirahmani is still having a problem:
> Benjamin,
>
> Thank you for your suggestion.
> We ran madanaysis' setup.sh to set the environment variables used by the configure script that we then ran to generate the Makefile. Unfortunately, the make failed:
>
>>> Generating tmp/classes/ClassesDict.cc
> Error: rootcling: failed to open tmp/classes/ClassesDict.cc_tmp_24517 in main
> make: *** [tmp/classes/ClassesDict.cc] Error 1
>
> What other steps can be taken to resolve this issue?
>
> Thank you,
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
mehdirahmani (mehdirahmani) said :
#23

Benjamin,

We have built vanilla delphes into madanalysis tools directory but when we run ma5, although the [OK] sign is green for Delphes (not for Delphes-MA5tune ), it crashes at the end giving the errors:

MA5-ERROR: impossible to compile the project. For more details, see the log file:
MA5-ERROR: /home/mehdi/Desktop/v1.8_beta/tools/SampleAnalyzer/Interfaces/compilation_delphes.log
MA5-ERROR: The library building aborted.

Inside the compilation_dephes.log we find:

c++ -Wall -O3 -fPIC -I/home/mehdi/Desktop/v1.8_beta/tools/ -pthread -std=c++11 -m64 -I/usr/local/root/include -I/home/mehdi/Desktop/v1.8_beta/tools/delphes -I/home/mehdi/Desktop/v1.8_beta/tools/delphes/external -o delphes/DelphesTreeReader.o -c delphes/DelphesTreeReader.cpp
c++ -Wall -O3 -fPIC -I/home/mehdi/Desktop/v1.8_beta/tools/ -pthread -std=c++11 -m64 -I/usr/local/root/include -I/home/mehdi/Desktop/v1.8_beta/tools/delphes -I/home/mehdi/Desktop/v1.8_beta/tools/delphes/external -o delphes/DelphesMemoryInterface.o -c delphes/DelphesMemoryInterface.cpp
c++ -Wall -O3 -fPIC -I/home/mehdi/Desktop/v1.8_beta/tools/ -pthread -std=c++11 -m64 -I/usr/local/root/include -I/home/mehdi/Desktop/v1.8_beta/tools/delphes -I/home/mehdi/Desktop/v1.8_beta/tools/delphes/external -o delphes/DelphesDataFormat.o -c delphes/DelphesDataFormat.cpp
c++ -Wall -O3 -fPIC -I/home/mehdi/Desktop/v1.8_beta/tools/ -pthread -std=c++11 -m64 -I/usr/local/root/include -I/home/mehdi/Desktop/v1.8_beta/tools/delphes -I/home/mehdi/Desktop/v1.8_beta/tools/delphes/external -o delphes/DelphesDataFormat2.o -c delphes/DelphesDataFormat2.cpp
c++ -Wall -O3 -fPIC -I/home/mehdi/Desktop/v1.8_beta/tools/ -pthread -std=c++11 -m64 -I/usr/local/root/include -I/home/mehdi/Desktop/v1.8_beta/tools/delphes -I/home/mehdi/Desktop/v1.8_beta/tools/delphes/external -o delphes/DetectorDelphes.o -c delphes/DetectorDelphes.cpp
delphes/DelphesTreeReader.cpp: In member function ‘void MA5::DelphesTreeReader::FillEvent(MA5::EventFormat&, MA5::SampleFormat&)’:
delphes/DelphesTreeReader.cpp:333:35: error: ‘class Electron’ has no member named ‘D0’
       electron->d0_ = part->D0;
                                   ^
delphes/DelphesTreeReader.cpp:334:35: error: ‘class Electron’ has no member named ‘ErrorD0’
       electron->d0error_ = part->ErrorD0;
                                   ^
delphes/DelphesTreeReader.cpp:335:35: error: ‘class Electron’ has no member named ‘DZ’
       electron->dz_ = part->DZ;
                                   ^
delphes/DelphesTreeReader.cpp:336:35: error: ‘class Electron’ has no member named ‘ErrorDZ’
       electron->dzerror_ = part->ErrorDZ;
                                   ^
delphes/DelphesTreeReader.cpp:432:30: error: ‘class Muon’ has no member named ‘D0’
       muon->d0_ = part->D0;
                              ^
delphes/DelphesTreeReader.cpp:433:30: error: ‘class Muon’ has no member named ‘ErrorD0’
       muon->d0error_ = part->ErrorD0;
                              ^
delphes/DelphesTreeReader.cpp:434:30: error: ‘class Muon’ has no member named ‘DZ’
       muon->dz_ = part->DZ;
                              ^
delphes/DelphesTreeReader.cpp:435:30: error: ‘class Muon’ has no member named ‘ErrorDZ’
       muon->dzerror_ = part->ErrorDZ;
                              ^
make: *** [delphes/DelphesTreeReader.o] Error 1
make: *** Waiting for unfinished jobs....

Does the modified version of delphes have different electron and muon classes than the vanilla?
What can be done here?

Thanks,

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

Hi,

Well, this can't work and this is not what I suggested to do. I only asked you to build delphes externally to see whether it was working: not internally to madanalysis 5. Do you mind trying this and letting me know?

Cheers,

Benjamin

> On 25 Apr 2019, at 23:02 , mehdirahmani <email address hidden> wrote:
>
> Question #679607 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/679607
>
> Status: Answered => Open
>
> mehdirahmani is still having a problem:
> Benjamin,
>
> We have built vanilla delphes into madanalysis tools directory but when we run ma5, although the [OK] sign is green for Delphes (not for Delphes-MA5tune ), it crashes at the end giving the errors:
>
> MA5-ERROR: impossible to compile the project. For more details, see the log file:
> MA5-ERROR: /home/mehdi/Desktop/v1.8_beta/tools/SampleAnalyzer/Interfaces/compilation_delphes.log
> MA5-ERROR: The library building aborted.
>
> Inside the compilation_dephes.log we find:
>
> c++ -Wall -O3 -fPIC -I/home/mehdi/Desktop/v1.8_beta/tools/ -pthread -std=c++11 -m64 -I/usr/local/root/include -I/home/mehdi/Desktop/v1.8_beta/tools/delphes -I/home/mehdi/Desktop/v1.8_beta/tools/delphes/external -o delphes/DelphesTreeReader.o -c delphes/DelphesTreeReader.cpp
> c++ -Wall -O3 -fPIC -I/home/mehdi/Desktop/v1.8_beta/tools/ -pthread -std=c++11 -m64 -I/usr/local/root/include -I/home/mehdi/Desktop/v1.8_beta/tools/delphes -I/home/mehdi/Desktop/v1.8_beta/tools/delphes/external -o delphes/DelphesMemoryInterface.o -c delphes/DelphesMemoryInterface.cpp
> c++ -Wall -O3 -fPIC -I/home/mehdi/Desktop/v1.8_beta/tools/ -pthread -std=c++11 -m64 -I/usr/local/root/include -I/home/mehdi/Desktop/v1.8_beta/tools/delphes -I/home/mehdi/Desktop/v1.8_beta/tools/delphes/external -o delphes/DelphesDataFormat.o -c delphes/DelphesDataFormat.cpp
> c++ -Wall -O3 -fPIC -I/home/mehdi/Desktop/v1.8_beta/tools/ -pthread -std=c++11 -m64 -I/usr/local/root/include -I/home/mehdi/Desktop/v1.8_beta/tools/delphes -I/home/mehdi/Desktop/v1.8_beta/tools/delphes/external -o delphes/DelphesDataFormat2.o -c delphes/DelphesDataFormat2.cpp
> c++ -Wall -O3 -fPIC -I/home/mehdi/Desktop/v1.8_beta/tools/ -pthread -std=c++11 -m64 -I/usr/local/root/include -I/home/mehdi/Desktop/v1.8_beta/tools/delphes -I/home/mehdi/Desktop/v1.8_beta/tools/delphes/external -o delphes/DetectorDelphes.o -c delphes/DetectorDelphes.cpp
> delphes/DelphesTreeReader.cpp: In member function ‘void MA5::DelphesTreeReader::FillEvent(MA5::EventFormat&, MA5::SampleFormat&)’:
> delphes/DelphesTreeReader.cpp:333:35: error: ‘class Electron’ has no member named ‘D0’
> electron->d0_ = part->D0;
> ^
> delphes/DelphesTreeReader.cpp:334:35: error: ‘class Electron’ has no member named ‘ErrorD0’
> electron->d0error_ = part->ErrorD0;
> ^
> delphes/DelphesTreeReader.cpp:335:35: error: ‘class Electron’ has no member named ‘DZ’
> electron->dz_ = part->DZ;
> ^
> delphes/DelphesTreeReader.cpp:336:35: error: ‘class Electron’ has no member named ‘ErrorDZ’
> electron->dzerror_ = part->ErrorDZ;
> ^
> delphes/DelphesTreeReader.cpp:432:30: error: ‘class Muon’ has no member named ‘D0’
> muon->d0_ = part->D0;
> ^
> delphes/DelphesTreeReader.cpp:433:30: error: ‘class Muon’ has no member named ‘ErrorD0’
> muon->d0error_ = part->ErrorD0;
> ^
> delphes/DelphesTreeReader.cpp:434:30: error: ‘class Muon’ has no member named ‘DZ’
> muon->dz_ = part->DZ;
> ^
> delphes/DelphesTreeReader.cpp:435:30: error: ‘class Muon’ has no member named ‘ErrorDZ’
> muon->dzerror_ = part->ErrorDZ;
> ^
> make: *** [delphes/DelphesTreeReader.o] Error 1
> make: *** Waiting for unfinished jobs....
>
> Does the modified version of delphes have different electron and muon classes than the vanilla?
> What can be done here?
>
> Thanks,
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Revision history for this message
mehdirahmani (mehdirahmani) said :
#25

Hi Benjamin,
Okay. We built it externally and the command ./DelphesHepMC works. So now that the external version appears to be working fine, what can be done to build the internal version?
Thanks,

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

Hi,

Can you please remove all delphes file from the 'tools' subdirectory, start MadAnalysis 5 in debug mode (with -d), type install delphes in the command line interface and then dump me everything (log files and screen output).

Cheers,

Benjamin

> On 26 Apr 2019, at 17:52 , mehdirahmani <email address hidden> wrote:
>
> Question #679607 on MadAnalysis 5 changed:
> https://answers.launchpad.net/madanalysis5/+question/679607
>
> Status: Answered => Open
>
> mehdirahmani is still having a problem:
> Hi Benjamin,
> Okay. We built it externally and the command ./DelphesHepMC works. So now that the external version appears to be working fine, what can be done to build the internal version?
> Thanks,
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Can you help with this problem?

Provide an answer of your own, or ask mehdirahmani for more information if necessary.

To post a message you must log in.