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

#include <G4HadronPhysicsQGSP_BERT_HP.hh>

+ Inheritance diagram for G4HadronPhysicsQGSP_BERT_HP:

Public Member Functions

 G4HadronPhysicsQGSP_BERT_HP (G4int verbose=1)
 
 G4HadronPhysicsQGSP_BERT_HP (const G4String &name, G4bool quasiElastic=true)
 
 ~G4HadronPhysicsQGSP_BERT_HP () override
 
 G4HadronPhysicsQGSP_BERT_HP (G4HadronPhysicsQGSP_BERT_HP &)=delete
 
G4HadronPhysicsQGSP_BERT_HPoperator= (const G4HadronPhysicsQGSP_BERT_HP &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
 
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 ()
 
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
 
- Protected Member Functions inherited from G4HadronPhysicsQGSP_BERT
void CreateModels ()
 
virtual void Neutron ()
 
virtual void Proton ()
 
virtual void Pion ()
 
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
 
G4double minBERT_neutron
 
G4double minBERT_pik
 
G4double maxBERT_proton
 
G4double maxBERT_neutron
 
G4double maxBERT_pik
 
G4bool QuasiElasticFTF
 
G4bool QuasiElasticQGS
 
- 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 48 of file G4HadronPhysicsQGSP_BERT_HP.hh.

Constructor & Destructor Documentation

◆ G4HadronPhysicsQGSP_BERT_HP() [1/3]

G4HadronPhysicsQGSP_BERT_HP::G4HadronPhysicsQGSP_BERT_HP ( G4int  verbose = 1)

Definition at line 78 of file G4HadronPhysicsQGSP_BERT_HP.cc.

◆ G4HadronPhysicsQGSP_BERT_HP() [2/3]

G4HadronPhysicsQGSP_BERT_HP::G4HadronPhysicsQGSP_BERT_HP ( const G4String name,
G4bool  quasiElastic = true 
)

◆ ~G4HadronPhysicsQGSP_BERT_HP()

G4HadronPhysicsQGSP_BERT_HP::~G4HadronPhysicsQGSP_BERT_HP ( )
inlineoverride

Definition at line 53 of file G4HadronPhysicsQGSP_BERT_HP.hh.

53{}

◆ G4HadronPhysicsQGSP_BERT_HP() [3/3]

G4HadronPhysicsQGSP_BERT_HP::G4HadronPhysicsQGSP_BERT_HP ( G4HadronPhysicsQGSP_BERT_HP )
delete

Member Function Documentation

◆ Neutron()

void G4HadronPhysicsQGSP_BERT_HP::Neutron ( )
overrideprotectedvirtual

Reimplemented from G4HadronPhysicsQGSP_BERT.

Definition at line 88 of file G4HadronPhysicsQGSP_BERT_HP.cc.

89{
91 G4bool useFactorXS = param->ApplyFactorXS();
92
93 auto neu = new G4NeutronBuilder( true ); // Fission on
94 AddBuilder(neu);
96 AddBuilder(qgs);
97 qgs->SetMinEnergy(minQGSP_neutron);
98 neu->RegisterMe(qgs);
100 AddBuilder(ftf);
101 ftf->SetMinEnergy(minFTFP_neutron);
102 ftf->SetMaxEnergy(maxFTFP_neutron);
103 neu->RegisterMe(ftf);
104 auto bert = new G4BertiniNeutronBuilder;
105 AddBuilder(bert);
106 bert->SetMinEnergy(minBERT_neutron);
107 bert->SetMaxEnergy(maxBERT_neutron);
108 neu->RegisterMe(bert);
109 auto hp = new G4NeutronPHPBuilder;
110 AddBuilder(hp);
111 neu->RegisterMe(hp);
112 neu->Build();
113
116 if(inel) {
117 if( useFactorXS ) inel->MultiplyCrossSectionBy( param->XSFactorNucleonInelastic() );
118 }
120 if ( capture ) {
121 G4NeutronRadCapture* theNeutronRadCapture = new G4NeutronRadCapture;
122 theNeutronRadCapture->SetMinEnergy( minBERT_neutron );
123 capture->RegisterMe( theNeutronRadCapture );
124 }
126 if ( fission ) {
127 G4LFission* theNeutronLEPFission = new G4LFission;
128 theNeutronLEPFission->SetMinEnergy( minBERT_neutron );
129 theNeutronLEPFission->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
130 fission->RegisterMe( theNeutronLEPFission );
131 }
132}
bool G4bool
Definition: G4Types.hh:86
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
static G4HadronicParameters * Instance()
G4double XSFactorNucleonInelastic() const
void MultiplyCrossSectionBy(G4double factor)
void RegisterMe(G4HadronicInteraction *a)
static G4Neutron * Neutron()
Definition: G4Neutron.cc:103
static G4HadronicProcess * FindInelasticProcess(const G4ParticleDefinition *)
static G4HadronicProcess * FindCaptureProcess(const G4ParticleDefinition *)
static G4HadronicProcess * FindFissionProcess(const G4ParticleDefinition *)
void AddBuilder(G4PhysicsBuilderInterface *bld)

◆ operator=()

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

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