G4PreCompoundNucleon.hh

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).  
00029 // Based  on previous work by V. Lara
00030 //
00031 // Modified:
00032 // 20.08.2010 V.Ivanchenko added int Z and A and cleanup; added 
00033 //                        G4ParticleDefinition to constructor
00034 
00035 
00036 #ifndef G4PreCompoundNucleon_h
00037 #define G4PreCompoundNucleon_h 1
00038 
00039 #include "G4PreCompoundFragment.hh"
00040 
00041 class G4PreCompoundNucleon : public G4PreCompoundFragment
00042 {
00043 public:  
00044 
00045   G4PreCompoundNucleon(const G4ParticleDefinition*,
00046                        G4VCoulombBarrier * aCoulombBarrier);
00047   
00048   virtual ~G4PreCompoundNucleon();
00049     
00050 protected:
00051 
00052   virtual G4double 
00053   ProbabilityDistributionFunction(G4double eKin,
00054                                   const G4Fragment& aFragment);
00055 
00056   virtual G4double CrossSection(G4double ekin) = 0; 
00057 
00058   virtual G4double 
00059   GetRj(G4int NumberParticles, G4int NumberCharged) = 0; 
00060 
00061   virtual G4double GetAlpha() = 0;
00062 
00063   virtual G4double GetBeta() = 0;
00064 
00065   inline G4double GetOpt0(G4double ekin);
00066 
00067 private:
00068 
00069   // default constructor
00070   G4PreCompoundNucleon();
00071   // operators
00072   G4PreCompoundNucleon(const G4PreCompoundNucleon &right);
00073   const G4PreCompoundNucleon& 
00074   operator= (const G4PreCompoundNucleon &right);
00075   G4int operator==(const G4PreCompoundNucleon &right) const;
00076   G4int operator!=(const G4PreCompoundNucleon &right) const;    
00077 
00078   G4double fact;
00079 };
00080 
00081 // *********************** OPT=0 : Dostrovski's cross section  ***************
00082 inline G4double G4PreCompoundNucleon::GetOpt0(G4double K)
00083 {
00084   G4double r0 = theParameters->Getr0()*ResidualA13();
00085   // cross section is now given in mb (r0 is in mm) for the sake of consistency
00086   //with the rest of the options
00087   return 1.e+25*CLHEP::pi*r0*r0*ResidualA13()*GetAlpha()*(1.+GetBeta()/K);
00088 }
00089 
00090 #endif

Generated on Mon May 27 17:49:25 2013 for Geant4 by  doxygen 1.4.7