Geant4  10.02.p03
G4FermiConfiguration Class Reference

#include <G4FermiConfiguration.hh>

Collaboration diagram for G4FermiConfiguration:

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
 

Private Member Functions

 G4FermiConfiguration (const G4FermiConfiguration &)
 
const G4FermiConfigurationoperator= (const G4FermiConfiguration &)
 
G4bool operator== (const G4FermiConfiguration &) const
 
G4bool operator!= (const G4FermiConfiguration &) const
 

Private Attributes

G4int totalZ
 
G4int totalA
 
G4double totalMass
 
std::vector< const G4VFermiFragment * > Configuration
 

Detailed Description

Definition at line 39 of file G4FermiConfiguration.hh.

Constructor & Destructor Documentation

◆ G4FermiConfiguration() [1/2]

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 }
std::vector< const G4VFermiFragment * > Configuration

◆ ~G4FermiConfiguration()

G4FermiConfiguration::~G4FermiConfiguration ( )

Definition at line 52 of file G4FermiConfiguration.cc.

53 {}

◆ G4FermiConfiguration() [2/2]

G4FermiConfiguration::G4FermiConfiguration ( const G4FermiConfiguration )
inlineprivate

Member Function Documentation

◆ GetA()

G4int G4FermiConfiguration::GetA ( void  ) const
inline

Definition at line 69 of file G4FermiConfiguration.hh.

70 {
71  return totalA;
72 }
Here is the caller graph for this function:

◆ GetFragmentList()

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

Definition at line 85 of file G4FermiConfiguration.hh.

86 {
87  return &Configuration;
88 }
std::vector< const G4VFermiFragment * > Configuration
Here is the caller graph for this function:

◆ GetMass()

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:

◆ GetZ()

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:

◆ operator!=()

G4bool G4FermiConfiguration::operator!= ( const G4FermiConfiguration ) const
inlineprivate

◆ operator=()

const G4FermiConfiguration& G4FermiConfiguration::operator= ( const G4FermiConfiguration )
inlineprivate

◆ operator==()

G4bool G4FermiConfiguration::operator== ( const G4FermiConfiguration ) const
inlineprivate

Member Data Documentation

◆ Configuration

std::vector<const G4VFermiFragment*> G4FermiConfiguration::Configuration
private

Definition at line 65 of file G4FermiConfiguration.hh.

◆ totalA

G4int G4FermiConfiguration::totalA
private

Definition at line 61 of file G4FermiConfiguration.hh.

◆ totalMass

G4double G4FermiConfiguration::totalMass
private

Definition at line 63 of file G4FermiConfiguration.hh.

◆ totalZ

G4int G4FermiConfiguration::totalZ
private

Definition at line 60 of file G4FermiConfiguration.hh.


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