G4VPreCompoundFragment.cc

Go to the documentation of this file.
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 // J. M. Quesada (August 2008).  Based  on previous work by V. Lara
00029 //
00030 // Modified:
00031 // 20.08.2010 V.Ivanchenko added G4Pow and G4PreCompoundParameters pointers
00032 //                         use int Z and A and cleanup
00033 
00034 #include "G4VPreCompoundFragment.hh"
00035 #include "G4SystemOfUnits.hh"
00036 #include "G4PreCompoundParameters.hh"
00037 #include "G4NucleiProperties.hh"
00038 
00039 G4VPreCompoundFragment::G4VPreCompoundFragment(
00040   const G4ParticleDefinition* part, G4VCoulombBarrier* aCoulombBarrier)
00041   : particle(part), theCoulombBarrierPtr(aCoulombBarrier),
00042     theRestNucleusA(0),theRestNucleusZ(0),theBindingEnergy(0.0), 
00043     theMaximalKineticEnergy(-MeV),theRestNucleusMass(0.0),
00044     theReducedMass(0.0),theMomentum(0.,0.,0.,0.),
00045     theEmissionProbability(0.0),theCoulombBarrier(0.0),
00046     OPTxs(3),useSICB(false)
00047 {
00048   theA = particle->GetBaryonNumber();
00049   theZ = G4int(particle->GetPDGCharge()/eplus + 0.1);
00050   theMass = particle->GetPDGMass();
00051   theParameters = G4PreCompoundParameters::GetAddress();
00052   g4pow = G4Pow::GetInstance();
00053   theRestNucleusA13 = 0;
00054 }
00055 
00056 G4VPreCompoundFragment::~G4VPreCompoundFragment()
00057 {}
00058 
00059 std::ostream& 
00060 operator << (std::ostream &out, const G4VPreCompoundFragment &theFragment)
00061 {
00062   out << &theFragment;
00063   return out; 
00064 }
00065 
00066 std::ostream& 
00067 operator << (std::ostream &out, const G4VPreCompoundFragment *theFragment)
00068 {
00069   out 
00070     << "PreCompoundModel Emitted Fragment: Z= " << theFragment->GetZ() 
00071     << " A= " << theFragment->GetA()
00072     << " Mass(GeV)= " << theFragment->GetNuclearMass()/CLHEP::GeV;
00073   return out;
00074 }
00075 
00076 void 
00077 G4VPreCompoundFragment::Initialize(const G4Fragment & aFragment)
00078 {
00079   theRestNucleusA = aFragment.GetA_asInt() - theA;
00080   theRestNucleusZ = aFragment.GetZ_asInt() - theZ;
00081 
00082   if ((theRestNucleusA < theRestNucleusZ) ||
00083       (theRestNucleusA < theA) ||
00084       (theRestNucleusZ < theZ)) 
00085     {
00086       // In order to be sure that emission probability will be 0.
00087       theMaximalKineticEnergy = 0.0;
00088       return;
00089     }
00090 
00091   theRestNucleusA13 = g4pow->Z13(theRestNucleusA);
00092     
00093   // Calculate Coulomb barrier
00094   theCoulombBarrier = theCoulombBarrierPtr->
00095     GetCoulombBarrier(theRestNucleusA,theRestNucleusZ,
00096                       aFragment.GetExcitationEnergy());
00097 
00098   // Calculate masses
00099   theRestNucleusMass = 
00100     G4NucleiProperties::GetNuclearMass(theRestNucleusA, theRestNucleusZ);
00101   theReducedMass = theRestNucleusMass*theMass/(theRestNucleusMass + theMass);
00102 
00103   // Compute Binding Energies for fragments 
00104   // needed to separate a fragment from the nucleus
00105   theBindingEnergy = 
00106     theRestNucleusMass + theMass - aFragment.GetGroundStateMass();
00107     
00108   // Compute Maximal Kinetic Energy which can be carried by fragments 
00109   // after separation - the true assimptotic value
00110   G4double Ecm  = aFragment.GetMomentum().m();
00111   theMaximalKineticEnergy = 
00112     ((Ecm-theRestNucleusMass)*(Ecm+theRestNucleusMass) + theMass*theMass)/(2.0*Ecm)-theMass;
00113 }

Generated on Mon May 27 17:50:19 2013 for Geant4 by  doxygen 1.4.7