Geant4-11
Public Member Functions | Static Public Member Functions | Data Fields | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes
G4HadronHElasticPhysics Class Reference

#include <G4HadronHElasticPhysics.hh>

Inheritance diagram for G4HadronHElasticPhysics:
G4HadronElasticPhysics G4VPhysicsConstructor

Public Member Functions

void AddXSection (const G4ParticleDefinition *, G4VCrossSectionDataSet *) const
 
void ConstructParticle () override
 
void ConstructProcess () override
 
 G4HadronHElasticPhysics (G4HadronHElasticPhysics &)=delete
 
 G4HadronHElasticPhysics (G4int ver=1, G4bool diffraction=false)
 
G4HadronElasticGetElasticModel (const G4ParticleDefinition *part) const
 
G4HadronicProcessGetElasticProcess (const G4ParticleDefinition *part) const
 
G4int GetInstanceID () const
 
G4HadronElasticGetNeutronModel () const
 
G4HadronicProcessGetNeutronProcess () const
 
const G4StringGetPhysicsName () const
 
G4int GetPhysicsType () const
 
G4int GetVerboseLevel () const
 
G4HadronHElasticPhysicsoperator= (const G4HadronHElasticPhysics &right)=delete
 
void SetDiffraction (G4bool val)
 
void SetPhysicsName (const G4String &="")
 
void SetPhysicsType (G4int)
 
void SetVerboseLevel (G4int value)
 
virtual void TerminateWorker ()
 
virtual ~G4HadronHElasticPhysics ()
 

Static Public Member Functions

static const G4VPCManagerGetSubInstanceManager ()
 

Data Fields

G4bool fDiffraction
 

Protected Types

using PhysicsBuilder_V = G4VPCData::PhysicsBuilders_V
 

Protected Member Functions

void AddBuilder (G4PhysicsBuilderInterface *bld)
 
PhysicsBuilder_V GetBuilders () const
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 

Protected Attributes

G4int g4vpcInstanceID = 0
 
G4String namePhysics = ""
 
G4ParticleTabletheParticleTable = nullptr
 
G4int typePhysics = 0
 
G4int verboseLevel = 0
 

Static Protected Attributes

static G4RUN_DLL G4VPCManager subInstanceManager
 

Detailed Description

Definition at line 43 of file G4HadronHElasticPhysics.hh.

Member Typedef Documentation

◆ PhysicsBuilder_V

Definition at line 149 of file G4VPhysicsConstructor.hh.

Constructor & Destructor Documentation

◆ G4HadronHElasticPhysics() [1/2]

G4HadronHElasticPhysics::G4HadronHElasticPhysics ( G4int  ver = 1,
G4bool  diffraction = false 
)

Definition at line 84 of file G4HadronHElasticPhysics.cc.

85 : G4HadronElasticPhysics(ver, "hElastic_BEST"),
86 fDiffraction(diffraction)
87{
88 if (ver > 1) {
89 G4cout << "### G4HadronHElasticPhysics: " << GetPhysicsName()
90 << " low-mass diffraction: " << fDiffraction << G4endl;
91 }
92}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
G4HadronElasticPhysics(G4int ver=1, const G4String &nam="hElasticWEL_CHIPS_XS")
const G4String & GetPhysicsName() const

References fDiffraction, G4cout, G4endl, and G4VPhysicsConstructor::GetPhysicsName().

◆ ~G4HadronHElasticPhysics()

G4HadronHElasticPhysics::~G4HadronHElasticPhysics ( )
virtual

Definition at line 94 of file G4HadronHElasticPhysics.cc.

94{}

◆ G4HadronHElasticPhysics() [2/2]

G4HadronHElasticPhysics::G4HadronHElasticPhysics ( G4HadronHElasticPhysics )
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(), G4HadronPhysicsNuBeam::Proton(), G4HadronPhysicsQGS_BIC::Proton(), and G4HadronPhysicsQGSP_BIC_AllHP::Proton().

◆ AddXSection()

void G4HadronElasticPhysics::AddXSection ( const G4ParticleDefinition part,
G4VCrossSectionDataSet cross 
) const
inherited

Definition at line 240 of file G4HadronElasticPhysics.cc.

242{
244 if(hel) { hel->AddDataSet(cross); }
245}
G4HadronicProcess * GetElasticProcess(const G4ParticleDefinition *part) const
void AddDataSet(G4VCrossSectionDataSet *aDataSet)

References G4HadronicProcess::AddDataSet(), and G4HadronElasticPhysics::GetElasticProcess().

◆ ConstructParticle()

void G4HadronElasticPhysics::ConstructParticle ( )
overridevirtualinherited

Implements G4VPhysicsConstructor.

