Geant4  10.02.p03
G4PhysListUtil Class Reference

#include <G4PhysListUtil.hh>

Collaboration diagram for G4PhysListUtil:

Static Public Member Functions

static G4HadronicProcessFindInelasticProcess (const G4ParticleDefinition *)
 

Private Member Functions

 G4PhysListUtil ()
 
 ~G4PhysListUtil ()
 

Detailed Description

Definition at line 47 of file G4PhysListUtil.hh.

Constructor & Destructor Documentation

◆ G4PhysListUtil()

G4PhysListUtil::G4PhysListUtil ( )
private

◆ ~G4PhysListUtil()

G4PhysListUtil::~G4PhysListUtil ( )
private

Member Function Documentation

◆ FindInelasticProcess()

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 }
G4ProcessVector * GetProcessList() const
G4ProcessManager * GetProcessManager() const
Char_t n[5]
G4int size() 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: