Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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$
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
36#ifndef G4FISSIONER_HH
37#define G4FISSIONER_HH
38
40#include "G4FissionStore.hh"
41#include <vector>
42
44class G4InuclParticle;
45
46
48public:
50 virtual ~G4Fissioner() {}
51
52 void collide(G4InuclParticle* bullet, G4InuclParticle* target,
53 G4CollisionOutput& output);
54
55private:
56 G4FissionStore fissionStore;
57
58 G4double getC2(G4int A1,
59 G4int A2,
60 G4double X3,
61 G4double X4,
62 G4double R12) const;
63
64 G4double getZopt(G4int A1,
65 G4int A2,
66 G4int ZT,
67 G4double X3,
68 G4double X4,
69 G4double R12) const;
70
71 void potentialMinimization(G4double& VP,
72 G4double (&ED)[2],
73 G4double& VC,
74 G4int AF,
75 G4int AS,
76 G4int ZF,
77 G4int ZS,
78 G4double AL1[2],
79 G4double BET1[2],
80 G4double& R12) const;
81};
82
83#endif /* G4FISSIONER_HH */
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66
virtual ~G4Fissioner()
Definition: G4Fissioner.hh:50
void collide(G4InuclParticle *bullet, G4InuclParticle *target, G4CollisionOutput &output)
Definition: G4Fissioner.cc:60