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

#include <G4HadronPhysicsFTFP_BERT_HP.hh>

+ Inheritance diagram for G4HadronPhysicsFTFP_BERT_HP:

Public Member Functions

 G4HadronPhysicsFTFP_BERT_HP (G4int verbose=1)
 
 G4HadronPhysicsFTFP_BERT_HP (const G4String &name, G4bool quasiElastic=false)
 
virtual ~G4HadronPhysicsFTFP_BERT_HP ()
 
- Public Member Functions inherited from G4HadronPhysicsFTFP_BERT
 G4HadronPhysicsFTFP_BERT (G4int verbose=1)
 
 G4HadronPhysicsFTFP_BERT (const G4String &name, G4bool quasiElastic=false)
 
virtual ~G4HadronPhysicsFTFP_BERT ()
 
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 ()
 
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
 
- Protected Member Functions inherited from G4HadronPhysicsFTFP_BERT
void CreateModels ()
 
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 = 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 45 of file G4HadronPhysicsFTFP_BERT_HP.hh.

Constructor & Destructor Documentation

◆ G4HadronPhysicsFTFP_BERT_HP() [1/2]

G4HadronPhysicsFTFP_BERT_HP::G4HadronPhysicsFTFP_BERT_HP ( G4int verbose = 1)

Definition at line 61 of file G4HadronPhysicsFTFP_BERT_HP.cc.

62 : G4HadronPhysicsFTFP_BERT_HP("hInelastic FTFP_BERT_HP",false)
63{
65}
static G4HadronicParameters * Instance()
void SetVerboseLevel(const G4int val)

◆ G4HadronPhysicsFTFP_BERT_HP() [2/2]

G4HadronPhysicsFTFP_BERT_HP::G4HadronPhysicsFTFP_BERT_HP ( const G4String & name,
G4bool quasiElastic = false )

Definition at line 67 of file G4HadronPhysicsFTFP_BERT_HP.cc.

68 : G4HadronPhysicsFTFP_BERT(name,quasiElastic)
69{
70 minBERT_neutron = 19.9*CLHEP::MeV;
71}

◆ ~G4HadronPhysicsFTFP_BERT_HP()

G4HadronPhysicsFTFP_BERT_HP::~G4HadronPhysicsFTFP_BERT_HP ( )
virtual

Definition at line 73 of file G4HadronPhysicsFTFP_BERT_HP.cc.

74{}

Member Function Documentation

◆ Neutron()

void G4HadronPhysicsFTFP_BERT_HP::Neutron ( )
overrideprotectedvirtual

Reimplemented from G4HadronPhysicsFTFP_BERT.

Definition at line 76 of file G4HadronPhysicsFTFP_BERT_HP.cc.

77{
79 G4bool useFactorXS = param->ApplyFactorXS();
80
81 auto neu = new G4NeutronBuilder( true ); // Fission on
82 AddBuilder(neu);
83 auto ftfpneu = new G4FTFPNeutronBuilder(QuasiElastic);
84 AddBuilder(ftfpneu);
85 ftfpneu->SetMinEnergy(minFTFP_neutron);
86 neu->RegisterMe(ftfpneu);
87 auto bertneu = new G4BertiniNeutronBuilder;
88 AddBuilder(bertneu);
89 bertneu->SetMaxEnergy(maxBERT_neutron);
90 bertneu->SetMinEnergy(minBERT_neutron);
91 neu->RegisterMe(bertneu);
92 auto hpneu = new G4NeutronPHPBuilder;
93 AddBuilder(hpneu);
94 neu->RegisterMe(hpneu);
95 neu->Build();
96
99 if(nullptr != inel) {
100 if( useFactorXS ) inel->MultiplyCrossSectionBy( param->XSFactorNucleonInelastic() );
101 }
102
104 if (nullptr != capture) {
105 G4NeutronRadCapture* theNeutronRadCapture = new G4NeutronRadCapture();
106 theNeutronRadCapture->SetMinEnergy( minBERT_neutron );
107 capture->RegisterMe( theNeutronRadCapture );
108 }
110 if (nullptr != fission) {
111 G4LFission* theNeutronLEPFission = new G4LFission();
112 theNeutronLEPFission->SetMinEnergy( minBERT_neutron );
113 theNeutronLEPFission->SetMaxEnergy( G4HadronicParameters::Instance()->GetMaxEnergy() );
114 fission->RegisterMe( theNeutronLEPFission );
115 }
116}
bool G4bool
Definition G4Types.hh:86
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
G4double XSFactorNucleonInelastic() const
void MultiplyCrossSectionBy(G4double factor)
void RegisterMe(G4HadronicInteraction *a)
static G4Neutron * Neutron()
Definition G4Neutron.cc:101
static G4HadronicProcess * FindInelasticProcess(const G4ParticleDefinition *)
static G4HadronicProcess * FindCaptureProcess(const G4ParticleDefinition *)
static G4HadronicProcess * FindFissionProcess(const G4ParticleDefinition *)
void AddBuilder(G4PhysicsBuilderInterface *bld)

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