00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // $Id$ 00027 // 00028 // Hadronic Process: Nuclear De-excitations 00029 // by V. Lara (Nov 1998) 00030 // 23.04.2011 V.Ivanchenko: make this class to be a simple container and no physics 00031 00032 #ifndef G4FermiConfiguration_h 00033 #define G4FermiConfiguration_h 1 00034 00035 #include "globals.hh" 00036 #include "G4VFermiFragment.hh" 00037 #include "G4Fragment.hh" 00038 00039 class G4FermiConfiguration 00040 { 00041 public: 00042 // Constructors 00043 G4FermiConfiguration(const std::vector<const G4VFermiFragment*>&); 00044 00045 ~G4FermiConfiguration(); 00046 00047 G4FragmentVector* GetFragments(const G4Fragment & theNucleus); 00048 00049 inline G4int GetA() const; 00050 inline G4int GetZ() const; 00051 inline G4double GetMass() const; 00052 00053 inline const std::vector<const G4VFermiFragment*>& GetFragmentList(); 00054 00055 private: 00056 00057 inline G4FermiConfiguration(const G4FermiConfiguration &); 00058 inline const G4FermiConfiguration & operator=(const G4FermiConfiguration &); 00059 inline G4bool operator==(const G4FermiConfiguration &) const; 00060 inline G4bool operator!=(const G4FermiConfiguration &) const; 00061 00062 G4int totalZ; 00063 G4int totalA; 00064 00065 G4double totalMass; 00066 00067 std::vector<const G4VFermiFragment*> Configuration; 00068 00069 }; 00070 00071 inline G4int G4FermiConfiguration::GetA() const 00072 { 00073 return totalA; 00074 } 00075 00076 inline G4int G4FermiConfiguration::GetZ() const 00077 { 00078 return totalZ; 00079 } 00080 00081 inline G4double G4FermiConfiguration::GetMass() const 00082 { 00083 return totalMass; 00084 } 00085 00086 inline const std::vector<const G4VFermiFragment*>& 00087 G4FermiConfiguration::GetFragmentList() 00088 { 00089 return Configuration; 00090 } 00091 00092 #endif 00093 00094