Geant4
v4-10.4-release
메인 페이지
관련된 페이지
모듈
네임스페이스
클래스
파일들
파일 목록
파일 멤버
모두
클래스
네임스페이스들
파일들
함수
변수
타입정의
열거형 타입
열거형 멤버
Friends
매크로
그룹들
페이지들
source
physics_lists
constructors
hadron_inelastic
src
G4HadronPhysicsQGSP_BIC_AllHP.cc
이 파일의 문서화 페이지로 가기
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: G4HadronPhysicsQGSP_BIC_AllHP.cc 73040 2013-08-15 09:36:57Z gcosmo $
27
//
28
//---------------------------------------------------------------------------
29
//
30
// ClassName: G4HadronPhysicsQGSP_BIC_AllHP
31
//
32
// Author: 2013 P. Arce
33
//
34
// based on G4HadronPhysicsQGSP_BIC_HP
35
//
36
//----------------------------------------------------------------------------
37
//
38
#include <iomanip>
39
40
#include "
G4SystemOfUnits.hh
"
41
#include "
G4HadronPhysicsQGSP_BIC_AllHP.hh
"
42
#include "
G4ProtonPHPBuilder.hh
"
43
44
#include "
G4ProtonBuilder.hh
"
45
#include "
G4FTFPProtonBuilder.hh
"
46
#include "
G4QGSPProtonBuilder.hh
"
47
#include "
G4BinaryProtonBuilder.hh
"
48
#include "
G4ProtonPHPBuilder.hh
"
49
50
#include "
G4NeutronBuilder.hh
"
51
#include "
G4FTFPNeutronBuilder.hh
"
52
#include "
G4QGSPNeutronBuilder.hh
"
53
#include "
G4BinaryNeutronBuilder.hh
"
54
#include "
G4NeutronPHPBuilder.hh
"
55
56
57
58
59
#include "
G4PhysicsConstructorFactory.hh
"
60
//
61
G4_DECLARE_PHYSCONSTR_FACTORY
(
G4HadronPhysicsQGSP_BIC_AllHP
);
62
63
G4HadronPhysicsQGSP_BIC_AllHP::G4HadronPhysicsQGSP_BIC_AllHP
(
G4int
)
64
:
G4HadronPhysicsQGSP_BIC_AllHP
(
"hInelastic QGSP_BIC_HP"
)
65
{}
66
67
G4HadronPhysicsQGSP_BIC_AllHP::G4HadronPhysicsQGSP_BIC_AllHP
(
const
G4String
&
name
,
G4bool
/* quasiElastic */
)
68
:
G4HadronPhysicsQGSP_BIC
(name)
69
{
70
minBIC_neutron
= 19.9*
MeV
;
71
maxHP_neutron
= 20.*
MeV
;
72
minBIC_proton
= 200.*
MeV
;
73
maxHP_proton
= 200.*
MeV
;
74
}
75
76
void
G4HadronPhysicsQGSP_BIC_AllHP::Neutron
()
77
{
78
auto
neu
=
new
G4NeutronBuilder
(
true
);
// Fission on
79
AddBuilder
(
neu
);
80
auto
qgs =
new
G4QGSPNeutronBuilder
(
QuasiElasticQGS
);
81
AddBuilder
(qgs);
82
qgs->SetMinEnergy(
minQGSP_neutron
);
83
neu
->RegisterMe(qgs);
84
auto
ftf =
new
G4FTFPNeutronBuilder
(
QuasiElasticFTF
);
85
AddBuilder
(ftf);
86
ftf->SetMinEnergy(
minFTFP_neutron
);
87
ftf->SetMaxEnergy(
maxFTFP_neutron
);
88
neu
->RegisterMe(ftf);
89
auto
bic =
new
G4BinaryNeutronBuilder
;
90
AddBuilder
(bic);
91
bic->SetMinEnergy(
minBIC_neutron
);
92
bic->SetMaxEnergy(
maxBIC_neutron
);
93
neu
->RegisterMe(bic);
94
auto
hp =
new
G4NeutronPHPBuilder
;
95
AddBuilder
(hp);
96
hp->SetMaxEnergy(
maxHP_neutron
);
97
neu
->RegisterMe(hp);
98
neu
->Build();
99
}
100
101
void
G4HadronPhysicsQGSP_BIC_AllHP::Proton
()
102
{
103
auto
pro
=
new
G4ProtonBuilder
;
104
AddBuilder
(
pro
);
105
auto
qgs =
new
G4QGSPProtonBuilder
(
QuasiElasticQGS
);
106
AddBuilder
(qgs);
107
qgs->SetMinEnergy(
minQGSP_proton
);
108
pro
->RegisterMe(qgs);
109
auto
ftf =
new
G4FTFPProtonBuilder
(
QuasiElasticFTF
);
110
AddBuilder
(ftf);
111
ftf->SetMinEnergy(
minFTFP_proton
);
112
ftf->SetMaxEnergy(
maxFTFP_proton
);
113
pro
->RegisterMe(ftf);
114
auto
bic =
new
G4BinaryProtonBuilder
;
115
AddBuilder
(bic);
116
bic->SetMaxEnergy(
maxBIC_proton
);
117
bic->SetMinEnergy(
minBIC_proton
);
118
pro
->RegisterMe(bic);
119
auto
hp =
new
G4ProtonPHPBuilder
;
120
AddBuilder
(hp);
121
hp->SetMaxEnergy(
maxHP_proton
);
122
pro
->RegisterMe(hp);
123
pro
->Build();
124
}
125
G4HadronPhysicsQGSP_BIC::minFTFP_neutron
G4double minFTFP_neutron
Definition:
G4HadronPhysicsQGSP_BIC.hh:89
G4_DECLARE_PHYSCONSTR_FACTORY
#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)
Definition:
G4PhysicsConstructorFactory.hh:59
name
const XML_Char * name
Definition:
expat.h:151
G4HadronPhysicsQGSP_BIC_AllHP
Definition:
G4HadronPhysicsQGSP_BIC_AllHP.hh:33
G4HadronPhysicsQGSP_BIC_AllHP::maxHP_neutron
G4double maxHP_neutron
Definition:
G4HadronPhysicsQGSP_BIC_AllHP.hh:45
MeV
static constexpr double MeV
Definition:
G4SIunits.hh:214
G4HadronPhysicsQGSP_BIC::minFTFP_proton
G4double minFTFP_proton
Definition:
G4HadronPhysicsQGSP_BIC.hh:88
G4HadronPhysicsQGSP_BIC_AllHP::minBIC_neutron
G4double minBIC_neutron
Definition:
G4HadronPhysicsQGSP_BIC_AllHP.hh:43
G4HadronPhysicsQGSP_BIC::QuasiElasticFTF
G4bool QuasiElasticFTF
Definition:
G4HadronPhysicsQGSP_BIC.hh:95
G4ProtonPHPBuilder
Definition:
G4ProtonPHPBuilder.hh:46
G4String
Definition:
examples/extended/parallel/TopC/ParN02/AnnotatedFiles/G4String.hh:45
G4HadronPhysicsQGSP_BIC_AllHP::Neutron
virtual void Neutron() override
Definition:
G4HadronPhysicsQGSP_BIC_AllHP.cc:76
G4FTFPNeutronBuilder.hh
G4InuclParticleNames::neu
Definition:
G4InuclParticleNames.hh:60
G4InuclParticleNames::pro
Definition:
G4InuclParticleNames.hh:60
G4PhysicsConstructorFactory.hh
G4ProtonBuilder.hh
G4NeutronBuilder
Definition:
G4NeutronBuilder.hh:52
G4HadronPhysicsQGSP_BIC_AllHP::maxHP_proton
G4double maxHP_proton
Definition:
G4HadronPhysicsQGSP_BIC_AllHP.hh:46
G4FTFPNeutronBuilder
Definition:
G4FTFPNeutronBuilder.hh:58
G4HadronPhysicsQGSP_BIC_AllHP::G4HadronPhysicsQGSP_BIC_AllHP
G4HadronPhysicsQGSP_BIC_AllHP(G4int verbose=1)
Definition:
G4HadronPhysicsQGSP_BIC_AllHP.cc:63
G4FTFPProtonBuilder.hh
G4bool
bool G4bool
Definition:
G4Types.hh:79
G4NeutronPHPBuilder
Definition:
G4NeutronPHPBuilder.hh:46
G4NeutronBuilder.hh
G4QGSPNeutronBuilder
Definition:
G4QGSPNeutronBuilder.hh:59
G4ProtonBuilder
Definition:
G4ProtonBuilder.hh:51
G4VPhysicsConstructor::AddBuilder
void AddBuilder(G4PhysicsBuilderInterface *bld)
Definition:
G4VPhysicsConstructor.cc:96
G4SystemOfUnits.hh
G4NeutronPHPBuilder.hh
G4QGSPProtonBuilder
Definition:
G4QGSPProtonBuilder.hh:59
G4BinaryNeutronBuilder.hh
G4BinaryNeutronBuilder
Definition:
G4BinaryNeutronBuilder.hh:53
G4int
int G4int
Definition:
G4Types.hh:78
G4HadronPhysicsQGSP_BIC_AllHP.hh
G4HadronPhysicsQGSP_BIC::minQGSP_proton
G4double minQGSP_proton
Definition:
G4HadronPhysicsQGSP_BIC.hh:83
G4BinaryProtonBuilder
Definition:
G4BinaryProtonBuilder.hh:52
G4QGSPNeutronBuilder.hh
G4HadronPhysicsQGSP_BIC::QuasiElasticQGS
G4bool QuasiElasticQGS
Definition:
G4HadronPhysicsQGSP_BIC.hh:96
G4HadronPhysicsQGSP_BIC
Definition:
G4HadronPhysicsQGSP_BIC.hh:56
G4HadronPhysicsQGSP_BIC_AllHP::Proton
virtual void Proton() override
Definition:
G4HadronPhysicsQGSP_BIC_AllHP.cc:101
G4HadronPhysicsQGSP_BIC::maxBIC_proton
G4double maxBIC_proton
Definition:
G4HadronPhysicsQGSP_BIC.hh:91
G4HadronPhysicsQGSP_BIC::maxFTFP_neutron
G4double maxFTFP_neutron
Definition:
G4HadronPhysicsQGSP_BIC.hh:86
G4HadronPhysicsQGSP_BIC::maxBIC_neutron
G4double maxBIC_neutron
Definition:
G4HadronPhysicsQGSP_BIC.hh:92
G4HadronPhysicsQGSP_BIC::minQGSP_neutron
G4double minQGSP_neutron
Definition:
G4HadronPhysicsQGSP_BIC.hh:82
G4FTFPProtonBuilder
Definition:
G4FTFPProtonBuilder.hh:57
G4HadronPhysicsQGSP_BIC_AllHP::minBIC_proton
G4double minBIC_proton
Definition:
G4HadronPhysicsQGSP_BIC_AllHP.hh:44
G4QGSPProtonBuilder.hh
G4HadronPhysicsQGSP_BIC::maxFTFP_proton
G4double maxFTFP_proton
Definition:
G4HadronPhysicsQGSP_BIC.hh:85
G4BinaryProtonBuilder.hh
G4ProtonPHPBuilder.hh
다음에 의해 생성됨 :
1.8.5