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 // ------------------------------------------------------------------- 00027 // GEANT4 Class file 00028 // 00029 // 00030 // File name: G4QMDNucleus.hh 00031 // 00032 // Author: Koi, Tatsumi (tkoi@slac.stanford.edu) 00033 // 00034 // Creation date: 3 April 2007 00035 // ------------------------------------------------------------------- 00036 00037 #ifndef G4QMDNucleus_hh 00038 #define G4QMDNucleus_hh 00039 00040 #include "G4QMDSystem.hh" 00041 #include "G4QMDParameters.hh" 00042 00043 class G4QMDNucleus : public G4QMDSystem 00044 { 00045 public: 00046 G4QMDNucleus(); 00047 ~G4QMDNucleus(); 00048 00049 G4LorentzVector Get4Momentum(); 00050 00051 // Number of Nucleons (Proton or Neutron) 00052 G4int GetMassNumber(); 00053 00054 // Number of Protons 00055 G4int GetAtomicNumber(); 00056 00057 void CalEnergyAndAngularMomentumInCM(); 00058 00059 // rest mass from G4NucleiPropertiesTable 00060 G4double GetNuclearMass(); 00061 00062 void SetTotalPotential( G4double x ){ potentialEnergy = x; }; 00063 G4double GetExcitationEnergy(){ return excitationEnergy; }; 00064 00065 G4int GetAngularMomentum(){ return jj; }; 00066 00067 private: 00068 00069 G4double hbc; 00070 00071 std::vector < G4ThreeVector > rcm, pcm; 00072 std::vector < G4double > es; 00073 G4int jj; 00074 00075 G4double potentialEnergy; 00076 G4double excitationEnergy; 00077 G4double bindingEnergy; 00078 00079 G4double kineticEnergyPerNucleon; 00080 //G4double bindingEnergyPerNucleon; 00081 //G4double potentialEnergyPerNucleon; 00082 }; 00083 00084 #endif