Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4FermiConfiguration Class Reference

#include <G4FermiConfiguration.hh>

Public Member Functions

 G4FermiConfiguration (const std::vector< const G4VFermiFragment * > &)
 
 ~G4FermiConfiguration ()
 
G4FragmentVectorGetFragments (const G4Fragment &theNucleus)
 
G4int GetA () const
 
G4int GetZ () const
 
G4double GetMass () const
 
const std::vector< const G4VFermiFragment * > & GetFragmentList ()
 

Detailed Description

Definition at line 39 of file G4FermiConfiguration.hh.

Constructor & Destructor Documentation

◆ G4FermiConfiguration()

G4FermiConfiguration::G4FermiConfiguration ( const std::vector< const G4VFermiFragment * > &  v)

Definition at line 39 of file G4FermiConfiguration.cc.

40{
41 Configuration = v;
42 totalA = totalZ = 0;
43 totalMass = 0.0;
44 size_t nn = v.size();
45 for(size_t i=0; i<nn; ++i) {
46 totalA += v[i]->GetA();
47 totalZ += v[i]->GetZ();
48 totalMass += v[i]->GetTotalEnergy();
49 }
50}

◆ ~G4FermiConfiguration()

G4FermiConfiguration::~G4FermiConfiguration ( )

Definition at line 52 of file G4FermiConfiguration.cc.

53{}

Member Function Documentation

◆ GetA()

G4int G4FermiConfiguration::GetA ( ) const
inline

Definition at line 71 of file G4FermiConfiguration.hh.

72{
73 return totalA;
74}

Referenced by G4FermiFragmentsPool::GetConfigurationList().

◆ GetFragmentList()

const std::vector< const G4VFermiFragment * > & G4FermiConfiguration::GetFragmentList ( )
inline

Definition at line 87 of file G4FermiConfiguration.hh.

88{
89 return Configuration;
90}

Referenced by G4FermiFragmentsPool::GetConfigurationList(), and G4FermiFragmentsPool::GetFragment().

◆ GetFragments()

G4FragmentVector * G4FermiConfiguration::GetFragments ( const G4Fragment theNucleus)

◆ GetMass()

G4double G4FermiConfiguration::GetMass ( ) const
inline

Definition at line 81 of file G4FermiConfiguration.hh.

82{
83 return totalMass;
84}

Referenced by G4FermiFragmentsPool::GetConfigurationList().

◆ GetZ()

G4int G4FermiConfiguration::GetZ ( ) const
inline

Definition at line 76 of file G4FermiConfiguration.hh.

77{
78 return totalZ;
79}

Referenced by G4FermiFragmentsPool::GetConfigurationList(), and G4FermiFragmentsPool::GetFragment().


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