Geant4 11.2.2
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 110 of file G4INCLGlobals.cc.

110 {
111 return ((p1->getType() == t1 && p2->getType() == t2) ||
112 (p1->getType() == t2 && p2->getType() == t1));
113 }

Referenced by G4INCL::PiNToDeltaChannel::fillFinalState(), and G4INCL::StrangeAbsorbtionChannel::fillFinalState().