Geant4-11
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Attributes
G4HadronPhysicsNuBeam Class Reference

#include <G4HadronPhysicsNuBeam.hh>

Inheritance diagram for G4HadronPhysicsNuBeam:
G4HadronPhysicsFTFP_BERT G4VPhysicsConstructor

Public Member Functions

void ConstructParticle () override
 
void ConstructProcess () override
 
 G4HadronPhysicsNuBeam (const G4String &name, G4bool quasiElastic=false)
 
 G4HadronPhysicsNuBeam (G4HadronPhysicsNuBeam &)=delete
 
 G4HadronPhysicsNuBeam (G4int verbose=1)
 
G4int GetInstanceID () const
 
const G4StringGetPhysicsName () const
 
G4int GetPhysicsType () const
 
G4int GetVerboseLevel () const
 
G4HadronPhysicsNuBeamoperator= (const G4HadronPhysicsNuBeam &right)=delete
 
void SetPhysicsName (const G4String &="")
 
void SetPhysicsType (G4int)
 
void SetVerboseLevel (G4int value)
 
virtual void TerminateWorker ()
 
virtual ~G4HadronPhysicsNuBeam ()
 

Static Public Member Functions

static const G4VPCManagerGetSubInstanceManager ()
 

Protected Types

using PhysicsBuilder_V = G4VPCData::PhysicsBuilders_V
 

Protected Member Functions

void AddBuilder (G4PhysicsBuilderInterface *bld)
 
void CreateModels ()
 
virtual void DumpBanner ()
 
PhysicsBuilder_V GetBuilders () const
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
virtual void Kaon ()
 
virtual void Neutron ()
 
virtual void Others ()
 
virtual void Pion ()
 
virtual void Proton () override
 
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 

Protected Attributes

G4int g4vpcInstanceID = 0
 
G4double maxBERT_kaon
 
G4double maxBERT_neutron
 
G4double maxBERT_pion
 
G4double maxBERT_proton
 
G4double minBERT_neutron
 
G4double minBERT_proton
 
G4double minFTFP_kaon
 
G4double minFTFP_neutron
 
G4double minFTFP_pion
 
G4double minFTFP_proton
 
G4String namePhysics = ""
 
G4bool QuasiElastic
 
G4ParticleTabletheParticleTable = nullptr
 
G4int typePhysics = 0
 
G4int verboseLevel = 0
 

Static Protected Attributes

static G4RUN_DLL G4VPCManager subInstanceManager
 

Private Attributes

G4double maxFTFP_proton
 

Detailed Description

Definition at line 45 of file G4HadronPhysicsNuBeam.hh.

Member Typedef Documentation

◆ PhysicsBuilder_V

Definition at line 149 of file G4VPhysicsConstructor.hh.

Constructor & Destructor Documentation

◆ G4HadronPhysicsNuBeam() [1/3]

G4HadronPhysicsNuBeam::G4HadronPhysicsNuBeam ( G4int  verbose = 1)

Definition at line 58 of file G4HadronPhysicsNuBeam.cc.

58 :
59 G4HadronPhysicsNuBeam("hInelasticNuBeam",false)
60{
62}
G4HadronPhysicsNuBeam(G4int verbose=1)
static G4HadronicParameters * Instance()
void SetVerboseLevel(const G4int val)

References G4HadronicParameters::Instance(), and G4HadronicParameters::SetVerboseLevel().

◆ G4HadronPhysicsNuBeam() [2/3]

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

Definition at line 64 of file G4HadronPhysicsNuBeam.cc.

65 : G4HadronPhysicsFTFP_BERT(name,quasiElastic)
66{
67 // specific transition energies should be defined here
68
69 //minFTFP_neutron = 4.0*GeV;
70 //maxBERT_neutron = 5.0*GeV;
71 minFTFP_proton = 3.0*GeV;
72 maxFTFP_proton = 101.0*GeV;
73 //maxBERT_proton = 3.5*GeV;
74 //minFTFP_pion = minFTFP_kaon = 3.0*GeV;
75 //maxBERT_pion = maxBERT_kaon = 3.5*GeV;
76}
static constexpr double GeV
Definition: G4SIunits.hh:203
const char * name(G4int ptype)

