[819] | 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 | // ******************************************************************** |
---|
[1340] | 25 | // $Id: G4EquilibriumEvaporator.hh,v 1.15 2010/09/26 04:06:03 mkelsey Exp $ |
---|
| 26 | // Geant4 tag: $Name: hadr-casc-V09-03-85 $ |
---|
[819] | 27 | // |
---|
[1315] | 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(). |
---|
[1340] | 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 |
---|
[1315] | 35 | |
---|
[819] | 36 | #ifndef G4EQUILIBRIUM_EVAPORATOR_HH |
---|
| 37 | #define G4EQUILIBRIUM_EVAPORATOR_HH |
---|
| 38 | |
---|
[1340] | 39 | #include "G4CascadeColliderBase.hh" |
---|
| 40 | #include "G4Fissioner.hh" |
---|
| 41 | #include "G4BigBanger.hh" |
---|
[819] | 42 | |
---|
[1315] | 43 | class G4CollisionOutput; |
---|
| 44 | class G4InuclParticle; |
---|
[819] | 45 | |
---|
[1340] | 46 | class G4EquilibriumEvaporator : public G4CascadeColliderBase { |
---|
[819] | 47 | public: |
---|
| 48 | G4EquilibriumEvaporator(); |
---|
[1315] | 49 | virtual ~G4EquilibriumEvaporator(); |
---|
[819] | 50 | |
---|
[1315] | 51 | void collide(G4InuclParticle* bullet, G4InuclParticle* target, |
---|
| 52 | G4CollisionOutput& output); |
---|
[819] | 53 | |
---|
[1315] | 54 | private: |
---|
| 55 | // Replace base class verision |
---|
[1340] | 56 | virtual G4bool explosion(G4int a, G4int z, G4double e) const; |
---|
[819] | 57 | |
---|
[1340] | 58 | // FIXME: Need to redeclare and call through base-class polymorphisms |
---|
| 59 | virtual G4bool explosion(G4InuclNuclei* target) const { |
---|
| 60 | return G4CascadeColliderBase::explosion(target); |
---|
| 61 | } |
---|
[819] | 62 | |
---|
[1340] | 63 | virtual G4bool explosion(G4Fragment* target) const { |
---|
| 64 | return G4CascadeColliderBase::explosion(target); |
---|
| 65 | } |
---|
[819] | 66 | |
---|
[1340] | 67 | G4bool goodRemnant(G4int a, G4int z) const; |
---|
| 68 | G4double getE0(G4int A) const; |
---|
| 69 | G4double getPARLEVDEN(G4int A, G4int Z) const; |
---|
| 70 | G4double getQF(G4double x, G4double x2, G4int a, G4int z, G4double e) const; |
---|
| 71 | G4double getAF(G4double x, G4int a, G4int z, G4double e) const; |
---|
[819] | 72 | |
---|
[1340] | 73 | G4Fissioner theFissioner; |
---|
| 74 | G4BigBanger theBigBanger; |
---|
[819] | 75 | }; |
---|
| 76 | |
---|
[1315] | 77 | #endif /* G4EQUILIBRIUM_EVAPORATOR_HH */ |
---|
[819] | 78 | |
---|
| 79 | |
---|