Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4HadronPhysicsFTF_BIC Class Reference

#include <G4HadronPhysicsFTF_BIC.hh>

+ Inheritance diagram for G4HadronPhysicsFTF_BIC:

Public Member Functions

 G4HadronPhysicsFTF_BIC (G4int verbose=1)
 
 G4HadronPhysicsFTF_BIC (const G4String &name, G4bool quasiElastic=false)
 
 ~G4HadronPhysicsFTF_BIC () override
 
 G4HadronPhysicsFTF_BIC (G4HadronPhysicsFTF_BIC &)=delete
 
G4HadronPhysicsFTF_BICoperator= (const G4HadronPhysicsFTF_BIC &right)=delete
 
- Public Member Functions inherited from G4HadronPhysicsFTFP_BERT
 G4HadronPhysicsFTFP_BERT (G4int verbose=1)
 
 G4HadronPhysicsFTFP_BERT (const G4String &name, G4bool quasiElastic=false)
 
 ~G4HadronPhysicsFTFP_BERT () override
 
void ConstructParticle () override
 
void ConstructProcess () override
 
 G4HadronPhysicsFTFP_BERT (G4HadronPhysicsFTFP_BERT &)=delete
 
G4HadronPhysicsFTFP_BERToperator= (const G4HadronPhysicsFTFP_BERT &right)=delete
 
- Public Member Functions inherited from G4VPhysicsConstructor
 G4VPhysicsConstructor (const G4String &="")
 
 G4VPhysicsConstructor (const G4String &name, G4int physics_type)
 
virtual ~G4VPhysicsConstructor ()
 
virtual void ConstructParticle ()=0
 
virtual void ConstructProcess ()=0
 
void SetPhysicsName (const G4String &="")
 
const G4StringGetPhysicsName () const
 
void SetPhysicsType (G4int)
 
G4int GetPhysicsType () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
G4int GetInstanceID () const
 
virtual void TerminateWorker ()
 

Protected Member Functions

void Neutron () override
 
void Proton () override
 
void Pion () override
 
void Kaon () override
 
- Protected Member Functions inherited from G4HadronPhysicsFTFP_BERT
void CreateModels ()
 
virtual void Neutron ()
 
virtual void Proton ()
 
virtual void Pion ()
 
virtual void Kaon ()
 
virtual void Others ()
 
virtual void DumpBanner ()
 
- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
PhysicsBuilder_V GetBuilders () const
 
void AddBuilder (G4PhysicsBuilderInterface *bld)
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPhysicsConstructor
static const G4VPCManagerGetSubInstanceManager ()
 
- Protected Types inherited from G4VPhysicsConstructor
using PhysicsBuilder_V = G4VPCData::PhysicsBuilders_V
 
- Protected Attributes inherited from G4HadronPhysicsFTFP_BERT
G4double minFTFP_pion
 
G4double maxBERT_pion
 
G4double minFTFP_kaon
 
G4double maxBERT_kaon
 
G4double minFTFP_proton
 
G4double maxBERT_proton
 
G4double minFTFP_neutron
 
G4double maxBERT_neutron
 
G4double minBERT_proton
 
G4double minBERT_neutron
 
G4bool QuasiElastic
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4int g4vpcInstanceID
 
- Static Protected Attributes inherited from G4VPhysicsConstructor
static G4RUN_DLL G4VPCManager subInstanceManager
 

Detailed Description

Definition at line 43 of file G4HadronPhysicsFTF_BIC.hh.

Constructor & Destructor Documentation

◆ G4HadronPhysicsFTF_BIC() [1/3]

G4HadronPhysicsFTF_BIC::G4HadronPhysicsFTF_BIC ( G4int  verbose = 1)

Definition at line 70 of file G4HadronPhysicsFTF_BIC.cc.

71 : G4HadronPhysicsFTF_BIC("hInelastic FTF_BIC",false) {}

◆ G4HadronPhysicsFTF_BIC() [2/3]

G4HadronPhysicsFTF_BIC::G4HadronPhysicsFTF_BIC ( const G4String name,
G4bool  quasiElastic = false 
)

Definition at line 73 of file G4HadronPhysicsFTF_BIC.cc.

74 : G4HadronPhysicsFTFP_BERT(name, qe)
75{
76 maxBIC_pion = 1.5*GeV;
77 minBERT_pion = 1.0*GeV;
78}

◆ ~G4HadronPhysicsFTF_BIC()

G4HadronPhysicsFTF_BIC::~G4HadronPhysicsFTF_BIC ( )
override

Definition at line 80 of file G4HadronPhysicsFTF_BIC.cc.

81{}

◆ G4HadronPhysicsFTF_BIC() [3/3]

G4HadronPhysicsFTF_BIC::G4HadronPhysicsFTF_BIC ( G4HadronPhysicsFTF_BIC )
delete

Member Function Documentation

◆ Kaon()

void G4HadronPhysicsFTF_BIC::Kaon ( )
overrideprotectedvirtual

Reimplemented from G4HadronPhysicsFTFP_BERT.

Definition at line 177 of file G4HadronPhysicsFTF_BIC.cc.