References GeV, maxFTFP_proton, and G4HadronPhysicsFTFP_BERT::minFTFP_proton.

◆ ~G4HadronPhysicsNuBeam()

virtual G4HadronPhysicsNuBeam::~G4HadronPhysicsNuBeam ( )
inlinevirtual

Definition at line 51 of file G4HadronPhysicsNuBeam.hh.

51{}

◆ G4HadronPhysicsNuBeam() [3/3]

G4HadronPhysicsNuBeam::G4HadronPhysicsNuBeam ( G4HadronPhysicsNuBeam )
delete

Member Function Documentation

◆ AddBuilder()

void G4VPhysicsConstructor::AddBuilder ( G4PhysicsBuilderInterface bld)
protectedinherited

Definition at line 99 of file G4VPhysicsConstructor.cc.

100{
101 (subInstanceManager.offset[g4vpcInstanceID])._builders->push_back(bld);
102}
static G4RUN_DLL G4VPCManager subInstanceManager
G4RUN_DLL G4ThreadLocalStatic T * offset

References G4VPhysicsConstructor::g4vpcInstanceID, G4VUPLSplitter< T >::offset, and G4VPhysicsConstructor::subInstanceManager.

Referenced by G4HadronPhysicsFTFP_BERT::Kaon(), G4HadronPhysicsFTF_BIC::Kaon(), G4HadronPhysicsINCLXX::Kaon(), G4HadronPhysicsFTFP_BERT::Neutron(), G4HadronPhysicsQGSP_BERT::Neutron(), G4HadronPhysicsQGSP_BIC::Neutron(), G4HadronPhysicsFTF_BIC::Neutron(), G4HadronPhysicsFTFP_BERT_HP::Neutron(), G4HadronPhysicsINCLXX::Neutron(), G4HadronPhysicsQGS_BIC::Neutron(), G4HadronPhysicsQGSP_BERT_HP::Neutron(), G4HadronPhysicsQGSP_BIC_HP::Neutron(), G4HadronPhysicsShielding::Neutron(), G4HadronPhysicsFTFP_BERT::Pion(), G4HadronPhysicsQGSP_BERT::Pion(), G4HadronPhysicsQGSP_BIC::Pion(), G4HadronPhysicsFTF_BIC::Pion(), G4HadronPhysicsINCLXX::Pion(), G4HadronPhysicsQGS_BIC::Pion(), G4HadronPhysicsFTFP_BERT::Proton(), G4HadronPhysicsQGSP_BERT::Proton(), G4HadronPhysicsQGSP_BIC::Proton(), G4HadronPhysicsFTF_BIC::Proton(), G4HadronPhysicsINCLXX::Proton(), Proton(), G4HadronPhysicsQGS_BIC::Proton(), and G4HadronPhysicsQGSP_BIC_AllHP::Proton().

◆ ConstructParticle()

void G4HadronPhysicsFTFP_BERT::ConstructParticle ( )
overridevirtualinherited

Implements G4VPhysicsConstructor.

Definition at line 115 of file G4HadronPhysicsFTFP_BERT.cc.

116{
117 G4MesonConstructor pMesonConstructor;
118 pMesonConstructor.ConstructParticle();
119
120 G4BaryonConstructor pBaryonConstructor;
121 pBaryonConstructor.ConstructParticle();
122
123 G4ShortLivedConstructor pShortLivedConstructor;
124 pShortLivedConstructor.ConstructParticle();
125
126 G4IonConstructor pIonConstructor;
127 pIonConstructor.ConstructParticle();
128}
static void ConstructParticle()
static void ConstructParticle()
static void ConstructParticle()

References G4BaryonConstructor::ConstructParticle(), G4IonConstructor::ConstructParticle(), G4MesonConstructor::ConstructParticle(), and G4ShortLivedConstructor::ConstructParticle().

◆ ConstructProcess()

void G4HadronPhysicsNuBeam::ConstructProcess ( )
overridevirtual

◆ CreateModels()

