#273 closed defect (wontfix)
Sherpa 2.0.b2+Delphes fails
Reported by: | Wojciech.Kotlarski@fuw.edu.pl | Owned by: | support@sherpa-mc.de |
---|---|---|---|
Priority: | minor | Milestone: | rel-2.0.0 |
Component: | Unknown | Version: | 2.0.beta2 |
Keywords: | Delphes | Cc: | Wojciech.Kotlarski@fuw.edu.pl |
Description
Dear Sherpa authors,
Sherpa fails to compile with Delphes 3.0.10 support with the attached error. It seems that the structure of directories in Delphes has changed. Needed header files are indeed present but in different directories.
cheers, Wojciech
Output_Delphes.C:9:65: error: Utilities/ExRootAnalysis/interface/ExRootTreeWriter.h: No such file or directory Output_Delphes.C:10:61: error: Utilities/ExRootAnalysis/interface/BlockClasses.h: No such file or directory Output_Delphes.C:80:65: error: Utilities/ExRootAnalysis/interface/ExRootTreeBranch.h: No such file or directory Output_Delphes.C:25: error: ISO C++ forbids declaration of 'ExRootTreeWriter' with no type Output_Delphes.C:25: error: expected ';' before '*' token Output_Delphes.C:26: error: ISO C++ forbids declaration of 'ExRootTreeBranch' with no type Output_Delphes.C:26: error: expected ';' before '*' token Output_Delphes.C:27: error: ISO C++ forbids declaration of 'ExRootTreeBranch' with no type Output_Delphes.C:27: error: expected ';' before '*' token Output_Delphes.C:33: error: 'ExRootTreeBranch' has not been declared Output_Delphes.C:34: error: 'ExRootTreeBranch' has not been declared Output_Delphes.C:35: error: expected ',' or '...' before 'eventNumber' Output_Delphes.C:35: error: ISO C++ forbids declaration of 'Long64_t' with no type Output_Delphes.C: In constructor 'DELPHES::Output_Delphes::Output_Delphes(const SHERPA::Output_Arguments&, int)': Output_Delphes.C:96: error: 'p_treeWriter' was not declared in this scope Output_Delphes.C:96: error: expected type-specifier before 'ExRootTreeWriter' Output_Delphes.C:96: error: expected `;' before 'ExRootTreeWriter' Output_Delphes.C:97: error: 'p_branchGenEvent' was not declared in this scope Output_Delphes.C:98: error: 'TRootLHEFEvent' has not been declared Output_Delphes.C:99: error: 'p_branchGenParticle' was not declared in this scope Output_Delphes.C:100: error: 'TRootC' has not been declared Output_Delphes.C: In destructor 'virtual DELPHES::Output_Delphes::~Output_Delphes()': Output_Delphes.C:105: error: 'p_treeWriter' was not declared in this scope Output_Delphes.C:106: error: type '<type error>' argument given to 'delete', expected pointer Output_Delphes.C: In member function 'virtual void DELPHES::Output_Delphes::Output(ATOOLS::Blob_List*, double)': Output_Delphes.C:132: error: 'p_treeWriter' was not declared in this scope Output_Delphes.C:133: error: 'p_branchGenEvent' was not declared in this scope Output_Delphes.C:135: error: 'p_branchGenParticle' was not declared in this scope Output_Delphes.C: At global scope: Output_Delphes.C:145: error: variable or field 'AnalyseEvent' declared void Output_Delphes.C:145: error: 'ExRootTreeBranch' was not declared in this scope Output_Delphes.C:145: error: 'branch' was not declared in this scope Output_Delphes.C:145: error: expected primary-expression before 'const' Output_Delphes.C:146: error: expected primary-expression before 'const' Output_Delphes.C:146: error: expected primary-expression before 'const' Output_Delphes.C:244: error: variable or field 'AnalyseParticles' declared void Output_Delphes.C:244: error: 'ExRootTreeBranch' was not declared in this scope Output_Delphes.C:244: error: 'branch' was not declared in this scope Output_Delphes.C:244: error: expected primary-expression before 'const' make[3]: * [libSherpaDelphesOutput_la-Output_Delphes.lo] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2
Attachments (0)
Change History (2)
comment:1 Changed 11 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
Dear Stefan,
You are of course right. The standard HepMC output is accepted by Delphes without any problems. The only reason for this inquiry is that manual says that the Delphes ROOT output is half the size of gziped hepmc. But this is not really important.
best, Wojciech
Dear Wojciech,
thanks for the report. I have tried to compile the interface with the new Delphes version, but the class structure seems to have changed. Unfortunately Delphes does not provide easy means to detect this, and neither does it provide a standardized include path. However, it may not be necessary to have a dedicated Delphes interface for version >3, because Delphes seems to contain converters which take HepMC2 as an input. You can write HepMC2 output with Sherpa quite easily, see http://sherpa.hepforge.org/doc/SHERPA-MC-2.0.beta2.html#Event-output-formats
Best Stefan