compilation problem with RIVET and HEPMC3 ?
compilation fails with HEPMC3 and RIVET (without Rivet, no problem), any idea ?
crmc.git/src/OutputPolicyRivet.cc: In member function ‘virtual void OutputPolicyRivet::FillEvent(const CRMCoptions&, int)’:
crmc.git/src/OutputPolicyRivet.cc:36:41: error: no matching function for call to ‘Rivet::AnalysisHandler::init(HepMC3::GenEvent&)’
if (not _is_init) _handler.init(_event);
^
In file included from crmc.git/src/OutputPolicyRivet.h:7,
from crmc.git/src/OutputPolicyRivet.cc:1:
Rivet/local/include/Rivet/AnalysisHandler.hh:212:10: note: candidate: ‘void Rivet::AnalysisHandler::init(const HepMC::GenEvent&)’
void init(const GenEvent& event);
^~~~
Rivet/local/include/Rivet/AnalysisHandler.hh:212:10: note: no known conversion for argument 1 from ‘HepMC3::GenEvent’ to ‘const HepMC::GenEvent&’
crmc.git/src/OutputPolicyRivet.cc:39:26: error: no matching function for call to ‘Rivet::AnalysisHandler::analyze(HepMC3::GenEvent&)’
_handler.analyze(_event);
^
In file included from crmc.git/src/OutputPolicyRivet.h:7,
from crmc.git/src/OutputPolicyRivet.cc:1:
Rivet/local/include/Rivet/AnalysisHandler.hh:218:10: note: candidate: ‘void Rivet::AnalysisHandler::analyze(const HepMC::GenEvent&)’
void analyze(const GenEvent& event);
^~~~~~~
Rivet/local/include/Rivet/AnalysisHandler.hh:218:10: note: no known conversion for argument 1 from ‘HepMC3::GenEvent’ to ‘const HepMC::GenEvent&’
Rivet/local/include/Rivet/AnalysisHandler.hh:224:10: note: candidate: ‘void Rivet::AnalysisHandler::analyze(const HepMC::GenEvent*)’
void analyze(const GenEvent* event);
^~~~~~~
Rivet/local/include/Rivet/AnalysisHandler.hh:224:10: note: no known conversion for argument 1 from ‘HepMC3::GenEvent’ to ‘const HepMC::GenEvent*