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 // by V. Lara 00029 // 00030 // Modified: 00031 // J. M. Quesada (July 08) cleanup 00032 // 20.08.2010 V.Ivanchenko added int Z and A and cleanup; added 00033 // G4ParticleDefinition to constructor, 00034 // moved constructor and destructor to source 00035 00036 #ifndef G4PreCompoundProton_h 00037 #define G4PreCompoundProton_h 1 00038 00039 #include "G4PreCompoundNucleon.hh" 00040 #include "G4ProtonCoulombBarrier.hh" 00041 00042 class G4PreCompoundProton : public G4PreCompoundNucleon 00043 { 00044 public: 00045 00046 G4PreCompoundProton(); 00047 00048 virtual ~G4PreCompoundProton(); 00049 00050 protected: 00051 00052 virtual G4double GetRj(G4int NumberParticles, G4int NumberCharged); 00053 00054 virtual G4double CrossSection(G4double ekin) ; 00055 00056 virtual G4double GetAlpha(); 00057 00058 virtual G4double GetBeta(); 00059 00060 G4double GetOpt1(G4double K); 00061 00062 G4double GetOpt2(G4double K); 00063 00064 G4double GetOpt3(G4double K); 00065 00066 private: 00067 00068 // operators 00069 G4PreCompoundProton(const G4PreCompoundProton &right); 00070 const G4PreCompoundProton& 00071 operator= (const G4PreCompoundProton &right); 00072 G4int operator==(const G4PreCompoundProton &right) const; 00073 G4int operator!=(const G4PreCompoundProton &right) const; 00074 00075 G4ProtonCoulombBarrier theProtonCoulombBarrier; 00076 G4double ResidualAthrd; 00077 G4double FragmentAthrd; 00078 G4int FragmentA; 00079 G4int ResidualA; 00080 G4int ResidualZ; 00081 G4int theA; 00082 G4int theZ; 00083 }; 00084 #endif 00085