Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4Fissioner.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: G4Fissioner.hh 71954 2013-06-29 04:40:40Z mkelsey $
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 // 20100714 M. Kelsey -- Switch to new G4CascadeColliderBase class
32 // 20100728 M. Kelsey -- Move G4FissionStore to data member and reuse
33 // 20100914 M. Kelsey -- Migrate to integer A and Z
34 // 20110801 M. Kelsey -- Pass C arrays to ::potentialMinimization()
35 // 20130129 M. Kelsey -- Put buffer for output nuclei here for thread-safety
36 // 20130620 Address Coverity complaint about missing copy actions
37 // 20130622 Inherit from G4CascadeDeexciteBase, move to deExcite() interface
38 // with G4Fragment
39 // 20130628 Drop local list of fragments; add directly to output
40 
41 #ifndef G4FISSIONER_HH
42 #define G4FISSIONER_HH
43 
44 #include "G4CascadeDeexciteBase.hh"
45 #include "G4FissionStore.hh"
46 #include "G4InuclNuclei.hh"
47 #include <vector>
48 
49 
51 public:
52  G4Fissioner() : G4CascadeDeexciteBase("G4Fissioner") {;}
53  virtual ~G4Fissioner() {;}
54 
55  virtual void deExcite(const G4Fragment& target, G4CollisionOutput& output);
56 
57 private:
58  G4FissionStore fissionStore;
59 
60  G4double getC2(G4int A1,
61  G4int A2,
62  G4double X3,
63  G4double X4,
64  G4double R12) const;
65 
66  G4double getZopt(G4int A1,
67  G4int A2,
68  G4int ZT,
69  G4double X3,
70  G4double X4,
71  G4double R12) const;
72 
73  void potentialMinimization(G4double& VP,
74  G4double (&ED)[2],
75  G4double& VC,
76  G4int AF,
77  G4int AS,
78  G4int ZF,
79  G4int ZS,
80  G4double AL1[2],
81  G4double BET1[2],
82  G4double& R12) const;
83 
84 private:
85  // Copying of modules is forbidden
86  G4Fissioner(const G4Fissioner&);
87  G4Fissioner& operator=(const G4Fissioner&);
88 };
89 
90 #endif /* G4FISSIONER_HH */
virtual ~G4Fissioner()
Definition: G4Fissioner.hh:53
const XML_Char * target
int G4int
Definition: G4Types.hh:78
double G4double
Definition: G4Types.hh:76
virtual void deExcite(const G4Fragment &target, G4CollisionOutput &output)
Definition: G4Fissioner.cc:62