Functions | |
| G4bool | isPair (Particle const *const p1, Particle const *const p2, ParticleType t1, ParticleType t2) |
| 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 }
1.4.7