00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // $Id$ 00027 // 00028 // 20100315 M. Kelsey -- Remove "using" directive and unnecessary #includes. 00029 // 20100413 M. Kelsey -- Pass G4CollisionOutput by ref to ::collide() 00030 // 20100517 M. Kelsey -- Inherit from common base class 00031 // 20100714 M. Kelsey -- Switch to new G4CascadeColliderBase class 00032 // 20100728 M. Kelsey -- Move G4FissionStore to data member and reuse 00033 // 20100914 M. Kelsey -- Migrate to integer A and Z 00034 // 20110801 M. Kelsey -- Pass C arrays to ::potentialMinimization() 00035 00036 #ifndef G4FISSIONER_HH 00037 #define G4FISSIONER_HH 00038 00039 #include "G4CascadeColliderBase.hh" 00040 #include "G4FissionStore.hh" 00041 #include <vector> 00042 00043 class G4CollisionOutput; 00044 class G4InuclParticle; 00045 00046 00047 class G4Fissioner : public G4CascadeColliderBase { 00048 public: 00049 G4Fissioner(); 00050 virtual ~G4Fissioner() {} 00051 00052 void collide(G4InuclParticle* bullet, G4InuclParticle* target, 00053 G4CollisionOutput& output); 00054 00055 private: 00056 G4FissionStore fissionStore; 00057 00058 G4double getC2(G4int A1, 00059 G4int A2, 00060 G4double X3, 00061 G4double X4, 00062 G4double R12) const; 00063 00064 G4double getZopt(G4int A1, 00065 G4int A2, 00066 G4int ZT, 00067 G4double X3, 00068 G4double X4, 00069 G4double R12) const; 00070 00071 void potentialMinimization(G4double& VP, 00072 G4double (&ED)[2], 00073 G4double& VC, 00074 G4int AF, 00075 G4int AS, 00076 G4int ZF, 00077 G4int ZS, 00078 G4double AL1[2], 00079 G4double BET1[2], 00080 G4double& R12) const; 00081 }; 00082 00083 #endif /* G4FISSIONER_HH */