Geant4 Cross Reference |
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 // GEANT4 Class file 28 // 29 // 30 // File name: G4LightIonQMDGroundStateNucleus.hh 31 // 32 // Author: Koi, Tatsumi (tkoi@slac.stanford.edu) 33 // 34 // Creation date: 11 May 2007 35 // ------------------------------------------------------------------- 36 // 37 // 230308 "samplingPosition_cluster" function added by S-H. Sato and A. Haga 38 39 #ifndef G4LightIonQMDGroundStateNucleus_hh 40 #define G4LightIonQMDGroundStateNucleus_hh 41 42 #include "G4LightIonQMDNucleus.hh" 43 #include "G4LightIonQMDMeanField.hh" 44 45 #include "G4LightIonQMDParameters.hh" 46 47 class G4LightIonQMDGroundStateNucleus : public G4LightIonQMDNucleus 48 { 49 public: 50 G4LightIonQMDGroundStateNucleus(); 51 G4LightIonQMDGroundStateNucleus( G4int z , G4int a ); 52 ~G4LightIonQMDGroundStateNucleus() 53 { 54 rho_l.clear(); 55 d_pot.clear(); 56 }; 57 58 59 60 private: 61 62 void packNucleons(); 63 64 void killCMMotionAndAngularM(); 65 66 G4int maxTrial; 67 G4bool samplingPosition( G4int ); 68 G4bool samplingPosition_cluster( G4int ); // Cluster 69 G4bool samplingMomentum( G4int ); 70 71 G4double r00 , r01 , saa , rada , radb; 72 73 G4double dsam, ddif, dsam2, ddif2; 74 75 G4double cdp; 76 G4double c0p,clp,c3p,csp; 77 78 G4double hbc; 79 G4double gamm; 80 G4double cpw; 81 G4double cph; 82 G4double epsx; 83 G4double cpc; 84 85 G4double rmax,rt00,radm; 86 87 std::vector< G4double > phase_g; 88 89 std::vector< G4double > rho_l; 90 std::vector< G4double > d_pot; 91 G4double ebini; 92 G4double edepth; 93 G4double epse; 94 95 96 G4LightIonQMDMeanField* meanfield; 97 }; 98 99 #endif 100