// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration. It is provided under the terms and * // * conditions of the Geant4 Software License, included in the file * // * LICENSE and available at http://cern.ch/geant4/license . These * // * include a list of copyright holders. * // * * // * Neither the authors of this software system, nor their employing * // * institutes,nor the agencies providing financial support for this * // * work make any representation or warranty, express or implied, * // * regarding this software system or assume any liability for its * // * use. Please see the license in the file LICENSE and URL above * // * for the full disclaimer and the limitation of liability. * // * * // * This code implementation is the result of the scientific and * // * technical work of the GEANT4 collaboration. * // * By using, copying, modifying or distributing the software (or * // * any work based on the software) you agree to acknowledge its * // * use in resulting scientific publications, and indicate your * // * acceptance of all terms of the Geant4 Software license. * // ******************************************************************** // // // $Id: G4FermiConfiguration.hh,v 1.4 2006/06/29 20:11:44 gunter Exp $ // GEANT4 tag $Name: geant4-09-03-ref-09 $ // // Hadronic Process: Nuclear De-excitations // by V. Lara (Nov 1998) #ifndef G4FermiConfiguration_h #define G4FermiConfiguration_h 1 #include #include "globals.hh" #include "Randomize.hh" #include "G4VFermiFragment.hh" #include "G4ParticleMomentum.hh" #include "G4ParticleTable.hh" #include "G4IonTable.hh" #include "G4Fragment.hh" class G4FermiConfiguration { public: // Constructors inline G4FermiConfiguration(); inline ~G4FermiConfiguration(); inline G4FermiConfiguration(const std::vector&); inline G4FermiConfiguration(const G4FermiConfiguration &); // Operators inline const G4FermiConfiguration & operator=(const G4FermiConfiguration &); inline G4bool operator==(const G4FermiConfiguration &) const; inline G4bool operator!=(const G4FermiConfiguration &) const; inline void SetConfiguration(const std::vector&); G4double DecayProbability(const G4int A, const G4double TotalE); G4FragmentVector * GetFragments(const G4Fragment & theNucleus); inline G4int GetNumberOfFragments() const; private: G4double CoulombBarrier(void); G4ParticleMomentum IsotropicVector(const G4double Magnitude = 1.0); private: // Kappa = V/V_0 it is used in calculation of Coulomb energy static const G4double Kappa; // Nuclear radius r0 (is a model parameter) static const G4double r0; std::vector Configuration; struct DeleteFragment { template void operator()(const T* ptr) const { delete ptr; } }; }; #include "G4FermiConfiguration.icc" #endif