Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:17

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 // 20100315  M. Kelsey -- Remove "using" directive and unnecessary #includes.
0028 // 20100413  M. Kelsey -- Pass G4CollisionOutput by ref to ::collide()
0029 // 20100517  M. Kelsey -- Inherit from common base class
0030 // 20100714  M. Kelsey -- Switch to new G4CascadeColliderBase class
0031 // 20100728  M. Kelsey -- Move G4FissionStore to data member and reuse
0032 // 20100914  M. Kelsey -- Migrate to integer A and Z
0033 // 20110801  M. Kelsey -- Pass C arrays to ::potentialMinimization()
0034 // 20130129  M. Kelsey -- Put buffer for output nuclei here for thread-safety
0035 // 20130620  Address Coverity complaint about missing copy actions
0036 // 20130622  Inherit from G4CascadeDeexciteBase, move to deExcite() interface
0037 //      with G4Fragment
0038 // 20130628  Drop local list of fragments; add directly to output
0039 
0040 #ifndef G4FISSIONER_HH
0041 #define G4FISSIONER_HH
0042 
0043 #include "G4CascadeDeexciteBase.hh"
0044 #include "G4FissionStore.hh"
0045 #include "G4InuclNuclei.hh"
0046 #include <vector>
0047 
0048 
0049 class G4Fissioner : public G4CascadeDeexciteBase {
0050 public:
0051   G4Fissioner() : G4CascadeDeexciteBase("G4Fissioner") {;}
0052   virtual ~G4Fissioner() {;}
0053 
0054   virtual void deExcite(const G4Fragment& target, G4CollisionOutput& output);
0055 
0056 private: 
0057   G4FissionStore fissionStore;
0058 
0059   G4double getC2(G4int A1, 
0060          G4int A2, 
0061          G4double X3, 
0062          G4double X4, 
0063          G4double R12) const; 
0064 
0065   G4double getZopt(G4int A1, 
0066            G4int A2, 
0067            G4int ZT, 
0068                    G4double X3, 
0069            G4double X4, 
0070            G4double R12) const;
0071             
0072   void potentialMinimization(G4double& VP, 
0073                  G4double (&ED)[2], 
0074                  G4double& VC,
0075                  G4int AF, 
0076                  G4int AS, 
0077                  G4int ZF, 
0078                  G4int ZS,
0079                  G4double AL1[2], 
0080                  G4double BET1[2], 
0081                  G4double& R12) const; 
0082 
0083 private:
0084   // Copying of modules is forbidden
0085   G4Fissioner(const G4Fissioner&);
0086   G4Fissioner& operator=(const G4Fissioner&);
0087 };        
0088 
0089 #endif /* G4FISSIONER_HH */