Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:58

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 // by V. Lara
0028 // 01.05.2008 J. M. Quesada . New methods for accessing to individual transition 
0029 //                 probabilities (landa+, landa-, landa0) from G4PreCompoundModel  
0030 // 20.08.2010 V.Ivanchenko move constructor and destructor to the source
0031 
0032 #ifndef G4PreCompoundTransitions_h
0033 #define G4PreCompoundTransitions_h 1
0034 
0035 // Compute transition probailities:
0036 // TransitionProb1 => probability of transition with  \Delta N = +2
0037 //                    number of excitons will be increased on 2
0038 // TransitionProb2 => probability of transition with  \Delta N = -2
0039 //                    number of excitons will be decreased on 2
0040 // TransitionProb3 => probability of transition with  \Delta N = 0
0041 //                    number of excitons will be the same
0042 
0043 #include "G4VPreCompoundTransitions.hh"
0044 #include "globals.hh"
0045 
0046 class G4ParticleDefinition;
0047 class G4Fragment;
0048 class G4NuclearLevelData;
0049 
0050 class G4PreCompoundTransitions : public G4VPreCompoundTransitions
0051 {
0052 public:
0053 
0054   G4PreCompoundTransitions();
0055 
0056   ~G4PreCompoundTransitions() override = default;
0057 
0058   G4double CalculateProbability(const G4Fragment & aFragment) override;
0059   
0060   virtual void PerformTransition(G4Fragment & aFragment) override;
0061   
0062   G4PreCompoundTransitions(const G4PreCompoundTransitions &) = delete;
0063   const G4PreCompoundTransitions& operator=
0064   (const G4PreCompoundTransitions &right) = delete;
0065   G4bool operator==(const G4PreCompoundTransitions &right) const = delete;
0066   G4bool operator!=(const G4PreCompoundTransitions &right) const = delete;
0067 
0068 private:
0069 
0070   const G4ParticleDefinition* proton;
0071   G4NuclearLevelData* fNuclData;
0072 
0073   G4double FermiEnergy;
0074   G4double r0;  // Nuclear radius
0075 };
0076 
0077 #endif