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 | // $Id: G4Fissioner.hh,v 1.12 2010/05/21 17:56:34 mkelsey Exp $ |
---|
26 | // GEANT4 tag: $Name: geant4-09-04-beta-cand-01 $ |
---|
27 | // |
---|
28 | // 20100315 M. Kelsey -- Remove "using" directive and unnecessary #includes. |
---|
29 | // 20100413 M. Kelsey -- Pass G4CollisionOutput by ref to ::collide() |
---|
30 | // 20100517 M. Kelsey -- Inherit from common base class |
---|
31 | |
---|
32 | #ifndef G4FISSIONER_HH |
---|
33 | #define G4FISSIONER_HH |
---|
34 | |
---|
35 | #include "G4VCascadeCollider.hh" |
---|
36 | #include <vector> |
---|
37 | |
---|
38 | class G4CollisionOutput; |
---|
39 | class G4InuclParticle; |
---|
40 | |
---|
41 | |
---|
42 | class G4Fissioner : public G4VCascadeCollider { |
---|
43 | public: |
---|
44 | G4Fissioner(); |
---|
45 | virtual ~G4Fissioner() {} |
---|
46 | |
---|
47 | void collide(G4InuclParticle* bullet, G4InuclParticle* target, |
---|
48 | G4CollisionOutput& output); |
---|
49 | |
---|
50 | private: |
---|
51 | G4double getC2(G4double A1, |
---|
52 | G4double A2, |
---|
53 | G4double X3, |
---|
54 | G4double X4, |
---|
55 | G4double R12) const; |
---|
56 | |
---|
57 | G4double getZopt(G4double A1, |
---|
58 | G4double A2, |
---|
59 | G4double ZT, |
---|
60 | G4double X3, |
---|
61 | G4double X4, |
---|
62 | G4double R12) const; |
---|
63 | |
---|
64 | void potentialMinimization(G4double& VP, |
---|
65 | std::vector<G4double>& ED, |
---|
66 | G4double& VC, |
---|
67 | G4double AF, |
---|
68 | G4double AS, |
---|
69 | G4double ZF, |
---|
70 | G4double ZS, |
---|
71 | std::vector<G4double>& AL1, |
---|
72 | std::vector<G4double>& BET1, |
---|
73 | G4double& R12) const; |
---|
74 | }; |
---|
75 | |
---|
76 | #endif /* G4FISSIONER_HH */ |
---|