Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4INCL::ParticleConfig Namespace Reference

Functions

G4bool isPair (Particle const *const p1, Particle const *const p2, ParticleType t1, ParticleType t2)
 

Function Documentation

◆ isPair()

G4bool G4INCL::ParticleConfig::isPair ( Particle const *const  p1,
Particle const *const  p2,
ParticleType  t1,
ParticleType  t2 
)

Definition at line 44 of file G4INCLGlobals.cc.

44 {
45 return ((p1->getType() == t1 && p2->getType() == t2) ||
46 (p1->getType() == t2 && p2->getType() == t1));
47 }

Referenced by G4INCL::PionNucleonChannel::getFinalState().