source: trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/include/G4PreCompoundNucleon.hh @ 1340

Last change on this file since 1340 was 1340, checked in by garnier, 14 years ago

update ti head

File size: 3.4 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26// $Id: G4PreCompoundNucleon.hh,v 1.7 2010/08/28 15:16:55 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-03-ref-09 $
28//
29// J. M. Quesada (August 2008). 
30// Based  on previous work by V. Lara
31//
32// Modified:
33// 20.08.2010 V.Ivanchenko added int Z and A and cleanup; added
34//                        G4ParticleDefinition to constructor
35
36
37#ifndef G4PreCompoundNucleon_h
38#define G4PreCompoundNucleon_h 1
39
40#include "G4PreCompoundFragment.hh"
41
42class G4PreCompoundNucleon : public G4PreCompoundFragment
43{
44public: 
45
46  G4PreCompoundNucleon(const G4ParticleDefinition*,
47                       G4VCoulombBarrier * aCoulombBarrier);
48 
49  virtual ~G4PreCompoundNucleon();
50   
51protected:
52
53  virtual G4double
54  ProbabilityDistributionFunction(G4double eKin,
55                                  const G4Fragment& aFragment);
56
57  virtual G4double CrossSection(G4double ekin) = 0; 
58
59  virtual G4double
60  GetRj(G4int NumberParticles, G4int NumberCharged) = 0; 
61
62  virtual G4double GetAlpha() = 0;
63
64  virtual G4double GetBeta() = 0;
65
66  inline G4double GetOpt0(G4double ekin);
67
68private:
69
70  // default constructor
71  G4PreCompoundNucleon();
72  // operators
73  G4PreCompoundNucleon(const G4PreCompoundNucleon &right);
74  const G4PreCompoundNucleon& 
75  operator= (const G4PreCompoundNucleon &right);
76  G4int operator==(const G4PreCompoundNucleon &right) const;
77  G4int operator!=(const G4PreCompoundNucleon &right) const;   
78
79  G4double fact;
80};
81
82// *********************** OPT=0 : Dostrovski's cross section  ***************
83inline G4double G4PreCompoundNucleon::GetOpt0(G4double K)
84{
85  G4double r0 = theParameters->Getr0()*ResidualA13();
86  // cross section is now given in mb (r0 is in mm) for the sake of consistency
87  //with the rest of the options
88  return 1.e+25*CLHEP::pi*r0*r0*ResidualA13()*GetAlpha()*(1.+GetBeta()/K);
89}
90
91#endif
Note: See TracBrowser for help on using the repository browser.