Definition at line 93 of file G4HadronElasticPhysics.cc.

94{
95 // G4cout << "G4HadronElasticPhysics::ConstructParticle" << G4endl;
96 G4MesonConstructor pMesonConstructor;
97 pMesonConstructor.ConstructParticle();
98
99 G4BaryonConstructor pBaryonConstructor;
100 pBaryonConstructor.ConstructParticle();
101
102 G4IonConstructor pConstructor;
103 pConstructor.ConstructParticle();
104}
static void ConstructParticle()
static void ConstructParticle()
static void ConstructParticle()

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

◆ ConstructProcess()

void G4HadronHElasticPhysics::ConstructProcess ( )
overridevirtual

Reimplemented from G4HadronElasticPhysics.

Definition at line 96 of file G4HadronHElasticPhysics.cc.

96 {
98 G4bool useFactorXS = param->ApplyFactorXS();
101
102 const G4double elimitDiffuse = 10.0;
103 const G4double elimitAntiNuc = 100.0*MeV;
104 const G4double delta = 0.1*MeV;
105 G4double emax = std::max(param->GetMaxEnergy(), elimitAntiNuc+delta);
106 if (param->GetVerboseLevel() > 1 ) {
107 G4cout << "### HadronHElasticPhysics::ConstructProcess: lower energy limit for DiffuseElastic : "
108 << elimitDiffuse/GeV << " GeV" << G4endl
109 << " transition energy for anti-nuclei : "
110 << elimitAntiNuc/GeV << " GeV" << G4endl;
111 }
112 G4HadronElastic* lhep0 = new G4HadronElastic();
113 G4HadronElastic* lhep1 = new G4HadronElastic();
114 G4HadronElastic* lhep2 = new G4HadronElastic();
115 lhep0->SetMaxEnergy(emax);
116 lhep1->SetMaxEnergy(elimitDiffuse+delta);
117 lhep2->SetMaxEnergy(elimitAntiNuc+delta);
118
120 anuc->SetMinEnergy( elimitAntiNuc );
121 anuc->SetMaxEnergy(emax);
122
123 auto anucxs = G4HadProcesses::ElasticXS("AntiAGlauber");
124 auto xsNN = G4HadProcesses::ElasticXS("Glauber-Gribov Nucl-nucl");
125
126 G4LMsdGenerator* diffGen = nullptr;
127 G4DiffElasticRatio* diffRatio = nullptr;
128 if( fDiffraction ) {
129 diffGen = new G4LMsdGenerator("LMsdDiffraction");
130 diffRatio = new G4DiffElasticRatio();
131 }
132
133 // Use Chips elastic model only for the hydrogen element and above an energy threshold
135 chipsH->SetMinEnergy( elimitDiffuse );
136 const G4ElementTable* theElementTable = G4Element::GetElementTable();
137 for ( size_t i_ele = 0; i_ele < theElementTable->size(); i_ele++ ) {
138 G4Element* element = (*theElementTable)[ i_ele ];
139 if ( element->GetZ() > 1.0 ) chipsH->DeActivateFor( element );
140 }
141
142 // p
145 hel->AddDataSet(new G4BGGNucleonElasticXS(particle));
146 G4DiffuseElastic* protonDiffuseElastic = new G4DiffuseElastic();
147 protonDiffuseElastic->SetMinEnergy( elimitDiffuse );
148 hel->RegisterMe( chipsH ); // Use Chips only for Hydrogen element
149 hel->RegisterMe( protonDiffuseElastic );
150 hel->RegisterMe( lhep1 );
151 if( fDiffraction) hel->SetDiffraction(diffGen, diffRatio);
152 if( useFactorXS ) hel->MultiplyCrossSectionBy( param->XSFactorNucleonElastic() );
153 ph->RegisterProcess(hel, particle);
154
155 // n
156 particle = G4Neutron::Neutron();
157 hel = new G4HadronElasticProcess();
158 hel->AddDataSet(new G4NeutronElasticXS());
159 G4DiffuseElastic* neutronDiffuseElastic = new G4DiffuseElastic();
160 neutronDiffuseElastic->SetMinEnergy( elimitDiffuse );
161 hel->RegisterMe( chipsH ); // Use Chips only for Hydrogen element
162 hel->RegisterMe( neutronDiffuseElastic );
163 hel->RegisterMe( lhep1 );
164 if( fDiffraction) hel->SetDiffraction(diffGen, diffRatio);
165 if( useFactorXS ) hel->MultiplyCrossSectionBy( param->XSFactorNucleonElastic() );
166 ph->RegisterProcess(hel, particle);
167
168 // pi+
169 particle = G4PionPlus::PionPlus();
170 hel = new G4HadronElasticProcess();
171 hel->AddDataSet(new G4BGGPionElasticXS(particle));
172 G4DiffuseElastic* dElastic = new G4DiffuseElastic();
173 dElastic->SetMinEnergy( elimitDiffuse );
174 hel->RegisterMe( chipsH ); // Use Chips only for Hydrogen element
175 hel->RegisterMe( dElastic );
176 hel->RegisterMe( lhep1 );
177 if( fDiffraction) hel->SetDiffraction(diffGen, diffRatio);
178 if( useFactorXS ) hel->MultiplyCrossSectionBy( param->XSFactorPionElastic() );
179 ph->RegisterProcess(hel, particle);
180
181 // pi-
182 particle = G4PionMinus::PionMinus();
183 hel = new G4HadronElasticProcess();
184 hel->AddDataSet(new G4BGGPionElasticXS(particle));
185 dElastic = new G4DiffuseElastic();
186 dElastic->SetMinEnergy( elimitDiffuse );
187 hel->RegisterMe( chipsH ); // Use Chips only for Hydrogen element
188 hel->RegisterMe( dElastic );
189 hel->RegisterMe( lhep1 );
190 if( fDiffraction) hel->SetDiffraction(diffGen, diffRatio);
191 if( useFactorXS ) hel->MultiplyCrossSectionBy( param->XSFactorPionElastic() );
192 ph->RegisterProcess(hel, particle);
193
194 // kaons
196
197 // d, t, He3, alpha
198 for( auto & pdg : G4HadParticles::GetLightIons() ) {
199 particle = table->FindParticle( pdg );
200 if ( particle == nullptr ) { continue; }
201
202 hel = new G4HadronElasticProcess();
203 hel->AddDataSet(xsNN);
204 hel->RegisterMe(lhep0);
205 if( useFactorXS ) hel->MultiplyCrossSectionBy( param->XSFactorHadronElastic() );
206 ph->RegisterProcess(hel, particle);
207 }
208
209 // high energy particles
210 if( emax > param->EnergyThresholdForHeavyHadrons() ) {
211
212 // pbar, nbar, anti light ions
213 for( auto & pdg : G4HadParticles::GetLightAntiIons() ) {
214 particle = table->FindParticle( pdg );
215 if ( particle == nullptr ) { continue; }
216
217 hel = new G4HadronElasticProcess();
218 hel->RegisterMe(lhep2);
219 hel->RegisterMe(anuc);
220 hel->AddDataSet(anucxs);
221 if( useFactorXS ) hel->MultiplyCrossSectionBy( param->XSFactorHadronElastic() );
222 ph->RegisterProcess(hel, particle);
223 }
224
225 // hyperons
228
229 // b-, c- baryons and mesons
230 if( G4HadronicParameters::Instance()->EnableBCParticles() ) {
232 }
233 }
234}
static const G4double emax
std::vector< G4Element * > G4ElementTable
static constexpr double GeV
Definition: G4SIunits.hh:203
static constexpr double MeV
Definition: G4SIunits.hh:200
double G4double
Definition: G4Types.hh:83
bool G4bool
Definition: G4Types.hh:86
static G4ElementTable * GetElementTable()
Definition: G4Element.cc:397
G4double GetZ() const
Definition: G4Element.hh:131
static const std::vector< G4int > & GetBCHadrons()
static const std::vector< G4int > & GetAntiHyperons()
static const std::vector< G4int > & GetLightAntiIons()
static const std::vector< G4int > & GetLightIons()
static const std::vector< G4int > & GetKaons()
static const std::vector< G4int > & GetHyperons()
static G4CrossSectionElastic * ElasticXS(const G4String &componentName)
void SetDiffraction(G4HadronicInteraction *, G4VCrossSectionRatio *)
static void BuildElastic(const std::vector< G4int > &particleList)
void DeActivateFor(const G4Material *aMaterial)
void SetMinEnergy(G4double anEnergy)
void SetMaxEnergy(const G4double anEnergy)
G4double XSFactorPionElastic() const
static G4HadronicParameters * Instance()
G4double XSFactorNucleonElastic() const
G4double EnergyThresholdForHeavyHadrons() const
G4double XSFactorHadronElastic() const
G4double GetMaxEnergy() const
void MultiplyCrossSectionBy(G4double factor)
void RegisterMe(G4HadronicInteraction *a)
static G4Neutron * Neutron()
Definition: G4Neutron.cc:103
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
G4bool RegisterProcess(G4VProcess *process, G4ParticleDefinition *particle)
static G4PhysicsListHelper * GetPhysicsListHelper()
static G4PionMinus * PionMinus()
Definition: G4PionMinus.cc:97
static G4PionPlus * PionPlus()
Definition: G4PionPlus.cc:97
static G4Proton * Proton()
Definition: G4Proton.cc:92
T max(const T t1, const T t2)
brief Return the largest of the two arguments

References G4HadronicProcess::AddDataSet(), G4HadronicParameters::ApplyFactorXS(), G4HadronicBuilder::BuildElastic(), G4HadronicInteraction::DeActivateFor(), G4HadProcesses::ElasticXS(), emax, G4HadronicParameters::EnergyThresholdForHeavyHadrons(), fDiffraction, G4ParticleTable::FindParticle(), G4cout, G4endl, G4HadParticles::GetAntiHyperons(), G4HadParticles::GetBCHadrons(), G4Element::GetElementTable(), G4HadParticles::GetHyperons(), G4HadParticles::GetKaons(), G4HadParticles::GetLightAntiIons(), G4HadParticles::GetLightIons(), G4HadronicParameters::GetMaxEnergy(), G4ParticleTable::GetParticleTable(), G4PhysicsListHelper::GetPhysicsListHelper(), G4HadronicParameters::GetVerboseLevel(), G4Element::GetZ(), GeV, G4HadronicParameters::Instance(), G4INCL::Math::max(), MeV, G4HadronicProcess::MultiplyCrossSectionBy(), G4Neutron::Neutron(), G4PionMinus::PionMinus(), G4PionPlus::PionPlus(), G4Proton::Proton(), G4HadronicProcess::RegisterMe(), G4PhysicsListHelper::RegisterProcess(), G4HadronElasticProcess::SetDiffraction(), G4HadronicInteraction::SetMaxEnergy(), G4HadronicInteraction::SetMinEnergy(), G4HadronicParameters::XSFactorHadronElastic(), G4HadronicParameters::XSFactorNucleonElastic(), and G4HadronicParameters::XSFactorPionElastic().

