install Delphes failed.

Asked by nannan on 2020-10-24

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
  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 *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

English Edit question
MadGraph5_aMC@NLO Edit question
No assignee Edit question
Last query:
Last reply:

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.



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.