Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4FermiBreakUp.hh
Go to the documentation of this file.
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 // $Id: G4FermiBreakUp.hh 100379 2016-10-19 15:05:35Z gcosmo $
27 //
28 // Hadronic Process: Nuclear De-excitations
29 // by V. Lara (Nov 1998)
30 
31 #ifndef G4FermiBreakUp_h
32 #define G4FermiBreakUp_h 1
33 
34 #include "G4VFermiBreakUp.hh"
35 #include "globals.hh"
36 #include "G4FermiConfiguration.hh"
37 #include "G4VFermiFragment.hh"
39 #include <vector>
40 
42 class G4Pow;
43 
45 {
46 public:
47 
48  explicit G4FermiBreakUp();
49  virtual ~G4FermiBreakUp();
50 
51  virtual void Initialise() final;
52 
53  virtual G4bool IsApplicable(G4int Z, G4int A, G4double mass) const final;
54 
55  // new interface - vector of products is added to the provided vector
56  // primary fragment is deleted or is modified and added to the list
57  // of products
58  virtual void BreakFragment(G4FragmentVector*, G4Fragment* theNucleus) final;
59 
60 private:
61 
62  G4double CoulombBarrier(const std::vector<const G4VFermiFragment*>* v);
63 
64  G4double DecayProbability(G4int A, G4double TotalE, const G4FermiConfiguration*);
65 
66  const std::vector<const G4VFermiFragment*>*
67  SelectConfiguration(G4int Z, G4int A, G4double mass);
68 
69  G4FermiBreakUp(const G4FermiBreakUp &right) = delete;
70  const G4FermiBreakUp & operator=(const G4FermiBreakUp &right) = delete;
71  G4bool operator==(const G4FermiBreakUp &right) const = delete;
72  G4bool operator!=(const G4FermiBreakUp &right) const = delete;
73 
74  G4FermiFragmentsPool* thePool;
75 
76  std::vector<G4double> NormalizedWeights;
77 
78  G4double Coef;
79  G4double ConstCoeff;
80  size_t nmax;
81 
82  G4Pow* g4calc;
83 
84  const G4FermiPhaseSpaceDecay* thePhaseSpace;
85  std::vector<G4double> massRes;
86  std::vector<const G4VFermiFragment*> frag;
87 };
88 
89 
90 #endif
91 
92 
Definition: G4Pow.hh:56
int G4int
Definition: G4Types.hh:78
double A(double temperature)
bool G4bool
Definition: G4Types.hh:79
std::vector< G4Fragment * > G4FragmentVector
Definition: G4Fragment.hh:63
virtual ~G4FermiBreakUp()
virtual G4bool IsApplicable(G4int Z, G4int A, G4double mass) const final
tuple v
Definition: test.py:18
virtual void BreakFragment(G4FragmentVector *, G4Fragment *theNucleus) final
virtual void Initialise() final
double G4double
Definition: G4Types.hh:76