Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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$
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 
39 #ifndef G4EQUILIBRIUM_EVAPORATOR_HH
40 #define G4EQUILIBRIUM_EVAPORATOR_HH
41 
42 #include "G4CascadeColliderBase.hh"
43 #include "G4CollisionOutput.hh"
44 #include "G4Fissioner.hh"
45 #include "G4BigBanger.hh"
46 
47 class G4InuclParticle;
48 
50 public:
52  virtual ~G4EquilibriumEvaporator();
53 
55  G4CollisionOutput& output);
56 
57 private:
58  // Replace base class verision
59  virtual G4bool explosion(G4int a, G4int z, G4double e) const;
60 
61  // FIXME: Need to redeclare and call through base-class polymorphisms
62  virtual G4bool explosion(G4InuclNuclei* target) const {
63  return G4CascadeColliderBase::explosion(target);
64  }
65 
66  virtual G4bool explosion(G4Fragment* target) const {
67  return G4CascadeColliderBase::explosion(target);
68  }
69 
70  G4bool goodRemnant(G4int a, G4int z) const;
71  G4double getE0(G4int A) const;
72  G4double getPARLEVDEN(G4int A, G4int Z) const;
73  G4double getQF(G4double x, G4double x2, G4int a, G4int z, G4double e) const;
74  G4double getAF(G4double x, G4int a, G4int z, G4double e) const;
75 
76  // Buffer for parameter sets
77  std::pair<std::vector<G4double>, std::vector<G4double> > parms;
78  G4CollisionOutput fission_output;
79 
80  G4Fissioner theFissioner;
81  G4BigBanger theBigBanger;
82 };
83 
84 #endif /* G4EQUILIBRIUM_EVAPORATOR_HH */
85 
86