Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4ParticleHPFissionERelease.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 // 070606 fix for Valgrind by T. Koi
28 //
29 // P. Arce, June-2014 Conversion neutron_hp to particle_hp
30 //
31 #ifndef G4ParticleHPFissionERelease_h
32 #define G4ParticleHPFissionERelease_h 1
33 
34 #include <fstream>
36 
37 #include "globals.hh"
38 #include "G4ios.hh"
39 
41 {
42  public:
44  : totalEnergy( 0.0 )
45  , fragmentKinetic( 0.0 )
46  , promptNeutronKinetic( 0.0 )
47  , delayedNeutronKinetic( 0.0 )
48  , promptGammaEnergy( 0.0 )
49  , delayedGammaEnergy( 0.0 )
50  , delayedBetaEnergy( 0.0 )
51  , neutrinoEnergy( 0.0 )
52  , reducedTotalEnergy( 0.0 )
53  {
54  }
56 
57  inline void Init(std::istream & aDataFile)
58  {
59  G4double dummy;
60 
61  aDataFile >>dummy
70  >>totalEnergy;
71 
80  totalEnergy*=CLHEP::eV;
81  }
82 
83  inline G4double GetTotalEnergy(G4double deltaNNeu, G4double anEnergy)
84  {
85  G4double result, delta, energy;
86  energy = anEnergy/CLHEP::eV;
87  delta = -(1.057*energy - 8.07*deltaNNeu);
88  result = totalEnergy - delta*CLHEP::eV;
89  return result;
90  }
92  {
93  return fragmentKinetic;
94  }
95  inline G4double GetPromptNeutronKinetic(G4double deltaNNeu, G4double anEnergy)
96  {
97  G4double result, delta, energy;
98  energy = anEnergy/CLHEP::eV;
99  delta = -(1.307*energy - 8.07*deltaNNeu);
100  result = totalEnergy - delta*CLHEP::eV;
101  return result;
102  }
104  {
105  return delayedNeutronKinetic;
106  }
108  {
109  return promptGammaEnergy;
110  }
112  {
113  G4double delta = 0.075*anEnergy;
115  return result;
116  }
118  {
119  G4double delta = 0.075*anEnergy;
121  return result;
122  }
124  {
125  G4double delta = 0.1*anEnergy;
127  return result;
128  }
129  inline G4double GetReducedTotal(G4double deltaNNeu, G4double anEnergy)
130  {
131  return GetTotalEnergy(deltaNNeu, anEnergy) - GetNeutrinoEnergy(anEnergy);
132  }
133  private:
134 
143  G4double reducedTotalEnergy; // total - neutrino
144 };
145 
146 #endif
G4double GetReducedTotal(G4double deltaNNeu, G4double anEnergy)
G4double GetDelayedBetaEnergy(G4double anEnergy)
G4double GetDelayedGammaEnergy(G4double anEnergy)
void Init(std::istream &aDataFile)
G4double GetTotalEnergy(G4double deltaNNeu, G4double anEnergy)
double G4double
Definition: G4Types.hh:76
G4double GetPromptNeutronKinetic(G4double deltaNNeu, G4double anEnergy)
double energy
Definition: plottest35.C:25
G4double GetNeutrinoEnergy(G4double anEnergy)
static constexpr double eV
G4double G4ParticleHPJENDLHEData::G4double result