Skip to content
Snippets Groups Projects

Migration of ISF_HepMC_Tools to HepmC3

13 files
+ 182
1
Compare changes
  • Side-by-side
  • Inline
Files
13
@@ -37,8 +37,13 @@ namespace ISF {
@@ -37,8 +37,13 @@ namespace ISF {
/// Creates the InterfaceID and interfaceID() method
/// Creates the InterfaceID and interfaceID() method
DeclareInterfaceID(IGenParticleFilter, 1, 0);
DeclareInterfaceID(IGenParticleFilter, 1, 0);
 
#ifdef HEPMC3
 
/** Returns a boolean if the particle has passed or not */
 
virtual bool pass(HepMC::ConstGenParticlePtr particle) const = 0;
 
#else
/** Returns a boolean if the particle has passed or not */
/** Returns a boolean if the particle has passed or not */
virtual bool pass(const HepMC::GenParticle& particle) const = 0;
virtual bool pass(const HepMC::GenParticle& particle) const = 0;
 
#endif
};
};
Loading