install Delphes failed.

Asked by nannan

In my mac with 10.15 version, I typed "install Delphes" in mg5, it showed some warnings and errors as: In file included from validation/DelphesValidation.cpp:49:
external/ExRootAnalysis/ExRootTreeWriter.h:34:8: warning:
      'ExRootTreeWriter::Write' hides overloaded virtual functions
      [-Woverloaded-virtual]
  void Write();
       ^
/usr/local/Cellar/root/6.22.02_1/include/root/TObject.h:148:24: note: hidden
      overloaded virtual function 'TObject::Write' declared here: different
      number of parameters (3 vs 0)
   virtual Int_t Write(const char *name=0, Int_t option=0, Int_t b....
...
...
validation/DelphesValidation.cpp:1196:17: error: allocation of incomplete type
      'TF1'
  TF1 *f1 = new TF1("f1", "gaus", hist->GetMean() - 2 * hist->GetRMS(), ...
                ^~~
/usr/local/Cellar/root/6.22.02_1/include/root/TGraph.h:36:7: note: forward
      declaration of 'TF1'
class TF1;
      ^
validation/DelphesValidation.cpp:1199:37: error: member access into incomplete
      type 'TF1'
  TF1 *f2 = new TF1("f2", "gaus", f1->GetParameter(1) - 2 * f1->GetParam...
                                    ^
/usr/local/Cellar/root/6.22.02_1/include/root/TGraph.h:36:7: note: forward
      declaration of 'TF1'
class TF1;
      ^
validation/DelphesValidation.cpp:1199:84: error: member access into incomplete
      type 'TF1'
  ..."gaus", f1->GetParameter(1) - 2 * f1->GetParameter(2), f1->GetParameter(...
                                                              ........
7 warnings and 5 errors generated.
make: *** [tmp/validation/DelphesValidation.o] Error 1
Error detected during the compilation. Please check the compilation error and run make manually.
I do not know how to solve them and hope someone can help me.

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

For such question, you should ask Delphes author.
This is likely an issue that your version of ROOT is not compatible with that version of Delphes.
But the authors of Delphes should be able to help you.

Cheers,

Olivier

Revision history for this message
Winston (adampan) said :
#2

Hi. when I install Delphes in my mac, I encounter the same issues as you encounteted. Did you solve the problem?
Can u share how to fix it?

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

Looks like Delphes is not compatible (up to last week at least) with root 6.22.
So one need to downgrade root to a lower version.

Cheers,

Olivier

Can you help with this problem?

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

To post a message you must log in.