Skip to content
Snippets Groups Projects
Commit 69d72acc authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'cleanup_atlashepmc' into 'master'

Cleanup of AtlasHepMC.

See merge request atlas/athena!35097
parents 9cc0a631 8de9ee69
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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();}
}
......
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