Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PhysListUtil Class Reference

#include <G4PhysListUtil.hh>

Static Public Member Functions

static G4HadronicProcessFindInelasticProcess (const G4ParticleDefinition *)
 

Detailed Description

Definition at line 47 of file G4PhysListUtil.hh.

Member Function Documentation

G4HadronicProcess * G4PhysListUtil::FindInelasticProcess ( const G4ParticleDefinition p)
static

Definition at line 46 of file G4PhysListUtil.cc.

47 {
48  G4HadronicProcess* had = 0;
49  if(p) {
51  size_t n = pvec->size();
52  if(0 < n) {
53  for(size_t i=0; i<n; ++i) {
54  if(fHadronInelastic == ((*pvec)[i])->GetProcessSubType()) {
55  had = static_cast<G4HadronicProcess*>((*pvec)[i]);
56  break;
57  }
58  }
59  }
60  }
61  return had;
62 }
const G4int n
G4int size() const
G4ProcessManager * GetProcessManager() const
G4ProcessVector * GetProcessList() const

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files: