Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4NeutronElectronElModel.hh
이 파일의 문서화 페이지로 가기
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 //
27 // $Id: G4NeutronElectronElModel.hh 90228 2015-05-21 08:49:57Z gcosmo $
28 //
29 // Geant4 Header : G4NeutronElectronElModel
30 //
31 // 16.5.17 V.Grichine
32 //
33 // Modified:
34 //
35 // Class Description
36 // Default model for neutron-electron elastic scattering;
37 // Class Description - End
38 
39 #ifndef G4NeutronElectronElModel_h
40 #define G4NeutronElectronElModel_h 1
41 
42 #include "globals.hh"
43 #include "G4HadronElastic.hh"
44 #include "G4HadProjectile.hh"
45 #include "G4Nucleus.hh"
46 #include "G4NucleiProperties.hh"
47 
48 using namespace std;
49 using namespace CLHEP;
50 
52 class G4PhysicsLogVector;
53 class G4PhysicsTable;
54 
56 {
57 public:
58 
59  G4NeutronElectronElModel(const G4String& name = "nu-e-elastic");
60 
61  virtual ~G4NeutronElectronElModel();
62 
63  virtual G4bool IsApplicable(const G4HadProjectile & aTrack,
64  G4Nucleus & targetNucleus);
65 
66  virtual G4HadFinalState * ApplyYourself(const G4HadProjectile & aTrack,
67  G4Nucleus & targetNucleus);
68 
69  void Initialise();
70 
71  G4double XscIntegrand(G4double x);
72 
73  G4double CalculateAm( G4double momentum);
74 
75  inline G4double GetAm(){return fAm;};
76 
77 
78  // sample recoil electron energy in lab frame
79 
80  G4double SampleSin2HalfTheta(G4double Tkin);
81  G4double GetTransfer( G4int iTkin, G4int iTransfer, G4double position );
82 
83  void SetCutEnergy(G4double ec){fCutEnergy=ec;};
84  G4double GetCutEnergy(){return fCutEnergy;};
85 
86 
87 
88  virtual void ModelDescription(std::ostream&) const;
89 
90 private:
91 
92  G4double fAm, fM, fM2, fMv2, fme, fme2, fee, fee2;
93  G4double fMinEnergy, fMaxEnergy;
94  G4int fEnergyBin, fAngleBin;
96  G4double fCutEnergy; // minimal recoil electron energy detected
99 };
100 
102 //
103 // return Wentzel atom screening correction for neutron-electron scattering
104 
106 {
107  fee = (Tkin+fM)*fme/fM;
108  // G4cout<<"fee = "<<fee<<" MeV"<<G4endl;
109  fee2 = fee*fee;
110  G4double momentum = sqrt( fee2 - fme2 );
111  G4double k = momentum/CLHEP::hbarc;
112  G4double ch = 1.13;
113  G4double zn = 1.77*k*CLHEP::Bohr_radius;
114  G4double zn2 = zn*zn;
115  fAm = ch/zn2;
116 
117  return fAm;
118 }
119 
120 
121 #endif
Float_t x
Definition: compare.C:6
const XML_Char * name
Definition: expat.h:151
G4ParticleDefinition * theElectron
static constexpr double hbarc
G4PhysicsLogVector * fEnergyVector
double G4double
Definition: G4Types.hh:76
bool G4bool
Definition: G4Types.hh:79
G4double CalculateAm(G4double momentum)
int G4int
Definition: G4Types.hh:78
static constexpr double Bohr_radius