Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 110 of file G4INCLGlobals.cc.

110  {
111  return ((p1->getType() == t1 && p2->getType() == t2) ||
112  (p1->getType() == t2 && p2->getType() == t1));
113  }
tuple t1
Definition: plottest35.py:33

Here is the call graph for this function:

Here is the caller graph for this function: