Skip to content
Snippets Groups Projects
Commit d5172c77 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'hepmc3_nightly_fixes_15122020_part_2' into 'master'

Hepmc3 nightly fixes 15122020 part 2

See merge request atlas/athena!39206
parents 5686e778 cff3e068
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ public:
* @returns <code>true</code> if the object should be selected,
* <code>false</code> otherwise
*/
virtual bool pass( const HepMC::GenParticle* part,
virtual bool pass( HepMC::ConstGenParticlePtr part,
const McEventCollection* coll = 0 ) const = 0;
/// Function selecting GenVertex objects
......@@ -85,7 +85,7 @@ public:
* @returns <code>true</code> if the object should be selected,
* <code>false</code> otherwise
*/
virtual bool pass( const HepMC::GenVertex* vtx,
virtual bool pass( HepMC::ConstGenVertexPtr vtx,
const McEventCollection* coll = 0 ) const = 0;
}; // class IGenObjectsFilterTool
......
......@@ -35,7 +35,7 @@ SimpleTruthParticleFilterTool::SimpleTruthParticleFilterTool
* @brief Test to see if we want to keep a particle.
*/
bool
SimpleTruthParticleFilterTool::isAccepted (const HepMC::GenParticle* p)
SimpleTruthParticleFilterTool::isAccepted (HepMC::ConstGenParticlePtr p)
{
bool ok = false;
......
......@@ -36,7 +36,7 @@ public:
const IInterface* parent);
/// Test to see if we want to keep a particle.
virtual bool isAccepted (const HepMC::GenParticle* p);
virtual bool isAccepted (HepMC::ConstGenParticlePtr p);
private:
/// Parameter: PDG ID to filter on
......
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