Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/Geant4/G4PreCompoundFragment.hh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 //  J. M. Quesada (August 2008).  
0028 //  Based  on previous work by V. Lara
0029 //
0030 // Modified:
0031 // 03.09.2008 by J. M. Quesada for external choice of inverse 
0032 //                    cross section option (default OPTxs=2)
0033 // 06.09.2008 by JMQ Also external choice has been added for
0034 //     superimposed Coulomb barrier (if useSICB=true, default false) 
0035 // 20.08.2010 V.Ivanchenko added int Z and A and cleanup; added 
0036 //                        G4ParticleDefinition to constructor
0037 
0038 #ifndef G4PreCompoundFragment_h
0039 #define G4PreCompoundFragment_h 1
0040 
0041 #include "G4VPreCompoundFragment.hh"
0042 
0043 class G4PreCompoundFragment : public G4VPreCompoundFragment
0044 {
0045 public:  
0046 
0047   G4PreCompoundFragment(const G4ParticleDefinition*,
0048             G4VCoulombBarrier * aCoulombBarrier);
0049   
0050   ~G4PreCompoundFragment() override = default;
0051       
0052   // ================================================
0053   // Methods for calculating the emission probability
0054   // ================================================
0055   
0056   // Calculates the total (integrated over kinetic energy) emission
0057   // probability of a fragment
0058   G4double CalcEmissionProbability(const G4Fragment& aFragment) override;
0059   
0060   G4double SampleKineticEnergy(const G4Fragment& aFragment) override;
0061 
0062   G4PreCompoundFragment(const G4PreCompoundFragment &right) = delete;
0063   const G4PreCompoundFragment& 
0064   operator= (const G4PreCompoundFragment &right) = delete;
0065   G4bool operator==(const G4PreCompoundFragment &right) const = delete;
0066   G4bool operator!=(const G4PreCompoundFragment &right) const = delete;
0067 
0068 protected:
0069 
0070   G4double CrossSection(G4double ekin) const;
0071 
0072   virtual G4double 
0073   ProbabilityDistributionFunction(G4double ekin, 
0074                   const G4Fragment & aFragment) = 0; 
0075 
0076 private:    
0077   // This method performs integration for probability function over 
0078   // fragment kinetic energy
0079   G4double IntegrateEmissionProbability(G4double low, G4double up, 
0080                     const G4Fragment & aFragment);  
0081 
0082   G4double GetOpt0(G4double ekin) const;
0083 
0084   G4int index;
0085 
0086   G4double muu;
0087   G4double probmax;
0088 };
0089 
0090 #endif