void G4HadronPhysicsFTFP_BERT::CreateModels ( )
protectedinherited

◆ DumpBanner()

void G4HadronPhysicsFTFP_BERT::DumpBanner ( )
protectedvirtualinherited

Reimplemented in G4HadronPhysicsFTFQGSP_BERT.

Definition at line 130 of file G4HadronPhysicsFTFP_BERT.cc.

131{
132 G4cout << G4endl
133 << " " << GetPhysicsName() << " : threshold between BERT and FTFP is over the interval " << G4endl
134 << " for pions : " << minFTFP_pion/GeV << " to " << maxBERT_pion/GeV << " GeV" << G4endl
135 << " for kaons : " << minFTFP_kaon/GeV << " to " << maxBERT_kaon/GeV << " GeV" << G4endl
136 << " for proton : " << minFTFP_proton/GeV << " to " << maxBERT_proton/GeV << " GeV" << G4endl
137 << " for neutron : " << minFTFP_neutron/GeV << " to " << maxBERT_neutron/GeV << " GeV" << G4endl
138 << G4endl;
139}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
const G4String & GetPhysicsName() const

References G4cout, G4endl, G4VPhysicsConstructor::GetPhysicsName(), GeV, G4HadronPhysicsFTFP_BERT::maxBERT_kaon, G4HadronPhysicsFTFP_BERT::maxBERT_neutron, G4HadronPhysicsFTFP_BERT::maxBERT_pion, G4HadronPhysicsFTFP_BERT::maxBERT_proton, G4HadronPhysicsFTFP_BERT::minFTFP_kaon, G4HadronPhysicsFTFP_BERT::minFTFP_neutron, G4HadronPhysicsFTFP_BERT::minFTFP_pion, and G4HadronPhysicsFTFP_BERT::minFTFP_proton.

Referenced by G4HadronPhysicsFTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFP_BERT_ATL::ConstructProcess(), G4HadronPhysicsINCLXX::ConstructProcess(), ConstructProcess(), G4HadronPhysicsShielding::ConstructProcess(), and G4HadronPhysicsFTFQGSP_BERT::DumpBanner().

◆ GetBuilders()

G4VPhysicsConstructor::PhysicsBuilder_V G4VPhysicsConstructor::GetBuilders ( ) const
protectedinherited

Definition at line 86 of file G4VPhysicsConstructor.cc.

87{
88 const auto& tls = *((subInstanceManager.offset[g4vpcInstanceID])._builders);
89 PhysicsBuilder_V copy(tls.size());
90 G4int i = 0;
91 for(const auto& el : tls)
92 {
93 copy[i++] = el;
94 }
95 return copy;
96}
int G4int
Definition: G4Types.hh:85
G4VPCData::PhysicsBuilders_V PhysicsBuilder_V
void copy(G4double dst[], const G4double src[], size_t size=G4FieldTrack::ncompSVEC)
Definition: G4FieldUtils.cc:98

References field_utils::copy(), G4VPhysicsConstructor::g4vpcInstanceID, G4VUPLSplitter< T >::offset, and G4VPhysicsConstructor::subInstanceManager.

◆ GetInstanceID()

G4int G4VPhysicsConstructor::GetInstanceID ( ) const
inlineinherited

◆ GetParticleIterator()

G4ParticleTable::G4PTblDicIterator * G4VPhysicsConstructor::GetParticleIterator ( ) const
protectedinherited

◆ GetPhysicsName()

const G4String & G4VPhysicsConstructor::GetPhysicsName ( ) const
inlineinherited

Definition at line 191 of file G4VPhysicsConstructor.hh.

192{
193 return namePhysics;
194}

References G4VPhysicsConstructor::namePhysics.

Referenced by G4EmDNAPhysics_option1::ConstructProcess(), G4EmDNAPhysics_option2::ConstructProcess(), G4EmDNAPhysics_option3::ConstructProcess(), G4EmDNAPhysics_option4::ConstructProcess(), G4EmDNAPhysics_option5::ConstructProcess(), G4EmDNAPhysics_option6::ConstructProcess(), G4EmDNAPhysics_option7::ConstructProcess(), G4EmDNAPhysics_option8::ConstructProcess(), G4EmDNAPhysics_stationary_option2::ConstructProcess(), G4EmDNAPhysics_stationary_option4::ConstructProcess(), G4EmDNAPhysics_stationary_option6::ConstructProcess(), G4EmDNAPhysics::ConstructProcess(), G4EmDNAPhysics_stationary::ConstructProcess(), G4EmLivermorePhysics::ConstructProcess(), G4EmLowEPPhysics::ConstructProcess(), G4EmPenelopePhysics::ConstructProcess(), G4EmStandardPhysics::ConstructProcess(), G4EmStandardPhysics_option1::ConstructProcess(), G4EmStandardPhysics_option2::ConstructProcess(), G4EmStandardPhysics_option3::ConstructProcess(), G4EmStandardPhysics_option4::ConstructProcess(), G4EmStandardPhysicsGS::ConstructProcess(), G4EmStandardPhysicsSS::ConstructProcess(), G4EmStandardPhysicsWVI::ConstructProcess(), G4ThermalNeutrons::ConstructProcess(), G4HadronPhysicsFTFP_BERT::DumpBanner(), G4HadronPhysicsQGSP_BERT::DumpBanner(), export_G4VPhysicsConstructor(), G4HadronDElasticPhysics::G4HadronDElasticPhysics(), G4HadronElasticPhysics::G4HadronElasticPhysics(), G4HadronElasticPhysicsHP::G4HadronElasticPhysicsHP(), G4HadronElasticPhysicsLEND::G4HadronElasticPhysicsLEND(), G4HadronElasticPhysicsPHP::G4HadronElasticPhysicsPHP(), G4HadronElasticPhysicsXS::G4HadronElasticPhysicsXS(), G4HadronHElasticPhysics::G4HadronHElasticPhysics(), G4IonElasticPhysics::G4IonElasticPhysics(), G4VModularPhysicsList::RegisterPhysics(), and G4VModularPhysicsList::ReplacePhysics().

◆ GetPhysicsType()

G4int G4VPhysicsConstructor::GetPhysicsType ( ) const
inlineinherited

◆ GetSubInstanceManager()

const G4VPCManager & G4VPhysicsConstructor::GetSubInstanceManager ( )
inlinestaticinherited

◆ GetVerboseLevel()

G4int G4VPhysicsConstructor::GetVerboseLevel ( ) const
inlineinherited

◆ Kaon()

void G4HadronPhysicsFTFP_BERT::Kaon ( )
protectedvirtualinherited

Reimplemented in G4HadronPhysicsFTF_BIC, and G4HadronPhysicsINCLXX.

Definition at line 241 of file G4HadronPhysicsFTFP_BERT.cc.

242{
244 G4bool useFactorXS = param->ApplyFactorXS();
245
246 auto k = new G4KaonBuilder;
247 AddBuilder(k);
248 auto ftfpk = new G4FTFPKaonBuilder(QuasiElastic);
249 AddBuilder(ftfpk);
250 k->RegisterMe(ftfpk);
251 ftfpk->SetMinEnergy(minFTFP_kaon);
252 auto bertk = new G4BertiniKaonBuilder;
253 AddBuilder(bertk);
254 k->RegisterMe(bertk);
255 bertk->SetMaxEnergy(maxBERT_kaon);
256 k->Build();
257
258 // add cross section factor
259 if( useFactorXS ) {
261 for( auto & pdg : G4HadParticles::GetKaons() ) {
262 auto part = table->FindParticle( pdg );
263 if ( part == nullptr ) { continue; }
265 if(nullptr != inel) {
267 }
268 }
269 }
270}
bool G4bool
Definition: G4Types.hh:86
static const std::vector< G4int > & GetKaons()
G4double XSFactorHadronInelastic() const
void MultiplyCrossSectionBy(G4double factor)
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
static G4HadronicProcess * FindInelasticProcess(const G4ParticleDefinition *)
void AddBuilder(G4PhysicsBuilderInterface *bld)

References G4VPhysicsConstructor::AddBuilder(), G4HadronicParameters::ApplyFactorXS(), G4PhysListUtil::FindInelasticProcess(), G4ParticleTable::FindParticle(), G4HadParticles::GetKaons(), G4ParticleTable::GetParticleTable(), G4HadronicParameters::Instance(), G4HadronPhysicsFTFP_BERT::maxBERT_kaon, G4HadronPhysicsFTFP_BERT::minFTFP_kaon, G4HadronicProcess::MultiplyCrossSectionBy(), G4HadronPhysicsFTFP_BERT::QuasiElastic, and G4HadronicParameters::XSFactorHadronInelastic().

Referenced by G4HadronPhysicsFTFP_BERT::CreateModels().

◆ Neutron()

void G4HadronPhysicsFTFP_BERT::Neutron ( )
protectedvirtualinherited

Reimplemented in G4HadronPhysicsFTF_BIC, G4HadronPhysicsFTFP_BERT_HP, G4HadronPhysicsINCLXX, and G4HadronPhysicsShielding.

Definition at line 150 of file G4HadronPhysicsFTFP_BERT.cc.

151{
153 G4bool useFactorXS = param->ApplyFactorXS();
154 //General schema:
155 // 1) Create a builder
156 // 2) Call AddBuilder
157 // 3) Configure the builder, possibly with sub-builders
158 // 4) Call builder->Build()
159 auto neu = new G4NeutronBuilder;
161 auto ftfpn = new G4FTFPNeutronBuilder(QuasiElastic);
162 AddBuilder( ftfpn );
163 neu->RegisterMe(ftfpn);
164 ftfpn->SetMinEnergy(minFTFP_neutron);
165 auto bertn = new G4BertiniNeutronBuilder;
166 AddBuilder(bertn);
167 neu->RegisterMe(bertn);
168 bertn->SetMinEnergy(minBERT_neutron);
169 bertn->SetMaxEnergy(maxBERT_neutron);
170 neu->Build();
171
174 if(nullptr != inel) {
175 inel->AddDataSet(new G4NeutronInelasticXS());
176 if( useFactorXS ) inel->MultiplyCrossSectionBy( param->XSFactorNucleonInelastic() );
177 }
179 if (nullptr != capture) {
180 capture->RegisterMe(new G4NeutronRadCapture());
181 }
182}
G4double XSFactorNucleonInelastic() const
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
void RegisterMe(G4HadronicInteraction *a)
static G4Neutron * Neutron()
Definition: G4Neutron.cc:103
static G4HadronicProcess * FindCaptureProcess(const G4ParticleDefinition *)

References G4VPhysicsConstructor::AddBuilder(), G4HadronicProcess::AddDataSet(), G4HadronicParameters::ApplyFactorXS(), G4PhysListUtil::FindCaptureProcess(), G4PhysListUtil::FindInelasticProcess(), G4HadronicParameters::Instance(), G4HadronPhysicsFTFP_BERT::maxBERT_neutron, G4HadronPhysicsFTFP_BERT::minBERT_neutron, G4HadronPhysicsFTFP_BERT::minFTFP_neutron, G4HadronicProcess::MultiplyCrossSectionBy(), G4InuclParticleNames::neu, G4Neutron::Neutron(), G4InuclParticleNames::neutron, G4HadronPhysicsFTFP_BERT::QuasiElastic, G4HadronicProcess::RegisterMe(), and G4HadronicParameters::XSFactorNucleonInelastic().

Referenced by G4HadronPhysicsFTFP_BERT::CreateModels().

◆ operator=()

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

◆ Others()

void G4HadronPhysicsFTFP_BERT::Others ( )
protectedvirtualinherited

Reimplemented in G4HadronPhysicsINCLXX.

Definition at line 272 of file G4HadronPhysicsFTFP_BERT.cc.

273{
275
276 // high energy particles
277 if( param->GetMaxEnergy() > param->EnergyThresholdForHeavyHadrons() ) {
278
279 // anti light ions
281
282 // hyperons
284
285 // b-, c- baryons and mesons
286 if( param->EnableBCParticles() ) {
288 }
289 }
290}
static void BuildBCHadronsFTFP_BERT()
static void BuildHyperonsFTFP_BERT()
static void BuildAntiLightIonsFTFP()
G4bool EnableBCParticles() const
G4double EnergyThresholdForHeavyHadrons() const
G4double GetMaxEnergy() const

References G4HadronicBuilder::BuildAntiLightIonsFTFP(), G4HadronicBuilder::BuildBCHadronsFTFP_BERT(), G4HadronicBuilder::BuildHyperonsFTFP_BERT(), G4HadronicParameters::EnableBCParticles(), G4HadronicParameters::EnergyThresholdForHeavyHadrons(), G4HadronicParameters::GetMaxEnergy(), and G4HadronicParameters::Instance().

Referenced by G4HadronPhysicsFTFP_BERT::CreateModels().

◆ Pion()

void G4HadronPhysicsFTFP_BERT::Pion ( )
protectedvirtualinherited

Reimplemented in G4HadronPhysicsFTF_BIC, and G4HadronPhysicsINCLXX.

Definition at line 209 of file G4HadronPhysicsFTFP_BERT.cc.

210{
212 G4bool useFactorXS = param->ApplyFactorXS();
213
214 auto pi = new G4PionBuilder;
215 AddBuilder(pi);
216 auto ftfppi = new G4FTFPPionBuilder(QuasiElastic);
217 AddBuilder(ftfppi);
218 pi->RegisterMe(ftfppi);
219 ftfppi->SetMinEnergy(minFTFP_pion);
220 auto bertpi = new G4BertiniPionBuilder;
221 AddBuilder(bertpi);
222 pi->RegisterMe(bertpi);
223 bertpi->SetMaxEnergy(maxBERT_pion);
224 pi->Build();
225
226 // add cross section factor
227 if( useFactorXS ) {
230 if(nullptr != inel) {
232 }
235 if(nullptr != inel) {
237 }
238 }
239}
static constexpr double pi
Definition: G4SIunits.hh:55
G4double XSFactorPionInelastic() const
static G4PionMinus * PionMinus()
Definition: G4PionMinus.cc:97
static G4PionPlus * PionPlus()
Definition: G4PionPlus.cc:97
G4bool pion(G4int ityp)

References G4VPhysicsConstructor::AddBuilder(), G4HadronicParameters::ApplyFactorXS(), G4PhysListUtil::FindInelasticProcess(), G4HadronicParameters::Instance(), G4HadronPhysicsFTFP_BERT::maxBERT_pion, G4HadronPhysicsFTFP_BERT::minFTFP_pion, G4HadronicProcess::MultiplyCrossSectionBy(), pi, G4InuclParticleNames::pion(), G4PionMinus::PionMinus(), G4PionPlus::PionPlus(), G4HadronPhysicsFTFP_BERT::QuasiElastic, and G4HadronicParameters::XSFactorPionInelastic().

Referenced by G4HadronPhysicsFTFP_BERT::CreateModels().

◆ Proton()

void G4HadronPhysicsNuBeam::Proton ( )
overrideprotectedvirtual

Reimplemented from G4HadronPhysicsFTFP_BERT.

Definition at line 78 of file G4HadronPhysicsNuBeam.cc.

79{
81 G4bool useFactorXS = param->ApplyFactorXS();
82
83 auto pro = new G4ProtonBuilder;
85 // this is the new "custom" proton builder, tentatively for NuBeam
86 //
87 // no need to set the min energy because it's set in the ProBuilder
88 // ... and theMax will be set via Build()
89 //
90 // also explicitly set quasi-elastic key ON for QGS
91 // (it should be OFF for FTF, controlled by QuasiElastic)
92 //
93 auto qgsppro = new G4QGSPLundStrFragmProtonBuilder( true );
94 AddBuilder(qgsppro);
95 pro->RegisterMe(qgsppro);
96 //
97 // standard FTFP builder, but energy range is adjusted
98 //
99 auto ftfppro = new G4FTFPProtonBuilder(QuasiElastic);
100 AddBuilder(ftfppro);
101 pro->RegisterMe(ftfppro);
102 ftfppro->SetMinEnergy(minFTFP_proton);
103 ftfppro->SetMaxEnergy(maxFTFP_proton);
104 //
105 // standard Bertini builder
106 //
107 auto bertpro = new G4BertiniProtonBuilder;
108 AddBuilder(bertpro);
109 pro->RegisterMe(bertpro);
110 bertpro->SetMaxEnergy(maxBERT_proton);
111 pro->Build();
112
115 if(nullptr != inel) {
116 if( useFactorXS ) inel->MultiplyCrossSectionBy( param->XSFactorNucleonInelastic() );
117 }
118}
static G4Proton * Proton()
Definition: G4Proton.cc:92

