From 8de9ee69cd6232f5f802fd8b4ee8ce2a37ae9658 Mon Sep 17 00:00:00 2001 From: Andrii Verbytskyi <averbyts@cern.ch> Date: Sun, 26 Jul 2020 13:39:55 +0200 Subject: [PATCH] Cleanup of AtlasHepMC. --- Generators/AtlasHepMC/AtlasHepMC/GenParticle.h | 3 --- Generators/AtlasHepMC/AtlasHepMC/GenVertex.h | 8 -------- 2 files changed, 11 deletions(-) diff --git a/Generators/AtlasHepMC/AtlasHepMC/GenParticle.h b/Generators/AtlasHepMC/AtlasHepMC/GenParticle.h index 1fa860d0bc2..a519f97ac98 100644 --- a/Generators/AtlasHepMC/AtlasHepMC/GenParticle.h +++ b/Generators/AtlasHepMC/AtlasHepMC/GenParticle.h @@ -16,9 +16,6 @@ typedef HepMC3::ConstGenParticlePtr ConstGenParticlePtr; inline GenParticlePtr newGenParticlePtr(const HepMC3::FourVector &mom = HepMC3::FourVector::ZERO_VECTOR(), int pid = 0, int status = 0) { return std::make_shared<HepMC3::GenParticle>(mom,pid,status); } -inline GenParticlePtr newGenParticlePtr(const HepMC3::FourVector &mom, int pid , int status , HepMC::Flow fl, HepMC::Polarization pol) { - return std::make_shared<HepMC3::GenParticle>(mom,pid,status); -} inline int barcode(GenParticlePtr p){ std::shared_ptr<HepMC3::IntAttribute> barcode=p->attribute<HepMC3::IntAttribute>("barcode"); return barcode?(barcode->value()):0; diff --git a/Generators/AtlasHepMC/AtlasHepMC/GenVertex.h b/Generators/AtlasHepMC/AtlasHepMC/GenVertex.h index e1a6cc5524e..15f53b7f031 100644 --- a/Generators/AtlasHepMC/AtlasHepMC/GenVertex.h +++ b/Generators/AtlasHepMC/AtlasHepMC/GenVertex.h @@ -34,14 +34,6 @@ inline int barcode(HepMC3::GenVertex p){ return barcode?(barcode->value()):0; } -inline std::vector<HepMC3::GenVertexPtr> DESCENDANTS(HepMC3::GenVertexPtr endvtx) -{ -return std::vector<HepMC3::GenVertexPtr>(); -} -inline std::vector<HepMC3::ConstGenVertexPtr> DESCENDANTS(HepMC3::ConstGenVertexPtr endvtx) -{ -return std::vector<HepMC3::ConstGenVertexPtr>(); -} inline void* raw_pointer(GenVertexPtr p){ return p.get();} inline const void* raw_pointer(ConstGenVertexPtr p){ return p.get();} } -- GitLab