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

#include <G4HadronicParameters.hh>

Public Member Functions

 ~G4HadronicParameters ()
 
G4double GetMaxEnergy () const
 
void SetMaxEnergy (const G4double val)
 
G4double GetMinEnergyTransitionFTF_Cascade () const
 
G4double GetMaxEnergyTransitionFTF_Cascade () const
 
void SetMinEnergyTransitionFTF_Cascade (const G4double val)
 
void SetMaxEnergyTransitionFTF_Cascade (const G4double val)
 
G4double GetMinEnergyTransitionQGS_FTF () const
 
G4double GetMaxEnergyTransitionQGS_FTF () const
 
void SetMinEnergyTransitionQGS_FTF (const G4double val)
 
void SetMaxEnergyTransitionQGS_FTF (const G4double val)
 
G4double EnergyThresholdForHeavyHadrons () const
 
void SetEnergyThresholdForHeavyHadrons (G4double val)
 
G4double XSFactorNucleonInelastic () const
 
void SetXSFactorNucleonInelastic (G4double val)
 
G4double XSFactorNucleonElastic () const
 
void SetXSFactorNucleonElastic (G4double val)
 
G4double XSFactorPionInelastic () const
 
void SetXSFactorPionInelastic (G4double val)
 
G4double XSFactorPionElastic () const
 
void SetXSFactorPionElastic (G4double val)
 
G4double XSFactorHadronInelastic () const
 
void SetXSFactorHadronInelastic (G4double val)
 
G4double XSFactorHadronElastic () const
 
void SetXSFactorHadronElastic (G4double val)
 
G4double XSFactorEM () const
 
void SetXSFactorEM (G4double val)
 
G4bool EnableBCParticles () const
 
void SetEnableBCParticles (G4bool val)
 
G4bool ApplyFactorXS () const
 
void SetApplyFactorXS (G4bool val)
 
G4int GetVerboseLevel () const
 
void SetVerboseLevel (const G4int val)
 
G4bool EnableCRCoalescence () const
 
void SetEnableCRCoalescence (G4bool val)
 

Static Public Member Functions

static G4HadronicParametersInstance ()
 

Detailed Description

Definition at line 48 of file G4HadronicParameters.hh.

Constructor & Destructor Documentation

◆ ~G4HadronicParameters()

G4HadronicParameters::~G4HadronicParameters ( )

Definition at line 69 of file G4HadronicParameters.cc.

69 {
70 delete fMessenger;
71}

Member Function Documentation

◆ ApplyFactorXS()

◆ EnableBCParticles()

◆ EnableCRCoalescence()

G4bool G4HadronicParameters::EnableCRCoalescence ( ) const
inline

Definition at line 219 of file G4HadronicParameters.hh.

219 {
220 return fEnableCRCoalescence;
221}

◆ EnergyThresholdForHeavyHadrons()

◆ GetMaxEnergy()

G4double G4HadronicParameters::GetMaxEnergy ( ) const
inline

◆ GetMaxEnergyTransitionFTF_Cascade()

◆ GetMaxEnergyTransitionQGS_FTF()

G4double G4HadronicParameters::GetMaxEnergyTransitionQGS_FTF ( ) const
inline

◆ GetMinEnergyTransitionFTF_Cascade()

◆ GetMinEnergyTransitionQGS_FTF()

◆ GetVerboseLevel()

◆ Instance()

G4HadronicParameters * G4HadronicParameters::Instance ( )
static

Definition at line 52 of file G4HadronicParameters.cc.

52 {
53 if ( sInstance == nullptr ) {
54 #ifdef G4MULTITHREADED
55 G4MUTEXLOCK( &paramMutex );
56 if ( sInstance == nullptr ) {
57 #endif
58 static G4HadronicParameters theHadronicParametersObject;
59 sInstance = &theHadronicParametersObject;
60 #ifdef G4MULTITHREADED
61 }
62 G4MUTEXUNLOCK(&paramMutex);
63 #endif
64 }
65 return sInstance;
66}
#define G4MUTEXLOCK(mutex)
Definition: G4Threading.hh:251
#define G4MUTEXUNLOCK(mutex)
Definition: G4Threading.hh:254

Referenced by G4ParticleHPInelastic::ApplyYourself(), G4TheoFSGenerator::ApplyYourself(), G4BertiniElectroNuclearBuilder::Build(), G4QGSBinaryKaonBuilder::Build(), G4QGSBinaryNeutronBuilder::Build(), G4QGSPNeutronBuilder::Build(), G4QGSBinaryPiKBuilder::Build(), G4QGSBinaryPionBuilder::Build(), G4QGSPPiKBuilder::Build(), G4QGSPPionBuilder::Build(), G4QGSBinaryProtonBuilder::Build(), G4QGSPLundStrFragmProtonBuilder::Build(), G4QGSPProtonBuilder::Build(), G4HadronicBuilder::BuildBCHadronsFTFP_BERT(), G4HadronicBuilder::BuildBCHadronsFTFQGSP_BERT(), G4HadronicBuilder::BuildBCHadronsQGSP_FTFP_BERT(), G4HadronicBuilder::BuildElastic(), G4QGSBuilder::BuildModel(), G4CrossSectionElastic::BuildPhysicsTable(), G4CrossSectionInelastic::BuildPhysicsTable(), G4ParticleHPCaptureData::BuildPhysicsTable(), G4ParticleHPElasticData::BuildPhysicsTable(), G4ParticleHPFissionData::BuildPhysicsTable(), G4ParticleHPInelastic::BuildPhysicsTable(), G4ParticleHPInelasticData::BuildPhysicsTable(), G4RadioactiveDecay::BuildPhysicsTable(), G4RadioactiveDecayBase::BuildPhysicsTable(), G4EmBuilder::ConstructCharged(), LBE::ConstructHad(), G4HadronElasticPhysics::ConstructProcess(), G4HadronHElasticPhysics::ConstructProcess(), G4HadronInelasticQBBC::ConstructProcess(), G4HadronPhysicsFTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFQGSP_BERT::ConstructProcess(), G4HadronPhysicsQGSP_BERT::ConstructProcess(), G4HadronPhysicsQGSP_BIC::ConstructProcess(), G4IonINCLXXPhysics::ConstructProcess(), G4IonPhysics::ConstructProcess(), G4IonPhysicsPHP::ConstructProcess(), G4IonQMDPhysics::ConstructProcess(), G4ParticleHPCaptureData::DumpPhysicsTable(), G4ParticleHPElasticData::DumpPhysicsTable(), G4ParticleHPFissionData::DumpPhysicsTable(), G4ParticleHPInelasticData::DumpPhysicsTable(), G4INCLXXInterfaceStore::EmitBigWarning(), G4BertiniKaonBuilder::G4BertiniKaonBuilder(), G4BertiniNeutronBuilder::G4BertiniNeutronBuilder(), G4BertiniPiKBuilder::G4BertiniPiKBuilder(), G4BertiniPionBuilder::G4BertiniPionBuilder(), G4BertiniProtonBuilder::G4BertiniProtonBuilder(), G4BGGPionElasticXS::G4BGGPionElasticXS(), G4BGGPionInelasticXS::G4BGGPionInelasticXS(), G4BinaryAlphaBuilder::G4BinaryAlphaBuilder(), G4BinaryDeuteronBuilder::G4BinaryDeuteronBuilder(), G4BinaryHe3Builder::G4BinaryHe3Builder(), G4BinaryNeutronBuilder::G4BinaryNeutronBuilder(), G4BinaryProtonBuilder::G4BinaryProtonBuilder(), G4BinaryTritonBuilder::G4BinaryTritonBuilder(), G4ChargeExchange::G4ChargeExchange(), G4DiffuseElastic::G4DiffuseElastic(), G4DiffuseElasticV2::G4DiffuseElasticV2(), G4FTFBinaryKaonBuilder::G4FTFBinaryKaonBuilder(), G4FTFBinaryNeutronBuilder::G4FTFBinaryNeutronBuilder(), G4FTFBinaryPiKBuilder::G4FTFBinaryPiKBuilder(), G4FTFBinaryPionBuilder::G4FTFBinaryPionBuilder(), G4FTFBinaryProtonBuilder::G4FTFBinaryProtonBuilder(), G4FTFPAntiBarionBuilder::G4FTFPAntiBarionBuilder(), G4FTFPKaonBuilder::G4FTFPKaonBuilder(), G4FTFPNeutronBuilder::G4FTFPNeutronBuilder(), G4FTFPPiKBuilder::G4FTFPPiKBuilder(), G4FTFPPionBuilder::G4FTFPPionBuilder(), G4FTFPProtonBuilder::G4FTFPProtonBuilder(), G4HadronElastic::G4HadronElastic(), G4HadronicAbsorptionFritiof::G4HadronicAbsorptionFritiof(), G4HadronicAbsorptionFritiofWithBinaryCascade::G4HadronicAbsorptionFritiofWithBinaryCascade(), G4HadronicInteraction::G4HadronicInteraction(), G4HadronInelasticQBBC::G4HadronInelasticQBBC(), G4HadronPhysicsFTFP_BERT::G4HadronPhysicsFTFP_BERT(), G4HadronPhysicsFTFP_BERT_TRV::G4HadronPhysicsFTFP_BERT_TRV(), G4HadronPhysicsQGSP_BERT::G4HadronPhysicsQGSP_BERT(), G4HadronPhysicsQGSP_BIC::G4HadronPhysicsQGSP_BIC(), G4HadronPhysicsQGSP_FTFP_BERT::G4HadronPhysicsQGSP_FTFP_BERT(), G4hhElastic::G4hhElastic(), G4HyperonFTFPBuilder::G4HyperonFTFPBuilder(), G4HyperonQGSPBuilder::G4HyperonQGSPBuilder(), G4LowEGammaNuclearModel::G4LowEGammaNuclearModel(), G4LundStringFragmentation::G4LundStringFragmentation(), G4NeutrinoElectronCcModel::G4NeutrinoElectronCcModel(), G4NeutrinoElectronNcModel::G4NeutrinoElectronNcModel(), G4NeutronRadCapture::G4NeutronRadCapture(), G4NuclNuclDiffuseElastic::G4NuclNuclDiffuseElastic(), G4ParticleHPInelastic::G4ParticleHPInelastic(), G4ParticleHPInelasticData::G4ParticleHPInelasticData(), G4QGSBinaryKaonBuilder::G4QGSBinaryKaonBuilder(), G4QGSBinaryNeutronBuilder::G4QGSBinaryNeutronBuilder(), G4QGSBinaryPiKBuilder::G4QGSBinaryPiKBuilder(), G4QGSBinaryPionBuilder::G4QGSBinaryPionBuilder(), G4QGSBinaryProtonBuilder::G4QGSBinaryProtonBuilder(), G4QGSMFragmentation::G4QGSMFragmentation(), G4QGSPAntiBarionBuilder::G4QGSPAntiBarionBuilder(), G4QGSPKaonBuilder::G4QGSPKaonBuilder(), G4QGSPNeutronBuilder::G4QGSPNeutronBuilder(), G4QGSPPiKBuilder::G4QGSPPiKBuilder(), G4QGSPPionBuilder::G4QGSPPionBuilder(), G4QGSPProtonBuilder::G4QGSPProtonBuilder(), G4VPhysicsConstructor::G4VPhysicsConstructor(), G4ParticleHPProduct::GetMultiplicity(), G4ParticleHPNames::GetName(), G4DeexPrecoParameters::GetVerbose(), G4PhysListUtil::InitialiseParameters(), G4HadronPhysicsFTFP_BERT::Kaon(), G4HadronPhysicsFTF_BIC::Kaon(), G4HadronPhysicsINCLXX::Kaon(), G4HadronPhysicsFTFP_BERT::Neutron(), G4HadronPhysicsQGS_BIC::Neutron(), G4HadronPhysicsQGSP_BERT::Neutron(), G4HadronPhysicsQGSP_BIC::Neutron(), G4HadronPhysicsFTF_BIC::Neutron(), G4HadronPhysicsFTFP_BERT_HP::Neutron(), G4HadronPhysicsINCLXX::Neutron(), G4HadronPhysicsQGSP_BERT_HP::Neutron(), G4HadronPhysicsQGSP_BIC_HP::Neutron(), G4HadronPhysicsShielding::Neutron(), G4HadronPhysicsFTFP_BERT::Others(), G4HadronPhysicsQGSP_BERT::Others(), G4HadronPhysicsQGSP_BIC::Others(), G4HadronPhysicsINCLXX::Others(), G4HadronPhysicsFTFP_BERT::Pion(), G4HadronPhysicsQGS_BIC::Pion(), G4HadronPhysicsQGSP_BERT::Pion(), G4HadronPhysicsQGSP_BIC::Pion(), G4HadronPhysicsFTF_BIC::Pion(), G4HadronPhysicsINCLXX::Pion(), G4HadronPhysicsFTFP_BERT::Proton(), G4HadronPhysicsQGS_BIC::Proton(), G4HadronPhysicsQGSP_BERT::Proton(), G4HadronPhysicsQGSP_BIC::Proton(), G4HadronPhysicsFTF_BIC::Proton(), G4HadronPhysicsINCLXX::Proton(), G4HadronPhysicsNuBeam::Proton(), G4HadronPhysicsQGSP_BIC_AllHP::Proton(), G4ParticleHPProduct::Sample(), G4DeexPrecoParameters::SetDefaults(), and Shielding::Shielding().