References G4VPhysicsConstructor::AddBuilder(), G4HadronicParameters::ApplyFactorXS(), G4PhysListUtil::FindInelasticProcess(), G4HadronicParameters::Instance(), G4HadronPhysicsFTFP_BERT::maxBERT_proton, maxFTFP_proton, G4HadronPhysicsFTFP_BERT::minFTFP_proton, G4HadronicProcess::MultiplyCrossSectionBy(), G4InuclParticleNames::pro, G4Proton::Proton(), G4InuclParticleNames::proton, G4HadronPhysicsFTFP_BERT::QuasiElastic, and G4HadronicParameters::XSFactorNucleonInelastic().

◆ RegisterProcess()

G4bool G4VPhysicsConstructor::RegisterProcess ( G4VProcess process,
G4ParticleDefinition particle 
)
inlineprotectedinherited

◆ SetPhysicsName()

void G4VPhysicsConstructor::SetPhysicsName ( const G4String name = "")
inlineinherited

◆ SetPhysicsType()

void G4VPhysicsConstructor::SetPhysicsType ( G4int  val)
inlineinherited

Definition at line 196 of file G4VPhysicsConstructor.hh.

197{
198 if(val > 0) { typePhysics = val; }
199}

References G4VPhysicsConstructor::typePhysics.

Referenced by G4DecayPhysics::G4DecayPhysics(), G4EmDNAPhysics::G4EmDNAPhysics(), G4EmDNAPhysics_option1::G4EmDNAPhysics_option1(), G4EmDNAPhysics_option2::G4EmDNAPhysics_option2(), G4EmDNAPhysics_option3::G4EmDNAPhysics_option3(), G4EmDNAPhysics_option4::G4EmDNAPhysics_option4(), G4EmDNAPhysics_option5::G4EmDNAPhysics_option5(), G4EmDNAPhysics_option6::G4EmDNAPhysics_option6(), G4EmDNAPhysics_option7::G4EmDNAPhysics_option7(), G4EmDNAPhysics_option8::G4EmDNAPhysics_option8(), G4EmDNAPhysics_stationary_option2::G4EmDNAPhysics_stationary_option2(), G4EmDNAPhysics_stationary_option4::G4EmDNAPhysics_stationary_option4(), G4EmDNAPhysics_stationary_option6::G4EmDNAPhysics_stationary_option6(), G4EmExtraPhysics::G4EmExtraPhysics(), G4EmLivermorePhysics::G4EmLivermorePhysics(), G4EmLowEPPhysics::G4EmLowEPPhysics(), G4EmPenelopePhysics::G4EmPenelopePhysics(), G4EmStandardPhysics::G4EmStandardPhysics(), G4EmStandardPhysics_option1::G4EmStandardPhysics_option1(), G4EmStandardPhysics_option2::G4EmStandardPhysics_option2(), G4EmStandardPhysics_option3::G4EmStandardPhysics_option3(), G4EmStandardPhysics_option4::G4EmStandardPhysics_option4(), G4EmStandardPhysicsGS::G4EmStandardPhysicsGS(), G4EmStandardPhysicsSS::G4EmStandardPhysicsSS(), G4EmStandardPhysicsWVI::G4EmStandardPhysicsWVI(), G4HadronElasticPhysics::G4HadronElasticPhysics(), G4HadronInelasticQBBC::G4HadronInelasticQBBC(), G4HadronPhysicsFTFP_BERT::G4HadronPhysicsFTFP_BERT(), G4HadronPhysicsQGSP_BERT::G4HadronPhysicsQGSP_BERT(), G4HadronPhysicsQGSP_BIC::G4HadronPhysicsQGSP_BIC(), G4IonINCLXXPhysics::G4IonINCLXXPhysics(), G4IonPhysics::G4IonPhysics(), G4IonPhysicsPHP::G4IonPhysicsPHP(), G4IonQMDPhysics::G4IonQMDPhysics(), G4NeutronTrackingCut::G4NeutronTrackingCut(), G4StepLimiterPhysics::G4StepLimiterPhysics(), G4StoppingPhysics::G4StoppingPhysics(), and G4StoppingPhysicsFritiofWithBinaryCascade::G4StoppingPhysicsFritiofWithBinaryCascade().

