G4PreCompoundEmission.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 // Hadronic Process: Nuclear Preequilibrium
00029 // by V. Lara 
00030 //
00031 // Modif (03 September 2008) by J. M. Quesada for external choice of inverse 
00032 // cross section option
00033 // JMQ (06 September 2008) Also external choice has been added for:
00034 //                      - superimposed Coulomb barrier (if useSICB=true) 
00035 // 20.08.2010 V.Ivanchenko added G4Pow and G4PreCompoundParameters pointers
00036 //                         use int Z and A and cleanup; 
00037 //                         inline methods moved from icc file to hh
00038 
00039 #ifndef G4PreCompoundEmission_h
00040 #define G4PreCompoundEmission_h 1
00041 
00042 #include "G4VPreCompoundFragment.hh"
00043 #include "G4ReactionProduct.hh"
00044 #include "G4Fragment.hh"
00045 #include "G4PreCompoundFragmentVector.hh"
00046 
00047 class G4VPreCompoundEmissionFactory;
00048 
00049 class G4Pow;
00050 class G4PreCompoundParameters;
00051 
00052 class G4PreCompoundEmission
00053 {
00054 public:
00055 
00056   G4PreCompoundEmission();
00057 
00058   ~G4PreCompoundEmission();
00059 
00060   void SetDefaultModel();
00061 
00062   void SetHETCModel();
00063 
00064   G4ReactionProduct * PerformEmission(G4Fragment & aFragment);
00065 
00066   inline G4double GetTotalProbability(const G4Fragment & aFragment);
00067 
00068   inline void Initialize(const G4Fragment & aFragment);
00069 
00070   inline void SetOPTxs(G4int);
00071 
00072   inline void UseSICB(G4bool);
00073 
00074 private:
00075 
00076   void AngularDistribution(G4VPreCompoundFragment * theFragment,
00077                            const G4Fragment& aFragment,
00078                            G4double KineticEnergy);
00079                 
00080   G4double rho(G4int p, G4int h, G4double gg, 
00081                G4double E, G4double Ef) const;
00082 
00083   G4PreCompoundEmission(const G4PreCompoundEmission &right);
00084   const G4PreCompoundEmission& operator=(const G4PreCompoundEmission &right);
00085   G4bool operator==(const G4PreCompoundEmission &right) const;
00086   G4bool operator!=(const G4PreCompoundEmission &right) const;
00087 
00088   //==============
00089   // Data Members
00090   //==============
00091 
00092   G4Pow* g4pow;
00093   G4PreCompoundParameters* theParameters;
00094 
00095   // A vector with the allowed emission fragments 
00096   G4PreCompoundFragmentVector * theFragmentsVector;
00097   G4VPreCompoundEmissionFactory * theFragmentsFactory;
00098 
00099   // Momentum of emitted fragment
00100   G4ThreeVector theFinalMomentum;
00101 };
00102 
00103 inline G4double 
00104 G4PreCompoundEmission::GetTotalProbability(const G4Fragment& aFragment) 
00105 {
00106   return theFragmentsVector->CalculateProbabilities(aFragment);
00107 }
00108 
00109 inline void 
00110 G4PreCompoundEmission::Initialize(const G4Fragment& aFragment) 
00111 {
00112   theFragmentsVector->Initialize(aFragment);
00113 }
00114 
00115 inline void G4PreCompoundEmission::SetOPTxs(G4int opt)
00116 {
00117   theFragmentsVector->SetOPTxs(opt);
00118 }
00119 
00120 inline void G4PreCompoundEmission::UseSICB(G4bool use)
00121 {
00122   theFragmentsVector->UseSICB(use);
00123 }
00124 
00125 #endif

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