◆ 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.

◆ GetElasticModel()

G4HadronElastic * G4HadronElasticPhysics::GetElasticModel ( const G4ParticleDefinition part) const
inherited

Definition at line 219 of file G4HadronElasticPhysics.cc.

220{
221 G4HadronElastic* mod = nullptr;
223 if(hel) {
224 std::vector<G4HadronicInteraction*>& hi = hel->GetHadronicInteractionList();
225 if( !hi.empty() ) { mod = static_cast<G4HadronElastic*>(hi[0]); }
226 }
227 return mod;
228}
std::vector< G4HadronicInteraction * > & GetHadronicInteractionList()

References G4HadronElasticPhysics::GetElasticProcess(), and G4HadronicProcess::GetHadronicInteractionList().

Referenced by G4HadronElasticPhysicsHP::ConstructProcess(), G4HadronElasticPhysicsLEND::ConstructProcess(), G4HadronElasticPhysicsPHP::ConstructProcess(), and G4HadronElasticPhysics::GetNeutronModel().

◆ GetElasticProcess()

G4HadronicProcess * G4HadronElasticPhysics::GetElasticProcess ( const G4ParticleDefinition part) const
inherited

◆ GetInstanceID()

G4int G4VPhysicsConstructor::GetInstanceID ( ) const
inlineinherited

◆ GetNeutronModel()

G4HadronElastic * G4HadronElasticPhysics::GetNeutronModel ( ) const
inherited

Definition at line 235 of file G4HadronElasticPhysics.cc.

236{
238}
G4HadronElastic * GetElasticModel(const G4ParticleDefinition *part) const

References G4HadronElasticPhysics::GetElasticModel(), and G4Neutron::Neutron().

◆ GetNeutronProcess()

G4HadronicProcess * G4HadronElasticPhysics::GetNeutronProcess ( ) const
inherited

◆ 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(), 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

◆ operator=()

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

◆ RegisterProcess()

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

◆ SetDiffraction()

void G4HadronHElasticPhysics::SetDiffraction ( G4bool  val)
inline

Definition at line 53 of file G4HadronHElasticPhysics.hh.

53{ fDiffraction = val; };

References fDiffraction.

◆ SetPhysicsName()

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

Definition at line 186 of file G4VPhysicsConstructor.hh.

187{
189}
const char * name(G4int ptype)

References G4InuclParticleNames::name(), and G4VPhysicsConstructor::namePhysics.

Referenced by export_G4VPhysicsConstructor().

◆ 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

◆ fDiffraction

G4bool G4HadronHElasticPhysics::fDiffraction

◆ g4vpcInstanceID

G4int G4VPhysicsConstructor::g4vpcInstanceID = 0
protectedinherited

◆ namePhysics

G4String G4VPhysicsConstructor::namePhysics = ""
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: