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

#include <G4HadronPhysicsQGS_BIC.hh>

Inheritance diagram for G4HadronPhysicsQGS_BIC:

Public Member Functions

 G4HadronPhysicsQGS_BIC (G4int verbose=1)
 G4HadronPhysicsQGS_BIC (const G4String &name, G4bool quasiElastic=true)
 ~G4HadronPhysicsQGS_BIC () override=default
 G4HadronPhysicsQGS_BIC (G4HadronPhysicsQGS_BIC &)=delete
G4HadronPhysicsQGS_BICoperator= (const G4HadronPhysicsQGS_BIC &right)=delete
Public Member Functions inherited from G4HadronPhysicsQGSP_BERT
 G4HadronPhysicsQGSP_BERT (G4int verbose=1)
 G4HadronPhysicsQGSP_BERT (const G4String &name, G4bool quasiElastic=true)
 ~G4HadronPhysicsQGSP_BERT () override=default
void ConstructParticle () override
void ConstructProcess () override
 G4HadronPhysicsQGSP_BERT (G4HadronPhysicsQGSP_BERT &)=delete
G4HadronPhysicsQGSP_BERToperator= (const G4HadronPhysicsQGSP_BERT &right)=delete
Public Member Functions inherited from G4VPhysicsConstructor
 G4VPhysicsConstructor (const G4String &="")
 G4VPhysicsConstructor (const G4String &name, G4int physics_type)
virtual ~G4VPhysicsConstructor ()
void SetPhysicsName (const G4String &="")
const G4StringGetPhysicsName () const
void SetPhysicsType (G4int)
G4int GetPhysicsType () const
G4int GetInstanceID () const
virtual void TerminateWorker ()
void SetVerboseLevel (G4int value)
G4int GetVerboseLevel () const

Protected Member Functions

void Neutron () override
void Proton () override
Protected Member Functions inherited from G4HadronPhysicsQGSP_BERT
void CreateModels ()
virtual void PiK ()
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 G4HadronPhysicsQGSP_BERT
G4double minQGSP_proton
G4double minQGSP_neutron
G4double minQGSP_pik
G4double minFTFP_proton
G4double minFTFP_neutron
G4double minFTFP_pik
G4double maxFTFP_proton
G4double maxFTFP_neutron
G4double maxFTFP_pik
G4double minBERT_proton {0.0}
G4double minBERT_neutron {0.0}
G4double minBERT_pik {0.0}
G4double maxBERT_proton
G4double maxBERT_neutron
G4double maxBERT_pik
G4double maxBIC_proton {0.0}
G4double maxBIC_neutron {0.0}
G4double minBIC_neutron {0.0}
G4bool QuasiElasticFTF {false}
G4bool QuasiElasticQGS {true}
Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel = 0
G4String namePhysics = ""
G4int typePhysics = 0
G4ParticleTabletheParticleTable = nullptr
G4int g4vpcInstanceID = 0
Static Protected Attributes inherited from G4VPhysicsConstructor
static G4RUN_DLL G4VPCManager subInstanceManager

Detailed Description

Definition at line 44 of file G4HadronPhysicsQGS_BIC.hh.

Constructor & Destructor Documentation

◆ G4HadronPhysicsQGS_BIC() [1/3]

G4HadronPhysicsQGS_BIC::G4HadronPhysicsQGS_BIC ( G4int verbose = 1)

Definition at line 79 of file G4HadronPhysicsQGS_BIC.cc.

80 : G4HadronPhysicsQGS_BIC("hInelastic QGS_BIC",true)
81{
83}
G4HadronPhysicsQGS_BIC(G4int verbose=1)
static G4HadronicParameters * Instance()
void SetVerboseLevel(const G4int val)

Referenced by G4HadronPhysicsQGS_BIC(), G4HadronPhysicsQGS_BIC(), and operator=().

◆ G4HadronPhysicsQGS_BIC() [2/3]

G4HadronPhysicsQGS_BIC::G4HadronPhysicsQGS_BIC ( const G4String & name,
G4bool quasiElastic = true )

◆ ~G4HadronPhysicsQGS_BIC()

G4HadronPhysicsQGS_BIC::~G4HadronPhysicsQGS_BIC ( )
overridedefault

◆ G4HadronPhysicsQGS_BIC() [3/3]

G4HadronPhysicsQGS_BIC::G4HadronPhysicsQGS_BIC ( G4HadronPhysicsQGS_BIC & )
delete

Member Function Documentation

◆ Neutron()

void G4HadronPhysicsQGS_BIC::Neutron ( )
overrideprotectedvirtual

Reimplemented from G4HadronPhysicsQGSP_BERT.

Definition at line 92 of file G4HadronPhysicsQGS_BIC.cc.

93{
94 G4HadronicParameters* param = G4HadronicParameters::Instance();
95 G4bool useFactorXS = param->ApplyFactorXS();
96
97 const G4ParticleDefinition* neutron = G4Neutron::Neutron();
98 auto inel = new G4HadronInelasticProcess( "neutronInelastic", neutron );
99 neutron->GetProcessManager()->AddDiscreteProcess( inel );
100
101 G4QGSBinaryNeutronBuilder qgs( QuasiElasticQGS );
102 qgs.SetMinEnergy( minQGSP_neutron );
103 qgs.Build( inel );
104
105 G4FTFBinaryNeutronBuilder ftf( QuasiElasticFTF );
106 ftf.SetMinEnergy( minFTFP_neutron );
107 ftf.SetMaxEnergy( maxFTFP_neutron );
108 ftf.Build( inel );
109
110 G4BertiniNeutronBuilder bert;
113 bert.Build( inel );
114
115 if ( maxBIC_neutron > 0.0 ) {
116 G4BinaryNeutronBuilder bic;
118 bic.Build( inel );
119 }
120
121 inel->AddDataSet( new G4NeutronInelasticXS() );
122 if ( useFactorXS ) {
123 inel->MultiplyCrossSectionBy( param->XSFactorNucleonInelastic() );
124 }
125 auto capture = new G4NeutronCaptureProcess( "nCaptureXS" );
126 neutron->GetProcessManager()->AddDiscreteProcess(capture);
127 capture->AddDataSet( new G4NeutronCaptureXS() );
128 capture->RegisterMe( new G4NeutronRadCapture() );
129}
bool G4bool
Definition G4Types.hh:86
virtual void SetMaxEnergy(G4double aM) final override
virtual void SetMinEnergy(G4double aM) final override
virtual void Build(G4HadronElasticProcess *) final override
virtual void Build(G4HadronElasticProcess *) final override
virtual void SetMaxEnergy(G4double aM) final override
G4double XSFactorNucleonInelastic() const
static G4Neutron * Neutron()
Definition G4Neutron.cc:101

◆ operator=()

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

◆ Proton()

void G4HadronPhysicsQGS_BIC::Proton ( )
overrideprotectedvirtual

Reimplemented from G4HadronPhysicsQGSP_BERT.

Definition at line 131 of file G4HadronPhysicsQGS_BIC.cc.

132{
133 G4HadronicParameters* param = G4HadronicParameters::Instance();
134 G4bool useFactorXS = param->ApplyFactorXS();
135
136 const G4ParticleDefinition* proton = G4Proton::Proton();
137 auto inel = new G4HadronInelasticProcess( "protonInelastic", proton );
138 proton->GetProcessManager()->AddDiscreteProcess( inel );
139
140 G4QGSBinaryProtonBuilder qgs(QuasiElasticQGS);
141 qgs.SetMinEnergy(minQGSP_proton);
142 qgs.Build( inel );
143
144 G4FTFBinaryProtonBuilder ftf(QuasiElasticFTF);
145 ftf.SetMinEnergy( minFTFP_proton );
146 ftf.SetMaxEnergy( maxFTFP_proton );
147 ftf.Build( inel );
148
149 G4BertiniProtonBuilder bert;
152 bert.Build( inel );
153
154 if ( maxBIC_proton > 0.0 ) {
155 G4BinaryProtonBuilder bic;
157 bic.Build( inel );
158 }
159
160 auto xsinel = new G4ParticleInelasticXS( proton );
161 inel->AddDataSet( xsinel );
162
163 if ( useFactorXS ) {
164 inel->MultiplyCrossSectionBy( param->XSFactorNucleonInelastic() );
165 }
166}
virtual void SetMinEnergy(G4double aM) final override
virtual void SetMaxEnergy(G4double aM) final override
virtual void Build(G4HadronElasticProcess *) final override
virtual void SetMaxEnergy(G4double aM) final override
virtual void Build(G4HadronElasticProcess *) final override
static G4Proton * Proton()
Definition G4Proton.cc:90

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