◆ SetApplyFactorXS()

void G4HadronicParameters::SetApplyFactorXS ( G4bool  val)

Definition at line 190 of file G4HadronicParameters.cc.

190 {
191 if ( ! IsLocked() ) fApplyFactorXS = val;
192}

◆ SetEnableBCParticles()

◆ SetEnableCRCoalescence()

void G4HadronicParameters::SetEnableCRCoalescence ( G4bool  val)

Definition at line 195 of file G4HadronicParameters.cc.

195 {
196 if ( ! IsLocked() ) fEnableCRCoalescence = val;
197}

Referenced by G4HadronicParametersMessenger::SetNewValue().

◆ SetEnergyThresholdForHeavyHadrons()

void G4HadronicParameters::SetEnergyThresholdForHeavyHadrons ( G4double  val)

Definition at line 134 of file G4HadronicParameters.cc.

134 {
135 if ( ! IsLocked() && val >= 0 && val < 5*CLHEP::GeV ) {
136 fEnergyThresholdForHeavyHadrons = val;
137 }
138}

◆ SetMaxEnergy()

void G4HadronicParameters::SetMaxEnergy ( const G4double  val)

Definition at line 91 of file G4HadronicParameters.cc.

91 {
92 if ( ! IsLocked() && val > 0.0 ) {
93 fMaxEnergy = val;
94 }
95}

Referenced by G4HadronicParametersMessenger::SetNewValue().

◆ SetMaxEnergyTransitionFTF_Cascade()

void G4HadronicParameters::SetMaxEnergyTransitionFTF_Cascade ( const G4double  val)

Definition at line 104 of file G4HadronicParameters.cc.

104 {
105 if ( ! IsLocked() && val > fMinEnergyTransitionFTF_Cascade ) {
106 fMaxEnergyTransitionFTF_Cascade = val;
107 }
108}

◆ SetMaxEnergyTransitionQGS_FTF()

void G4HadronicParameters::SetMaxEnergyTransitionQGS_FTF ( const G4double  val)

Definition at line 117 of file G4HadronicParameters.cc.

117 {
118 if ( ! IsLocked() && val > fMinEnergyTransitionQGS_FTF ) {
119 fMaxEnergyTransitionQGS_FTF = val;
120 }
121}

◆ SetMinEnergyTransitionFTF_Cascade()

void G4HadronicParameters::SetMinEnergyTransitionFTF_Cascade ( const G4double  val)

Definition at line 98 of file G4HadronicParameters.cc.

98 {
99 if ( ! IsLocked() && val > 0.0 ) {
100 fMinEnergyTransitionFTF_Cascade = val;
101 }
102}

◆ SetMinEnergyTransitionQGS_FTF()

void G4HadronicParameters::SetMinEnergyTransitionQGS_FTF ( const G4double  val)

Definition at line 111 of file G4HadronicParameters.cc.

111 {
112 if ( ! IsLocked() && val > 0.0 ) {
113 fMinEnergyTransitionQGS_FTF = val;
114 }
115}

◆ SetVerboseLevel()

void G4HadronicParameters::SetVerboseLevel ( const G4int  val)

Definition at line 129 of file G4HadronicParameters.cc.

129 {
130 if ( ! IsLocked() && val >= 0 ) fVerboseLevel = val;
131}

Referenced by G4VPhysicsConstructor::G4VPhysicsConstructor(), and G4HadronicParametersMessenger::SetNewValue().

◆ SetXSFactorEM()

void G4HadronicParameters::SetXSFactorEM ( G4double  val)

Definition at line 183 of file G4HadronicParameters.cc.

183 {
184 if ( ! IsLocked() && std::abs(val - 1.0) < fXSFactorLimit ) {
185 fXSFactorEM = val;
186 }
187}

◆ SetXSFactorHadronElastic()

void G4HadronicParameters::SetXSFactorHadronElastic ( G4double  val)

Definition at line 176 of file G4HadronicParameters.cc.

176 {
177 if ( ! IsLocked() && std::abs(val - 1.0) < fXSFactorLimit ) {
178 fXSFactorHadronElastic = val;
179 }
180}

◆ SetXSFactorHadronInelastic()

void G4HadronicParameters::SetXSFactorHadronInelastic ( G4double  val)

Definition at line 169 of file G4HadronicParameters.cc.

169 {
170 if ( ! IsLocked() && std::abs(val - 1.0) < fXSFactorLimit ) {
171 fXSFactorHadronInelastic = val;
172 }
173}

◆ SetXSFactorNucleonElastic()

void G4HadronicParameters::SetXSFactorNucleonElastic ( G4double  val)

Definition at line 148 of file G4HadronicParameters.cc.

148 {
149 if ( ! IsLocked() && std::abs(val - 1.0) < fXSFactorLimit ) {
150 fXSFactorNucleonElastic = val;
151 }
152}

◆ SetXSFactorNucleonInelastic()

void G4HadronicParameters::SetXSFactorNucleonInelastic ( G4double  val)

Definition at line 141 of file G4HadronicParameters.cc.

141 {
142 if ( ! IsLocked() && std::abs(val - 1.0) < fXSFactorLimit ) {
143 fXSFactorNucleonInelastic = val;
144 }
145}

◆ SetXSFactorPionElastic()

void G4HadronicParameters::SetXSFactorPionElastic ( G4double  val)

Definition at line 162 of file G4HadronicParameters.cc.

162 {
163 if ( ! IsLocked() && std::abs(val - 1.0) < fXSFactorLimit ) {
164 fXSFactorPionElastic = val;
165 }
166}

◆ SetXSFactorPionInelastic()

void G4HadronicParameters::SetXSFactorPionInelastic ( G4double  val)

Definition at line 155 of file G4HadronicParameters.cc.

155 {
156 if ( ! IsLocked() && std::abs(val - 1.0) < fXSFactorLimit ) {
157 fXSFactorPionInelastic = val;
158 }
159}

◆ XSFactorEM()

G4double G4HadronicParameters::XSFactorEM ( ) const
inline

Definition at line 203 of file G4HadronicParameters.hh.

203 {
204 return fXSFactorEM;
205}

◆ XSFactorHadronElastic()

G4double G4HadronicParameters::XSFactorHadronElastic ( ) const
inline

Definition at line 199 of file G4HadronicParameters.hh.

199 {
200 return fXSFactorHadronElastic;
201}

Referenced by G4HadronicBuilder::BuildElastic(), and G4HadronElasticPhysics::ConstructProcess().

◆ XSFactorHadronInelastic()

G4double G4HadronicParameters::XSFactorHadronInelastic ( ) const
inline

◆ XSFactorNucleonElastic()

G4double G4HadronicParameters::XSFactorNucleonElastic ( ) const
inline

Definition at line 183 of file G4HadronicParameters.hh.

183 {
184 return fXSFactorNucleonElastic;
185}

Referenced by G4HadronElasticPhysics::ConstructProcess().

◆ XSFactorNucleonInelastic()

◆ XSFactorPionElastic()

G4double G4HadronicParameters::XSFactorPionElastic ( ) const
inline

Definition at line 191 of file G4HadronicParameters.hh.

191 {
192 return fXSFactorPionElastic;
193}

Referenced by G4HadronElasticPhysics::ConstructProcess().

◆ XSFactorPionInelastic()


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