Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4EquilibriumEvaporator.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// 20100413 M. Kelsey -- Pass G4CollisionOutput by ref to ::collide()
28// 20100517 M. Kelsey -- Inherit from common base class, make other colliders
29// simple data members. Rename timeToBigBang() to override
30// base explosion().
31// 20100714 M. Kelsey -- Switch to new G4CascadeColliderBase class
32// 20100923 M. Kelsey -- Migrate to integer A and Z
33// 20100925 M. Kelsey -- Remove no longer necessary explosion() interface
34// 20110801 M. Kelsey -- Move "parms" buffer to data member, allocate in
35// constructor.
36// 20110809 M. Kelsey -- Move "foutput" buffer to data member
37// 20130129 M. Kelsey -- Move QF interpolation to global statics for
38// multi-threaded shared memory.
39// 20130620 Address Coverity complaint about missing copy actions
40// 20130621 Follow base class change to explosion() reference interface
41// 20130622 Inherit from G4CascadeDeexciteBase, move to deExcite() interface
42// with G4Fragment
43// 20130808 Use new object-version of paraMaker, for thread safety
44// 20131001 Move QFinterpolation to data member to be thread local (not shared)
45
46#ifndef G4EQUILIBRIUM_EVAPORATOR_HH
47#define G4EQUILIBRIUM_EVAPORATOR_HH
48
51#include "G4CollisionOutput.hh"
52#include "G4Fissioner.hh"
53#include "G4BigBanger.hh"
55
56
58public:
61
62 virtual void setVerboseLevel(G4int verbose);
63
64 virtual void deExcite(const G4Fragment& target, G4CollisionOutput& output);
65
66private:
67 // Replace base class verision with more complex conditions
68 virtual G4bool explosion(G4int a, G4int z, G4double e) const;
69
70 // NOTE: Must redeclare base-class polymorphisms
71 virtual G4bool explosion(const G4Fragment& target) const {
73 }
74
75 G4bool goodRemnant(G4int a, G4int z) const;
76
78 G4double getE0(G4int A) const;
79 G4double getPARLEVDEN(G4int A, G4int Z) const;
80 G4double getQF(G4double x, G4double x2, G4int a, G4int z, G4double e) const;
81 G4double getAF(G4double x, G4int a, G4int z, G4double e) const;
82
83 // Buffer for parameter sets
84 std::pair<std::vector<G4double>, std::vector<G4double> > parms;
85 G4CollisionOutput fission_output;
86
87 // Interpolation object for QF
89
90 G4Fissioner theFissioner;
91 G4BigBanger theBigBanger;
92
93private:
94 // Copying of modules is forbidden
97};
98
99#endif /* G4EQUILIBRIUM_EVAPORATOR_HH */
100
101
double G4double
Definition: G4Types.hh:83
bool G4bool
Definition: G4Types.hh:86
int G4int
Definition: G4Types.hh:85
virtual G4bool explosion(const G4Fragment &target) const
virtual void setVerboseLevel(G4int verbose)
virtual void deExcite(const G4Fragment &target, G4CollisionOutput &output)