Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4FermiBreakUpAN.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//
27// G4FermiBreakUpAN is an alternative realisation of Fermi Break Up
28// de-excitation by A. Novikov, Yandex and MIPT (January 2025)
29// under supervision of Aleksandr Svetlichnyi, INR RAS and MIPT
30//
31// The model originally developed in J.P. Bondorf, A.S. Botvina, A.S. Iljinov,
32// I.N. Mishustin, and K. Sneppen, "Statistical multifragmentation of nuclei."
33// Physics Reports, 257(3):133–221, Jun 1995.
34// https://doi.org/10.1016/0370-1573(94)00097-M, doi:10.1016/0370-1573(94)00097-m.
35//
36
37#ifndef G4FERMIBREAKUPAN_HH
38#define G4FERMIBREAKUPAN_HH
39
40#include "G4FermiDataTypes.hh"
41#include "G4FermiParticle.hh"
42#include "G4FermiSplitter.hh"
43#include "G4VFermiBreakUp.hh"
44#include "globals.hh"
45
46#include <memory>
47
49{
50 private:
51 class PossibleSplits
52 {
53 private:
54 using NucleiSplits = std::vector<G4FermiFragmentVector>;
55
56 public:
57 PossibleSplits() = default;
58 PossibleSplits& operator=(PossibleSplits&&) noexcept = default;
59
60 PossibleSplits(const G4FermiAtomicMass maxAtomicMass);
61
62 const NucleiSplits& GetSplits(const G4FermiAtomicMass atomicMass,
63 const G4FermiChargeNumber chargeNumber) const;
64
65 void InsertSplits(const G4FermiAtomicMass atomicMass,
66 const G4FermiChargeNumber chargeNumber,
67 NucleiSplits&& splits);
68
69 private:
70 std::vector<NucleiSplits> splits_;
71 };
72
73 public:
74 explicit G4FermiBreakUpAN(G4int verbosity = 0);
75 ~G4FermiBreakUpAN() override = default;
76
77 void Initialise() override;
78
79 // check if the Fermi Break Up model can be used
80 G4bool IsApplicable(G4int Z, G4int A, G4double eexc) const override;
81
82 // vector of products is added to the provided vector
83 // if no decay channel is found out for the primary fragment
84 // then it is added to the results vector
85 // if primary decays then it is deleted
86 void BreakFragment(G4FragmentVector* results, G4Fragment* theNucleus) override;
87
88 std::vector<G4FermiParticle> BreakItUp(const G4FermiParticle& nucleus) const;
89
90 private:
91 std::vector<G4FermiParticle> SplitToParticles(const G4FermiParticle& sourceParticle,
92 const G4FermiFragmentVector& split) const;
93
94 // improve performance, reusing allocated memory
95 mutable std::vector<G4double> weights_;
96 PossibleSplits splits_;
97
98 G4int secID_;
99 G4int verbosity_ = 0;
100};
101
102#endif // G4FERMIBREAKUP_HH
std::vector< G4Fragment * > G4FragmentVector
Definition G4Fragment.hh:65
double G4double
Definition G4Types.hh:83
bool G4bool
Definition G4Types.hh:86
int G4int
Definition G4Types.hh:85
std::vector< const G4VFermiFragmentAN * > G4FermiFragmentVector
const G4double A[17]
void BreakFragment(G4FragmentVector *results, G4Fragment *theNucleus) override
~G4FermiBreakUpAN() override=default
G4bool IsApplicable(G4int Z, G4int A, G4double eexc) const override
G4FermiBreakUpAN(G4int verbosity=0)
void Initialise() override
std::vector< G4FermiParticle > BreakItUp(const G4FermiParticle &nucleus) const
const G4VFermiBreakUp & operator=(const G4VFermiBreakUp &right)=delete