Geant4-11
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
G4HadronicParameters Class Reference

#include <G4HadronicParameters.hh>

Public Member Functions

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

Static Public Member Functions

static G4HadronicParametersInstance ()
 

Private Member Functions

 G4HadronicParameters ()
 
G4bool IsLocked () const
 

Private Attributes

G4bool fApplyFactorXS = false
 
G4bool fEnableBC = false
 
G4bool fEnableCRCoalescence = false
 
G4bool fEnableHyperNuclei = false
 
G4double fEnergyThresholdForHeavyHadrons
 
G4double fMaxEnergy
 
G4double fMaxEnergyTransitionFTF_Cascade
 
G4double fMaxEnergyTransitionQGS_FTF
 
G4HadronicParametersMessengerfMessenger
 
G4double fMinEnergyTransitionFTF_Cascade
 
G4double fMinEnergyTransitionQGS_FTF
 
G4int fVerboseLevel = 1
 
G4double fXSFactorEM = 1.0
 
G4double fXSFactorHadronElastic = 1.0
 
G4double fXSFactorHadronInelastic = 1.0
 
G4double fXSFactorLimit = 0.2
 
G4double fXSFactorNucleonElastic = 1.0
 
G4double fXSFactorNucleonInelastic = 1.0
 
G4double fXSFactorPionElastic = 1.0
 
G4double fXSFactorPionInelastic = 1.0
 

Static Private Attributes

static G4HadronicParameterssInstance = nullptr
 

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}
G4HadronicParametersMessenger * fMessenger

References fMessenger.

◆ G4HadronicParameters()

G4HadronicParameters::G4HadronicParameters ( )
private

Definition at line 74 of file G4HadronicParameters.cc.

References fEnergyThresholdForHeavyHadrons, fMaxEnergy, fMaxEnergyTransitionFTF_Cascade, fMaxEnergyTransitionQGS_FTF, fMessenger, fMinEnergyTransitionFTF_Cascade, fMinEnergyTransitionQGS_FTF, CLHEP::GeV, and CLHEP::TeV.

Member Function Documentation

◆ ApplyFactorXS()

G4bool G4HadronicParameters::ApplyFactorXS ( ) const
inline

Definition at line 225 of file G4HadronicParameters.hh.

225 {
226 return fApplyFactorXS;
227}

References fApplyFactorXS.

Referenced by G4HadronicBuilder::BuildElastic(), G4HadronicBuilder::BuildFTFP_BERT(), G4HadronicBuilder::BuildFTFQGSP_BERT(), G4HadronicBuilder::BuildQGSP_FTFP_BERT(), G4HadronDElasticPhysics::ConstructProcess(), G4HadronElasticPhysics::ConstructProcess(), G4HadronHElasticPhysics::ConstructProcess(), G4HadronInelasticQBBC::ConstructProcess(), G4HadronPhysicsFTFQGSP_BERT::ConstructProcess(), 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(), G4HadronicProcessStore::Print(), G4HadronPhysicsFTFP_BERT::Proton(), G4HadronPhysicsQGSP_BERT::Proton(), G4HadronPhysicsQGSP_BIC::Proton(), G4HadronPhysicsFTF_BIC::Proton(), G4HadronPhysicsINCLXX::Proton(), G4HadronPhysicsNuBeam::Proton(), G4HadronPhysicsQGS_BIC::Proton(), and G4HadronPhysicsQGSP_BIC_AllHP::Proton().

◆ EnableBCParticles()

G4bool G4HadronicParameters::EnableBCParticles ( ) const
inline

◆ EnableCRCoalescence()

G4bool G4HadronicParameters::EnableCRCoalescence ( ) const
inline

Definition at line 229 of file G4HadronicParameters.hh.

229 {
231}

References fEnableCRCoalescence.

◆ EnableHyperNuclei()

G4bool G4HadronicParameters::EnableHyperNuclei ( ) const
inline

◆ EnergyThresholdForHeavyHadrons()

G4double G4HadronicParameters::EnergyThresholdForHeavyHadrons ( ) const
inline

◆ GetMaxEnergy()

G4double G4HadronicParameters::GetMaxEnergy ( ) const
inline

Definition at line 162 of file G4HadronicParameters.hh.

