Skip to content
Snippets Groups Projects
Commit 0cdcbf76 authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'hepmc3_nightly_fixes_04122020_part_5' into 'master'

Use HepMC3 compatible types for the recently created interfaces

See merge request atlas/athena!38873
parents 1d51c402 3eb17078
No related branches found
No related tags found
No related merge requests found
...@@ -25,13 +25,10 @@ ...@@ -25,13 +25,10 @@
#include "xAODEventInfo/EventInfo.h" #include "xAODEventInfo/EventInfo.h"
#include "xAODTruth/TruthEventContainer.h" #include "xAODTruth/TruthEventContainer.h"
#include "HepMC/GenEvent.h" #include "AtlasHepMC/GenEvent.h"
#include "AtlasHepMC/GenParticle.h"
#include "AtlasHepMC/GenVertex.h"
namespace HepMC {
class GenEvent;
class GenParticle;
class GenVertex;
}
class IxAODtoHepMCTool : public virtual asg::IAsgTool { class IxAODtoHepMCTool : public virtual asg::IAsgTool {
public: public:
......
...@@ -33,9 +33,9 @@ class xAODtoHepMCTool: public asg::AsgTool, public virtual IxAODtoHepMCTool { ...@@ -33,9 +33,9 @@ class xAODtoHepMCTool: public asg::AsgTool, public virtual IxAODtoHepMCTool {
private: private:
HepMC::GenEvent createHepMCEvent(const xAOD::TruthEvent* xEvt, const xAOD::EventInfo* eventInfo) const; HepMC::GenEvent createHepMCEvent(const xAOD::TruthEvent* xEvt, const xAOD::EventInfo* eventInfo) const;
HepMC::GenVertex* vertexHelper(const xAOD::TruthVertex*,std::map<const xAOD::TruthVertex*,HepMC::GenVertex*>&,bool&) const; HepMC::GenVertexPtr vertexHelper(const xAOD::TruthVertex*,std::map<const xAOD::TruthVertex*,HepMC::GenVertexPtr>&,bool&) const;
HepMC::GenParticle* createHepMCParticle(const xAOD::TruthParticle*) const; HepMC::GenParticlePtr createHepMCParticle(const xAOD::TruthParticle*) const;
HepMC::GenVertex* createHepMCVertex(const xAOD::TruthVertex*) const; HepMC::GenVertexPtr createHepMCVertex(const xAOD::TruthVertex*) const;
void printxAODEvent(const xAOD::TruthEvent* event, const xAOD::EventInfo* eventInfo) const; void printxAODEvent(const xAOD::TruthEvent* event, const xAOD::EventInfo* eventInfo) const;
private: private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment