G4INCL::ParticleConfig Namespace Reference


Functions

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


Function Documentation

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

Definition at line 42 of file G4INCLGlobals.cc.

References G4INCL::Particle::getType().

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

00042                                                                                                           {
00043       return ((p1->getType() == t1 && p2->getType() == t2) ||
00044               (p1->getType() == t2 && p2->getType() == t1));
00045     }


Generated on Mon May 27 17:54:09 2013 for Geant4 by  doxygen 1.4.7