178{
180 G4bool useFactorXS = param->ApplyFactorXS();
181
182 auto k = new G4KaonBuilder;
183 AddBuilder(k);
184 auto ftfk = new G4FTFBinaryKaonBuilder(QuasiElastic);
185 AddBuilder(ftfk);
186 k->RegisterMe(ftfk);
187 auto bertk = new G4BertiniKaonBuilder;
188 AddBuilder(bertk);
189 k->RegisterMe(bertk);
190 bertk->SetMaxEnergy(maxBERT_kaon);
191 k->Build();
192 // add cross section factor
193 if( useFactorXS ) {
195 for( auto & pdg : G4HadParticles::GetKaons() ) {
196 auto part = table->FindParticle( pdg );
197 if ( part == nullptr ) { continue; }
199 if(inel) {
201 }
202 }
203 }
204}
bool G4bool
Definition: G4Types.hh:86
static const std::vector< G4int > & GetKaons()
static G4HadronicParameters * Instance()
G4double XSFactorHadronInelastic() const
void MultiplyCrossSectionBy(G4double factor)
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
static G4HadronicProcess * FindInelasticProcess(const G4ParticleDefinition *)
void AddBuilder(G4PhysicsBuilderInterface *bld)

◆ Neutron()

void G4HadronPhysicsFTF_BIC::Neutron ( )
overrideprotectedvirtual

Reimplemented from G4HadronPhysicsFTFP_BERT.

Definition at line 83 of file G4HadronPhysicsFTF_BIC.cc.

84{
86 G4bool useFactorXS = param->ApplyFactorXS();
87 //General schema:
88 // 1) Create a builder
89 // 2) Call AddBuilder
90 // 3) Configure the builder, possibly with sub-builders
91 // 4) Call builder->Build()
92 auto neu = new G4NeutronBuilder;
93 AddBuilder(neu);
95 AddBuilder( ftfn );
96 neu->RegisterMe(ftfn);
97 auto bicn = new G4BinaryNeutronBuilder;
98 AddBuilder(bicn);
99 neu->RegisterMe(bicn);
100 bicn->SetMinEnergy(0.0);
101 bicn->SetMaxEnergy(maxBERT_neutron);
102 neu->Build();
103
104 // add cross section factor
107 if(inel) {
108 inel->AddDataSet(new G4NeutronInelasticXS());
109 if( useFactorXS ) inel->MultiplyCrossSectionBy( param->XSFactorNucleonInelastic() );
110 }
112 if (capture) {
113 capture->RegisterMe(new G4NeutronRadCapture());
114 }
115}
G4double XSFactorNucleonInelastic() const
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4Neutron * Neutron()
Definition: G4Neutron.cc:103
static G4HadronicProcess * FindCaptureProcess(const G4ParticleDefinition *)

◆ operator=()

G4HadronPhysicsFTF_BIC & G4HadronPhysicsFTF_BIC::operator= ( const G4HadronPhysicsFTF_BIC right)
delete

◆ Pion()

void G4HadronPhysicsFTF_BIC::Pion ( )
overrideprotectedvirtual

Reimplemented from G4HadronPhysicsFTFP_BERT.

Definition at line 141 of file G4HadronPhysicsFTF_BIC.cc.

142{
144 G4bool useFactorXS = param->ApplyFactorXS();
145
146 auto pi = new G4PionBuilder;
147 AddBuilder(pi);
148 auto ftfpi = new G4FTFBinaryPionBuilder(QuasiElastic);
149 AddBuilder(ftfpi);
150 pi->RegisterMe(ftfpi);
151 auto bertpi = new G4BertiniPionBuilder;
152 AddBuilder(bertpi);
153 bertpi->SetMinEnergy(minBERT_pion);
154 bertpi->SetMaxEnergy(maxBERT_pion);
155 pi->RegisterMe(bertpi);
156 auto bicpi = new G4BinaryPionBuilder;
157 AddBuilder(bicpi);
158 pi->RegisterMe(bicpi);
159 bicpi->SetMaxEnergy(maxBIC_pion);
160 pi->Build();
161
162 // add cross section factor
163 if( useFactorXS ) {
166 if(inel) {
168 }
171 if(inel) {
173 }
174 }
175}
G4double XSFactorPionInelastic() const
static G4PionMinus * PionMinus()
Definition: G4PionMinus.cc:97
static G4PionPlus * PionPlus()
Definition: G4PionPlus.cc:97
const G4double pi
G4bool pion(G4int ityp)

◆ Proton()

void G4HadronPhysicsFTF_BIC::Proton ( )
overrideprotectedvirtual

Reimplemented from G4HadronPhysicsFTFP_BERT.

Definition at line 117 of file G4HadronPhysicsFTF_BIC.cc.

118{
120 G4bool useFactorXS = param->ApplyFactorXS();
121
122 auto pro = new G4ProtonBuilder;
123 AddBuilder(pro);
124 auto ftfp = new G4FTFBinaryProtonBuilder(QuasiElastic);
125 AddBuilder(ftfp);
126 pro->RegisterMe(ftfp);
127 auto bicp = new G4BinaryProtonBuilder;
128 AddBuilder(bicp);
129 pro->RegisterMe(bicp);
130 bicp->SetMaxEnergy(maxBERT_proton);
131 pro->Build();
132
133 // add cross section factor
136 if(inel) {
137 if( useFactorXS ) inel->MultiplyCrossSectionBy( param->XSFactorNucleonInelastic() );
138 }
139}
static G4Proton * Proton()
Definition: G4Proton.cc:92

The documentation for this class was generated from the following files: