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 | // $Id: G4NeutronHPKallbachMannSyst.hh,v 1.8 2006/06/29 20:48:19 gunter Exp $ |
---|
28 | // GEANT4 tag $Name: $ |
---|
29 | // |
---|
30 | #ifndef G4NeutronHPKallbachMannSyst_h |
---|
31 | #define G4NeutronHPKallbachMannSyst_h 1 |
---|
32 | |
---|
33 | #include "globals.hh" |
---|
34 | |
---|
35 | class G4NeutronHPKallbachMannSyst |
---|
36 | { |
---|
37 | public: |
---|
38 | |
---|
39 | G4NeutronHPKallbachMannSyst(G4double aCompoundFraction, |
---|
40 | G4double anIncidentEnergy, G4double anIncidentMass, |
---|
41 | G4double aProductEnergy, G4double aProductMass, |
---|
42 | G4double aResidualMass, G4int aResidualA, G4int aResidualZ, |
---|
43 | G4double aTargetMass, G4int aTargetA, G4int aTargetZ) |
---|
44 | { |
---|
45 | theCompoundFraction = aCompoundFraction; |
---|
46 | theIncidentEnergy = anIncidentEnergy; |
---|
47 | theIncidentMass = anIncidentMass; |
---|
48 | theProductEnergy = aProductEnergy; |
---|
49 | theProductMass = aProductMass; |
---|
50 | theResidualMass = aResidualMass; |
---|
51 | theResidualA = aResidualA; |
---|
52 | theResidualZ = aResidualZ; |
---|
53 | theTargetMass = aTargetMass; |
---|
54 | theTargetA = aTargetA; |
---|
55 | theTargetZ = aTargetZ; |
---|
56 | } |
---|
57 | |
---|
58 | ~G4NeutronHPKallbachMannSyst() {}; |
---|
59 | |
---|
60 | G4double Sample(G4double anEnergy); |
---|
61 | |
---|
62 | G4double Kallbach(G4double cosTh, G4double anEnergy); |
---|
63 | |
---|
64 | G4double GetKallbachZero(G4double anEnergy); |
---|
65 | |
---|
66 | G4double A(G4double anEnergy); |
---|
67 | |
---|
68 | G4double SeparationEnergy(G4int Ac, G4int Nc, G4int AA, G4int ZA); |
---|
69 | |
---|
70 | private: |
---|
71 | |
---|
72 | G4double theCompoundFraction; |
---|
73 | G4double theIncidentEnergy; |
---|
74 | G4double theIncidentMass; |
---|
75 | G4double theProductEnergy; |
---|
76 | G4double theProductMass; |
---|
77 | G4double theResidualMass; |
---|
78 | G4double theTargetMass; |
---|
79 | G4int theResidualA; |
---|
80 | G4int theResidualZ; |
---|
81 | G4int theTargetA; |
---|
82 | G4int theTargetZ; |
---|
83 | }; |
---|
84 | |
---|
85 | #endif |
---|