Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4FermiConfiguration Class Reference

#include <G4FermiConfiguration.hh>

Public Member Functions

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

Detailed Description

Definition at line 39 of file G4FermiConfiguration.hh.

Constructor & Destructor Documentation

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 ( )

Definition at line 52 of file G4FermiConfiguration.cc.

53 {}

Member Function Documentation

G4int G4FermiConfiguration::GetA ( void  ) const
inline

Definition at line 69 of file G4FermiConfiguration.hh.

70 {
71  return totalA;
72 }
const std::vector< const G4VFermiFragment * > * G4FermiConfiguration::GetFragmentList ( ) const
inline

Definition at line 85 of file G4FermiConfiguration.hh.

86 {
87  return &Configuration;
88 }

Here is the caller graph for this function:

G4double G4FermiConfiguration::GetMass ( ) const
inline

Definition at line 79 of file G4FermiConfiguration.hh.

80 {
81  return totalMass;
82 }

Here is the caller graph for this function:

G4int G4FermiConfiguration::GetZ ( void  ) const
inline

Definition at line 74 of file G4FermiConfiguration.hh.

75 {
76  return totalZ;
77 }

Here is the caller graph for this function:


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