Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4NeutronElectronElXsc.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 // Neutron-electron elastic cross section base on the integration of
27 // the Rosenbluth differential xsc
28 //
29 // 16.05.17 V. Grichine
30 //
31 //
32 
33 #ifndef G4NeutronElectronElXsc_h
34 #define G4NeutronElectronElXsc_h
35 
36 
37 #include "globals.hh"
39 #include "G4DynamicParticle.hh"
40 
41 using namespace std;
42 using namespace CLHEP;
43 
44 // class G4ParticleDefinition;
45 class G4PhysicsLogVector;
46 class G4PhysicsTable;
47 
49 {
50 public:
51 
54 
55  void Initialise();
56 
57  virtual
58  G4bool IsElementApplicable(const G4DynamicParticle*, G4int Z, const G4Material*);
59 
60 
61  virtual
62  G4double GetElementCrossSection(const G4DynamicParticle*,
63  G4int Z, const G4Material*);
64 
65  G4double GetRosenbluthXsc(const G4DynamicParticle*,
66  G4int Z, const G4Material*);
67 
68  G4double XscIntegrand(G4double x);
69 
70  G4double GetElementNonRelXsc(const G4DynamicParticle*,
71  G4int Z, const G4Material*);
72 
73  G4double CalculateAm( G4double momentum);
74 
75  inline G4double GetAm(){return fAm;};
76 
77  void SetCutEnergy(G4double ec){fCutEnergy=ec;};
78  G4double GetCutEnergy(){return fCutEnergy;};
79 
80  void SetBiasingFactor(G4double bf){fBiasingFactor=bf;};
81 
82 protected:
83  G4double fM, fM2, fMv2, fme, fme2, fee, fee2;
87  G4double fMinEnergy, fMaxEnergy, fCutEnergy; // minimal recoil electron energy detected
88  G4double fBiasingFactor; // biasing xsc up
89 
91  static const G4double fXscArray[200];
92 };
93 
94 
95 
97 //
98 // return Wentzel atom screening correction for neutron-electron scattering
99 
101 {
102  G4double k = momentum/CLHEP::hbarc;
103  G4double ch = 1.13;
104  G4double zn = 1.77*k*CLHEP::Bohr_radius;
105  G4double zn2 = zn*zn;
106  fAm = ch/zn2;
107 
108  return fAm;
109 }
110 
112 //
113 // Slow electron (Tkin << me_c2) in the neutron rest frame
114 
117  const G4Material*)
118 {
119  G4double result(0.), te(0.), momentum(0.);
120 
121  te = aPart->GetKineticEnergy()*fme/fM;
122  momentum = sqrt( te*(te + 2.*fme) );
123  fAm = CalculateAm(momentum);
124 
125  result = 1. + log(1. +1./fAm);
126  result *= fCofXsc; //*energy;
127  result *= ZZ; // incoherent sum over all element electrons
128 
129  return result;
130 }
131 
132 #endif
Float_t x
Definition: compare.C:6
G4double CalculateAm(G4double momentum)
G4double GetElementNonRelXsc(const G4DynamicParticle *, G4int Z, const G4Material *)
static constexpr double hbarc
Float_t Z
double G4double
Definition: G4Types.hh:76
bool G4bool
Definition: G4Types.hh:79
void SetBiasingFactor(G4double bf)
G4PhysicsLogVector * fEnergyXscVector
G4double G4ParticleHPJENDLHEData::G4double result
int G4int
Definition: G4Types.hh:78
G4double GetKineticEnergy() const
static constexpr double Bohr_radius