162 {
163 return fMaxEnergy;
164}

References fMaxEnergy.

Referenced by G4HadronicBuilder::BuildElastic(), G4HadronicBuilder::BuildFTFP_BERT(), G4HadronicBuilder::BuildFTFQGSP_BERT(), G4QGSBuilder::BuildModel(), G4HadronicBuilder::BuildQGSP_FTFP_BERT(), G4EmExtraPhysics::ConstructGammaElectroNuclear(), LBE::ConstructHad(), G4HadronDElasticPhysics::ConstructProcess(), G4HadronElasticPhysics::ConstructProcess(), G4HadronHElasticPhysics::ConstructProcess(), G4HadronInelasticQBBC::ConstructProcess(), G4HadronPhysicsFTFQGSP_BERT::ConstructProcess(), G4IonINCLXXPhysics::ConstructProcess(), G4IonPhysics::ConstructProcess(), G4IonPhysicsPHP::ConstructProcess(), G4IonQMDPhysics::ConstructProcess(), G4FTFBinaryKaonBuilder::G4FTFBinaryKaonBuilder(), G4FTFBinaryNeutronBuilder::G4FTFBinaryNeutronBuilder(), G4FTFBinaryPionBuilder::G4FTFBinaryPionBuilder(), G4FTFBinaryProtonBuilder::G4FTFBinaryProtonBuilder(), G4FTFPAntiBarionBuilder::G4FTFPAntiBarionBuilder(), G4FTFPKaonBuilder::G4FTFPKaonBuilder(), G4FTFPNeutronBuilder::G4FTFPNeutronBuilder(), G4FTFPPiKBuilder::G4FTFPPiKBuilder(), G4FTFPPionBuilder::G4FTFPPionBuilder(), G4FTFPProtonBuilder::G4FTFPProtonBuilder(), G4HadronicAbsorptionFritiof::G4HadronicAbsorptionFritiof(), G4HadronicAbsorptionFritiofWithBinaryCascade::G4HadronicAbsorptionFritiofWithBinaryCascade(), G4HadronicInteraction::G4HadronicInteraction(), G4HyperonFTFPBuilder::G4HyperonFTFPBuilder(), G4HyperonQGSPBuilder::G4HyperonQGSPBuilder(), G4QGSPAntiBarionBuilder::G4QGSPAntiBarionBuilder(), G4QGSPKaonBuilder::G4QGSPKaonBuilder(), G4HadronPhysicsFTFP_BERT::Others(), G4HadronPhysicsQGSP_BERT::Others(), G4HadronPhysicsQGSP_BIC::Others(), and G4HadronPhysicsINCLXX::Others().

◆ GetMaxEnergyTransitionFTF_Cascade()

G4double G4HadronicParameters::GetMaxEnergyTransitionFTF_Cascade ( ) const
inline

◆ GetMaxEnergyTransitionQGS_FTF()

G4double G4HadronicParameters::GetMaxEnergyTransitionQGS_FTF ( ) const
inline

◆ GetMinEnergyTransitionFTF_Cascade()

G4double G4HadronicParameters::GetMinEnergyTransitionFTF_Cascade ( ) const
inline

◆ GetMinEnergyTransitionQGS_FTF()

G4double G4HadronicParameters::GetMinEnergyTransitionQGS_FTF ( ) const
inline

◆ GetVerboseLevel()

G4int G4HadronicParameters::GetVerboseLevel ( ) const
inline

◆ Instance()

G4HadronicParameters * G4HadronicParameters::Instance ( void  )
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
static G4HadronicParameters * sInstance

References G4MUTEXLOCK, G4MUTEXUNLOCK, and sInstance.

Referenced by G4ParticleHPInelastic::ApplyYourself(), G4TheoFSGenerator::ApplyYourself(), G4BertiniElectroNuclearBuilder::Build(), G4QGSBinaryKaonBuilder::Build(), G4QGSBinaryNeutronBuilder::Build(), G4QGSBinaryPiKBuilder::Build(), G4QGSBinaryPionBuilder::Build(), G4QGSBinaryProtonBuilder::Build(), G4QGSPLundStrFragmProtonBuilder::Build(), G4QGSPNeutronBuilder::Build(), G4QGSPPiKBuilder::Build(), G4QGSPPionBuilder::Build(), G4QGSPProtonBuilder::Build(), G4HadronicBuilder::BuildBCHadronsFTFP_BERT(), G4HadronicBuilder::BuildBCHadronsFTFQGSP_BERT(), G4HadronicBuilder::BuildBCHadronsQGSP_FTFP_BERT(), G4HadronicBuilder::BuildElastic(), G4HadronicBuilder::BuildFTFP_BERT(), G4HadronicBuilder::BuildFTFQGSP_BERT(), G4QGSBuilder::BuildModel(), G4CrossSectionElastic::BuildPhysicsTable(), G4CrossSectionInelastic::BuildPhysicsTable(), G4ParticleHPCaptureData::BuildPhysicsTable(), G4ParticleHPInelastic::BuildPhysicsTable(), G4RadioactiveDecay::BuildPhysicsTable(), G4ParticleInelasticXS::BuildPhysicsTable(), G4HadronicBuilder::BuildQGSP_FTFP_BERT(), G4EmBuilder::ConstructCharged(), G4EmBuilder::ConstructChargedSS(), G4EmExtraPhysics::ConstructGammaElectroNuclear(), LBE::ConstructHad(), G4HadronElasticPhysicsHP::ConstructProcess(), G4HadronElasticPhysicsLEND::ConstructProcess(), G4HadronElasticPhysicsPHP::ConstructProcess(), G4ChargeExchangePhysics::ConstructProcess(), G4HadronDElasticPhysics::ConstructProcess(), G4HadronElasticPhysics::ConstructProcess(), G4HadronHElasticPhysics::ConstructProcess(), G4IonElasticPhysics::ConstructProcess(), G4ThermalNeutrons::ConstructProcess(), G4HadronInelasticQBBC::ConstructProcess(), G4HadronPhysicsFTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFP_BERT_ATL::ConstructProcess(), G4HadronPhysicsFTFQGSP_BERT::ConstructProcess(), G4HadronPhysicsINCLXX::ConstructProcess(), G4HadronPhysicsNuBeam::ConstructProcess(), G4HadronPhysicsQGSP_BERT::ConstructProcess(), G4HadronPhysicsQGSP_BIC::ConstructProcess(), G4HadronPhysicsShielding::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(), G4ChargeExchangePhysics::G4ChargeExchangePhysics(), 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(), G4HadronElasticPhysics::G4HadronElasticPhysics(), G4HadronicAbsorptionFritiof::G4HadronicAbsorptionFritiof(), G4HadronicAbsorptionFritiofWithBinaryCascade::G4HadronicAbsorptionFritiofWithBinaryCascade(), G4HadronicInteraction::G4HadronicInteraction(), G4HadronicProcessStore::G4HadronicProcessStore(), G4HadronInelasticQBBC::G4HadronInelasticQBBC(), G4HadronPhysicsFTF_BIC::G4HadronPhysicsFTF_BIC(), G4HadronPhysicsFTFP_BERT::G4HadronPhysicsFTFP_BERT(), G4HadronPhysicsFTFP_BERT_ATL::G4HadronPhysicsFTFP_BERT_ATL(), G4HadronPhysicsFTFP_BERT_HP::G4HadronPhysicsFTFP_BERT_HP(), G4HadronPhysicsFTFP_BERT_TRV::G4HadronPhysicsFTFP_BERT_TRV(), G4HadronPhysicsFTFQGSP_BERT::G4HadronPhysicsFTFQGSP_BERT(), G4HadronPhysicsINCLXX::G4HadronPhysicsINCLXX(), G4HadronPhysicsNuBeam::G4HadronPhysicsNuBeam(), G4HadronPhysicsQGS_BIC::G4HadronPhysicsQGS_BIC(), G4HadronPhysicsQGSP_BERT::G4HadronPhysicsQGSP_BERT(), G4HadronPhysicsQGSP_BERT_HP::G4HadronPhysicsQGSP_BERT_HP(), G4HadronPhysicsQGSP_BIC::G4HadronPhysicsQGSP_BIC(), G4HadronPhysicsQGSP_BIC_AllHP::G4HadronPhysicsQGSP_BIC_AllHP(), G4HadronPhysicsQGSP_BIC_HP::G4HadronPhysicsQGSP_BIC_HP(), G4HadronPhysicsQGSP_FTFP_BERT::G4HadronPhysicsQGSP_FTFP_BERT(), G4HadronPhysicsShielding::G4HadronPhysicsShielding(), G4HadronPhysicsShieldingLEND::G4HadronPhysicsShieldingLEND(), G4hhElastic::G4hhElastic(), G4HyperonFTFPBuilder::G4HyperonFTFPBuilder(), G4HyperonQGSPBuilder::G4HyperonQGSPBuilder(), G4IonElasticPhysics::G4IonElasticPhysics(), 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(), G4VHadronPhysics::G4VHadronPhysics(), G4ParticleHPProduct::GetMultiplicity(), G4ParticleHPNames::GetName(), G4DeexPrecoParameters::GetVerbose(), G4PhysListUtil::InitialiseParameters(), 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::Others(), G4HadronPhysicsQGSP_BERT::Others(), G4HadronPhysicsQGSP_BIC::Others(), G4HadronPhysicsINCLXX::Others(), 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(), G4HadronPhysicsQGSP_BIC_AllHP::Proton(), G4ParticleHPProduct::Sample(), G4ParticleHPMessenger::SetNewValue(), and Shielding::Shielding().

◆ IsLocked()

G4bool G4HadronicParameters::IsLocked ( ) const
private

◆ SetApplyFactorXS()

void G4HadronicParameters::SetApplyFactorXS ( G4bool  val)

Definition at line 195 of file G4HadronicParameters.cc.

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

References fApplyFactorXS, and IsLocked().

◆ SetEnableBCParticles()

void G4HadronicParameters::SetEnableBCParticles ( G4bool  val)

◆ SetEnableCRCoalescence()

void G4HadronicParameters::SetEnableCRCoalescence ( G4bool  val)

Definition at line 200 of file G4HadronicParameters.cc.

200 {
201 if ( ! IsLocked() ) fEnableCRCoalescence = val;
202}

References fEnableCRCoalescence, and IsLocked().

Referenced by G4HadronicParametersMessenger::SetNewValue().

◆ SetEnableHyperNuclei()

void G4HadronicParameters::SetEnableHyperNuclei ( G4bool  val)

Definition at line 129 of file G4HadronicParameters.cc.

129 {
130 if ( ! IsLocked() ) fEnableHyperNuclei = val;
131}

References fEnableHyperNuclei, and IsLocked().

◆ SetEnergyThresholdForHeavyHadrons()

void G4HadronicParameters::SetEnergyThresholdForHeavyHadrons ( G4double  val)

Definition at line 139 of file G4HadronicParameters.cc.

139 {
140 if ( ! IsLocked() && val >= 0 && val < 5*CLHEP::GeV ) {
142 }
143}

References fEnergyThresholdForHeavyHadrons, CLHEP::GeV, and IsLocked().

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

References fMaxEnergy, and IsLocked().

Referenced by G4HadronicParametersMessenger::SetNewValue().

◆ SetMaxEnergyTransitionFTF_Cascade()

void G4HadronicParameters::SetMaxEnergyTransitionFTF_Cascade ( const G4double  val)

◆ SetMaxEnergyTransitionQGS_FTF()

void G4HadronicParameters::SetMaxEnergyTransitionQGS_FTF ( const G4double  val)

Definition at line 118 of file G4HadronicParameters.cc.

118 {
119 if ( ! IsLocked() && val > fMinEnergyTransitionQGS_FTF ) {
121 }
122}

References fMaxEnergyTransitionQGS_FTF, fMinEnergyTransitionQGS_FTF, and IsLocked().

◆ SetMinEnergyTransitionFTF_Cascade()

void G4HadronicParameters::SetMinEnergyTransitionFTF_Cascade ( const G4double  val)

Definition at line 98 of file G4HadronicParameters.cc.

98 {
99 if ( ! IsLocked() && val > 0.0 ) {
101 }
102}

References fMinEnergyTransitionFTF_Cascade, and IsLocked().

◆ SetMinEnergyTransitionQGS_FTF()

void G4HadronicParameters::SetMinEnergyTransitionQGS_FTF ( const G4double  val)

Definition at line 112 of file G4HadronicParameters.cc.

112 {
113 if ( ! IsLocked() && val > 0.0 ) {
115 }
116}

References fMinEnergyTransitionQGS_FTF, and IsLocked().

◆ SetVerboseLevel()

void G4HadronicParameters::SetVerboseLevel ( const G4int  val)

◆ SetXSFactorEM()

void G4HadronicParameters::SetXSFactorEM ( G4double  val)

Definition at line 188 of file G4HadronicParameters.cc.

188 {
189 if ( ! IsLocked() && std::abs(val - 1.0) < fXSFactorLimit ) {
190 fXSFactorEM = val;
191 }
192}

References fXSFactorEM, fXSFactorLimit, and IsLocked().

◆ SetXSFactorHadronElastic()

void G4HadronicParameters::SetXSFactorHadronElastic ( G4double  val)

Definition at line 181 of file G4HadronicParameters.cc.

181 {
182 if ( ! IsLocked() && std::abs(val - 1.0) < fXSFactorLimit ) {
184 }
185}

References fXSFactorHadronElastic, fXSFactorLimit, and IsLocked().

◆ SetXSFactorHadronInelastic()

void G4HadronicParameters::SetXSFactorHadronInelastic ( G4double  val)

Definition at line 174 of file G4HadronicParameters.cc.

174 {
175 if ( ! IsLocked() && std::abs(val - 1.0) < fXSFactorLimit ) {
177 }
178}

References fXSFactorHadronInelastic, fXSFactorLimit, and IsLocked().

◆ SetXSFactorNucleonElastic()

void G4HadronicParameters::SetXSFactorNucleonElastic ( G4double  val)

Definition at line 153 of file G4HadronicParameters.cc.

153 {
154 if ( ! IsLocked() && std::abs(val - 1.0) < fXSFactorLimit ) {
156 }
157}

References fXSFactorLimit, fXSFactorNucleonElastic, and IsLocked().

◆ SetXSFactorNucleonInelastic()

void G4HadronicParameters::SetXSFactorNucleonInelastic ( G4double  val)

Definition at line 146 of file G4HadronicParameters.cc.

146 {
147 if ( ! IsLocked() && std::abs(val - 1.0) < fXSFactorLimit ) {
149 }
150}

References fXSFactorLimit, fXSFactorNucleonInelastic, and IsLocked().

◆ SetXSFactorPionElastic()

void G4HadronicParameters::SetXSFactorPionElastic ( G4double  val)

Definition at line 167 of file G4HadronicParameters.cc.

167 {
168 if ( ! IsLocked() && std::abs(val - 1.0) < fXSFactorLimit ) {
170 }
171}

References fXSFactorLimit, fXSFactorPionElastic, and IsLocked().

◆ SetXSFactorPionInelastic()

void G4HadronicParameters::SetXSFactorPionInelastic ( G4double  val)

Definition at line 160 of file G4HadronicParameters.cc.

160 {
161 if ( ! IsLocked() && std::abs(val - 1.0) < fXSFactorLimit ) {
163 }
164}

References fXSFactorLimit, fXSFactorPionInelastic, and IsLocked().

◆ XSFactorEM()

G4double G4HadronicParameters::XSFactorEM ( ) const
inline

Definition at line 209 of file G4HadronicParameters.hh.

209 {
210 return fXSFactorEM;
211}

References fXSFactorEM.

◆ XSFactorHadronElastic()

G4double G4HadronicParameters::XSFactorHadronElastic ( ) const
inline

◆ XSFactorHadronInelastic()

G4double G4HadronicParameters::XSFactorHadronInelastic ( ) const
inline

◆ XSFactorNucleonElastic()

G4double G4HadronicParameters::XSFactorNucleonElastic ( ) const
inline

◆ XSFactorNucleonInelastic()

G4double G4HadronicParameters::XSFactorNucleonInelastic ( ) const
inline

◆ XSFactorPionElastic()

G4double G4HadronicParameters::XSFactorPionElastic ( ) const
inline

◆ XSFactorPionInelastic()

G4double G4HadronicParameters::XSFactorPionInelastic ( ) const
inline

Field Documentation

◆ fApplyFactorXS

G4bool G4HadronicParameters::fApplyFactorXS = false
private

Definition at line 158 of file G4HadronicParameters.hh.

Referenced by ApplyFactorXS(), and SetApplyFactorXS().

◆ fEnableBC

G4bool G4HadronicParameters::fEnableBC = false
private

Definition at line 156 of file G4HadronicParameters.hh.

Referenced by EnableBCParticles(), and SetEnableBCParticles().

◆ fEnableCRCoalescence

G4bool G4HadronicParameters::fEnableCRCoalescence = false
private

Definition at line 159 of file G4HadronicParameters.hh.

Referenced by EnableCRCoalescence(), and SetEnableCRCoalescence().

◆ fEnableHyperNuclei

G4bool G4HadronicParameters::fEnableHyperNuclei = false
private

Definition at line 157 of file G4HadronicParameters.hh.

Referenced by EnableHyperNuclei(), and SetEnableHyperNuclei().

◆ fEnergyThresholdForHeavyHadrons

G4double G4HadronicParameters::fEnergyThresholdForHeavyHadrons
private

◆ fMaxEnergy

G4double G4HadronicParameters::fMaxEnergy
private

Definition at line 140 of file G4HadronicParameters.hh.

Referenced by G4HadronicParameters(), GetMaxEnergy(), and SetMaxEnergy().

◆ fMaxEnergyTransitionFTF_Cascade

G4double G4HadronicParameters::fMaxEnergyTransitionFTF_Cascade
private

◆ fMaxEnergyTransitionQGS_FTF

G4double G4HadronicParameters::fMaxEnergyTransitionQGS_FTF
private

◆ fMessenger

G4HadronicParametersMessenger* G4HadronicParameters::fMessenger
private

Definition at line 138 of file G4HadronicParameters.hh.

Referenced by G4HadronicParameters(), and ~G4HadronicParameters().

◆ fMinEnergyTransitionFTF_Cascade

G4double G4HadronicParameters::fMinEnergyTransitionFTF_Cascade
private

◆ fMinEnergyTransitionQGS_FTF

G4double G4HadronicParameters::fMinEnergyTransitionQGS_FTF
private

◆ fVerboseLevel

G4int G4HadronicParameters::fVerboseLevel = 1
private

Definition at line 155 of file G4HadronicParameters.hh.

Referenced by GetVerboseLevel(), and SetVerboseLevel().

◆ fXSFactorEM

G4double G4HadronicParameters::fXSFactorEM = 1.0
private

Definition at line 152 of file G4HadronicParameters.hh.

Referenced by SetXSFactorEM(), and XSFactorEM().

◆ fXSFactorHadronElastic

G4double G4HadronicParameters::fXSFactorHadronElastic = 1.0
private

Definition at line 151 of file G4HadronicParameters.hh.

Referenced by SetXSFactorHadronElastic(), and XSFactorHadronElastic().

◆ fXSFactorHadronInelastic

G4double G4HadronicParameters::fXSFactorHadronInelastic = 1.0
private

Definition at line 148 of file G4HadronicParameters.hh.

Referenced by SetXSFactorHadronInelastic(), and XSFactorHadronInelastic().

◆ fXSFactorLimit

G4double G4HadronicParameters::fXSFactorLimit = 0.2
private

◆ fXSFactorNucleonElastic

G4double G4HadronicParameters::fXSFactorNucleonElastic = 1.0
private

Definition at line 149 of file G4HadronicParameters.hh.

Referenced by SetXSFactorNucleonElastic(), and XSFactorNucleonElastic().

◆ fXSFactorNucleonInelastic

G4double G4HadronicParameters::fXSFactorNucleonInelastic = 1.0
private

◆ fXSFactorPionElastic

G4double G4HadronicParameters::fXSFactorPionElastic = 1.0
private

Definition at line 150 of file G4HadronicParameters.hh.

Referenced by SetXSFactorPionElastic(), and XSFactorPionElastic().

◆ fXSFactorPionInelastic

G4double G4HadronicParameters::fXSFactorPionInelastic = 1.0
private

Definition at line 147 of file G4HadronicParameters.hh.

Referenced by SetXSFactorPionInelastic(), and XSFactorPionInelastic().

◆ sInstance

G4HadronicParameters * G4HadronicParameters::sInstance = nullptr
staticprivate

Definition at line 133 of file G4HadronicParameters.hh.

Referenced by Instance().


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