source: trunk/source/processes/hadronic/models/de_excitation/fermi_breakup/include/G4FermiConfiguration.hh @ 1340

Last change on this file since 1340 was 1340, checked in by garnier, 14 years ago

update ti head

File size: 3.3 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26//
27// $Id: G4FermiConfiguration.hh,v 1.4 2006/06/29 20:11:44 gunter Exp $
28// GEANT4 tag $Name: geant4-09-03-ref-09 $
29//
30// Hadronic Process: Nuclear De-excitations
31// by V. Lara (Nov 1998)
32
33#ifndef G4FermiConfiguration_h
34#define G4FermiConfiguration_h 1
35
36#include <deque>
37
38#include "globals.hh"
39#include "Randomize.hh"
40#include "G4VFermiFragment.hh"
41#include "G4ParticleMomentum.hh"
42#include "G4ParticleTable.hh"
43#include "G4IonTable.hh"
44#include "G4Fragment.hh"
45
46
47class G4FermiConfiguration 
48{
49public:
50  // Constructors
51  inline G4FermiConfiguration();
52  inline ~G4FermiConfiguration();
53  inline G4FermiConfiguration(const std::vector<const G4VFermiFragment*>&);
54  inline G4FermiConfiguration(const G4FermiConfiguration &);
55 
56  // Operators
57  inline const G4FermiConfiguration & operator=(const G4FermiConfiguration &);
58  inline G4bool operator==(const G4FermiConfiguration &) const;
59  inline G4bool operator!=(const G4FermiConfiguration &) const;
60 
61 
62  inline void SetConfiguration(const std::vector<const G4VFermiFragment*>&);
63
64  G4double DecayProbability(const G4int A, const G4double TotalE);
65
66  G4FragmentVector * GetFragments(const G4Fragment & theNucleus);
67 
68  inline G4int GetNumberOfFragments() const;
69
70private:
71
72  G4double CoulombBarrier(void);
73
74  G4ParticleMomentum IsotropicVector(const G4double Magnitude = 1.0);
75
76
77private:
78  // Kappa = V/V_0 it is used in calculation of Coulomb energy
79  static const G4double Kappa;
80 
81  // Nuclear radius r0 (is a model parameter)
82  static const G4double r0;
83 
84  std::vector<const G4VFermiFragment*> Configuration;
85
86  struct DeleteFragment
87  {
88    template<typename T>
89    void operator()(const T* ptr) const
90    {
91      delete ptr;
92    }
93  };
94
95};
96
97#include "G4FermiConfiguration.icc"
98
99#endif
100
101
Note: See TracBrowser for help on using the repository browser.