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