◆ SetVerboseLevel()

void G4VPhysicsConstructor::SetVerboseLevel ( G4int  value)
inlineinherited

◆ TerminateWorker()

void G4VPhysicsConstructor::TerminateWorker ( )
virtualinherited

Definition at line 105 of file G4VPhysicsConstructor.cc.

106{
107 if(subInstanceManager.offset[g4vpcInstanceID]._builders != nullptr)
108 {
109 std::for_each(subInstanceManager.offset[g4vpcInstanceID]._builders->begin(),
110 subInstanceManager.offset[g4vpcInstanceID]._builders->end(),
111 [](PhysicsBuilder_V::value_type bld) { delete bld; });
112 subInstanceManager.offset[g4vpcInstanceID]._builders->clear();
113 }
114}

References G4VPhysicsConstructor::g4vpcInstanceID, G4VUPLSplitter< T >::offset, and G4VPhysicsConstructor::subInstanceManager.

Referenced by G4VPhysicsConstructor::~G4VPhysicsConstructor().

Field Documentation

◆ g4vpcInstanceID

G4int G4VPhysicsConstructor::g4vpcInstanceID = 0
protectedinherited

◆ maxBERT_kaon

G4double G4HadronPhysicsFTFP_BERT::maxBERT_kaon
protectedinherited

◆ maxBERT_neutron

G4double G4HadronPhysicsFTFP_BERT::maxBERT_neutron
protectedinherited

◆ maxBERT_pion

G4double G4HadronPhysicsFTFP_BERT::maxBERT_pion
protectedinherited

◆ maxBERT_proton

G4double G4HadronPhysicsFTFP_BERT::maxBERT_proton
protectedinherited

◆ maxFTFP_proton

G4double G4HadronPhysicsNuBeam::maxFTFP_proton
private

Definition at line 65 of file G4HadronPhysicsNuBeam.hh.

Referenced by G4HadronPhysicsNuBeam(), and Proton().

◆ minBERT_neutron

G4double G4HadronPhysicsFTFP_BERT::minBERT_neutron
protectedinherited

◆ minBERT_proton

G4double G4HadronPhysicsFTFP_BERT::minBERT_proton
protectedinherited

◆ minFTFP_kaon

G4double G4HadronPhysicsFTFP_BERT::minFTFP_kaon
protectedinherited

◆ minFTFP_neutron

G4double G4HadronPhysicsFTFP_BERT::minFTFP_neutron
protectedinherited

◆ minFTFP_pion

G4double G4HadronPhysicsFTFP_BERT::minFTFP_pion
protectedinherited

◆ minFTFP_proton

G4double G4HadronPhysicsFTFP_BERT::minFTFP_proton
protectedinherited

◆ namePhysics

G4String G4VPhysicsConstructor::namePhysics = ""
protectedinherited

◆ QuasiElastic

G4bool G4HadronPhysicsFTFP_BERT::QuasiElastic
protectedinherited

◆ subInstanceManager

G4VPCManager G4VPhysicsConstructor::subInstanceManager
staticprotectedinherited

◆ theParticleTable

G4ParticleTable* G4VPhysicsConstructor::theParticleTable = nullptr
protectedinherited

◆ typePhysics

G4int G4VPhysicsConstructor::typePhysics = 0
protectedinherited

◆ verboseLevel

G4int G4VPhysicsConstructor::verboseLevel = 0
protectedinherited

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