Issue with interface (and installation) between Delphes and MadGraph

Asked by Caue Evangelista

Hi, dear team.

I'm having some issues when I try to use MadGraph alongside with Delphes.

I have ROOT successfully installed in my machine (all the environment variables are correct and working) and I installed MadGraph and used it to install ExRootAnalysis and after it Pythia8.

After the installation of Root, MadGraph, ExRootAnalysis and Pythia8 (in this order), I tried to install Delphes, so I typed "install Delphes" inside MadGraph and got this error message:

----------------------------------------------------------------------------------------------------------------------------------------
validation/DelphesValidation.cpp:1500:17: warning: unused variable ‘branchParticleCJet’ [-Wunused-variable]
   TClonesArray *branchParticleCJet = treeReaderCJet->UseBranch("Particle");
                 ^~~~~~~~~~~~~~~~~~
Makefile:2445: recipe for target 'tmp/validation/DelphesValidation.o' failed
make: *** [tmp/validation/DelphesValidation.o] Error 1
Error detected during the compilation. Please check the compilation error and run make manually.
----------------------------------------------------------------------------------------------------------------------------------------

After this I installed Delphes stand alone, so I went to the main directory of MadGraph and typed:
----------------------------------------------------------------------------------------------------------------------------------------
git clone https://github.com/delphes/delphes.git
cd delphes/
make -j 2
----------------------------------------------------------------------------------------------------------------------------------------

To make sure that Delphes was correctly installed I tried to run it without input files and got the known error message:
----------------------------------------------------------------------------------------------------------------------------------------
 Usage: DelphesHepMC config_file output_file [input_file(s)]
 config_file - configuration file in Tcl format,
 output_file - output file in ROOT format,
 input_file(s) - input file(s) in HepMC format,
 with no input_file, or when input_file is -, read standard input.
----------------------------------------------------------------------------------------------------------------------------------------

So, I went to the "mg5_configuration.txt" file and add:
delphes_path = ./delphes

But when I try to generate some test events, MadGraph don't recognize Delphes as a detector simulation program, it shows the message "detector=Not Avail."

I finally tried to pass the entire path to the delphes directory, using
delphes_path = /home/ecaue/ParticlePhysics/MadGraph/MG5_aMC_v2_8_1/delphes

but this gave me the same error.

Please, I would really appreciate any help!!

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

For the installation, this likely means that the tarball that the Delphes author have provide us still has a bug than the git version does not have. I guess that we have to wait for Delphes author to update the tarball that we install via the "install Delphes". (I have no control on it only the Delphes author have).

For the linking, what is printed in the screen, if you do
./bin/mg5_aMC
and then
display options delphes

If you see your path at that stage, do you seem in your console the following message
"No valid Delphes path found"
When you run the code?

If you do this means that you lack the following executable in Delphes:
DelphesSTDHEP
This executable should be present in the directory that you specify (which should be printed by the above command.

Cheers,

Olivier

Cheers,

Olivier

Can you help with this problem?

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

To post a message you must log in.