Geant4-11
Public Member Functions | Private Attributes
G4MaterialCutsCouple Class Reference

#include <G4MaterialCutsCouple.hh>

Public Member Functions

 G4MaterialCutsCouple ()
 
 G4MaterialCutsCouple (const G4Material *, G4ProductionCuts *cut=nullptr)
 
 G4MaterialCutsCouple (const G4MaterialCutsCouple &right)
 
G4int GetIndex () const
 
const G4MaterialGetMaterial () const
 
G4ProductionCutsGetProductionCuts () const
 
G4bool IsRecalcNeeded () const
 
G4bool IsUsed () const
 
G4bool operator!= (const G4MaterialCutsCouple &right) const
 
G4MaterialCutsCoupleoperator= (const G4MaterialCutsCouple &right)
 
G4bool operator== (const G4MaterialCutsCouple &right) const
 
void PhysicsTableUpdated ()
 
void SetIndex (G4int idx)
 
void SetMaterial (const G4Material *)
 
void SetProductionCuts (G4ProductionCuts *)
 
void SetUseFlag (G4bool flg=true)
 
virtual ~G4MaterialCutsCouple ()
 

Private Attributes

G4ProductionCutsfCuts = nullptr
 
const G4MaterialfMaterial = nullptr
 
G4int indexNumber = -1
 
G4bool isMaterialModified = false
 
G4bool isUsedInGeometry = false
 

Detailed Description

Definition at line 52 of file G4MaterialCutsCouple.hh.

Constructor & Destructor Documentation

◆ G4MaterialCutsCouple() [1/3]

G4MaterialCutsCouple::G4MaterialCutsCouple ( )

Definition at line 37 of file G4MaterialCutsCouple.cc.

38{
39}

◆ G4MaterialCutsCouple() [2/3]

G4MaterialCutsCouple::G4MaterialCutsCouple ( const G4Material material,
G4ProductionCuts cut = nullptr 
)

Definition at line 42 of file G4MaterialCutsCouple.cc.

44 : isMaterialModified(true),
46 fCuts(cut)
47{
48}
G4ProductionCuts * fCuts
const G4Material * fMaterial
string material
Definition: eplot.py:19

◆ ~G4MaterialCutsCouple()

G4MaterialCutsCouple::~G4MaterialCutsCouple ( )
virtual

Definition at line 58 of file G4MaterialCutsCouple.cc.

59{
60}

◆ G4MaterialCutsCouple() [3/3]

G4MaterialCutsCouple::G4MaterialCutsCouple ( const G4MaterialCutsCouple right)

Definition at line 51 of file G4MaterialCutsCouple.cc.

52 : fMaterial(nullptr), fCuts(nullptr)
53{
54 *this = right;
55}

Member Function Documentation

◆ GetIndex()

G4int G4MaterialCutsCouple::GetIndex ( ) const
inline

Definition at line 117 of file G4MaterialCutsCouple.hh.

118{
119 return indexNumber;
120}

References indexNumber.

Referenced by G4NuclearStopping::AlongStepDoIt(), G4VMultipleScattering::AlongStepGetPhysicalInteractionLength(), G4ShellVacancy::AverageNOfIonisations(), G4SBBremTable::BuildSamplingTables(), G4AdjointCSManager::BuildTotalSigmaTables(), G4ProductionCutsTable::CheckMaterialCutsCoupleInfo(), G4mplIonisationModel::ComputeDEDXPerVolume(), G4mplIonisationWithDeltaModel::ComputeDEDXPerVolume(), G4eDPWAElasticDCS::ComputeScatteringPowerCorrection(), G4GoudsmitSaundersonTable::ComputeScatteringPowerCorrection(), G4AdjointCSManager::ComputeTotalAdjointCS(), G4UrbanAdjointMscModel::ComputeTruePathLengthLimit(), G4UrbanMscModel::ComputeTruePathLengthLimit(), G4AdjointCSManager::DefineCurrentMaterial(), G4VEmAdjointModel::DefineCurrentMaterial(), G4eCoulombScatteringModel::DefineMaterial(), G4eSingleCoulombScatteringModel::DefineMaterial(), G4hCoulombScatteringModel::DefineMaterial(), G4IonCoulombScatteringModel::DefineMaterial(), G4WentzelVIModel::DefineMaterial(), G4ContinuousGainOfEnergy::DefineMaterial(), G4VEmProcess::DefineMaterial(), G4VEnergyLossProcess::DefineMaterial(), G4WentzelVIRelModel::DefineMaterial(), G4hImpactIonisation::DeltaRaysEnergy(), G4ProductionCutsTable::DumpCouples(), G4EmModelManager::FillDEDXVector(), G4EmModelManager::FillLambdaVector(), G4ForwardXrayTR::G4ForwardXrayTR(), G4EmCalculator::GetCrossSectionPerVolume(), G4EnergyLossTables::GetDEDX(), G4hImpactIonisation::GetMeanFreePath(), G4EnergyLossTables::GetPreciseDEDX(), G4EnergyLossTables::GetPreciseEnergyFromRange(), G4EnergyLossTables::GetPreciseRangeFromEnergy(), G4EnergyLossTables::GetRange(), G4PAIModel::Initialise(), G4PAIPhotModel::Initialise(), G4GoudsmitSaundersonTable::InitSCPCorrection(), G4eDPWAElasticDCS::InitSCPCorrection(), G4EmCorrections::IonHighOrderCorrections(), G4NeutrinoElectronProcess::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4HadronElasticProcess::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4GammaGeneralProcess::PostStepGetPhysicalInteractionLength(), G4hImpactIonisation::PrintInfoDefinition(), G4SeltzerBergerModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermorePhotoElectricModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4LowEPPolarizedComptonModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4KleinNishinaModel::SampleSecondaries(), G4PEEffectFluoModel::SampleSecondaries(), G4eplusTo2GammaOKVIModel::SampleSecondaries(), G4VEmModel::SelectRandomAtom(), G4VCrossSectionHandler::SelectRandomAtom(), G4VCrossSectionHandler::SelectRandomElement(), G4VEmModel::SelectTargetAtom(), G4VEmModel::SetCurrentCouple(), G4ProductionCutsTable::StoreMaterialCutsCoupleInfo(), and G4EmCalculator::UpdateCouple().

◆ GetMaterial()

const G4Material * G4MaterialCutsCouple::GetMaterial ( ) const
inline

Definition at line 166 of file G4MaterialCutsCouple.hh.

167{
168 return fMaterial;
169}

References fMaterial.

Referenced by G4AdjointBremsstrahlungModel::AdjointCrossSection(), G4NuclearStopping::AlongStepDoIt(), G4hImpactIonisation::AlongStepDoIt(), G4hImpactIonisation::AntiProtonParametrisedDEDX(), G4eIonisationCrossSectionHandler::BuildCrossSectionsForMaterials(), G4CrossSectionHandler::BuildCrossSectionsForMaterials(), G4VEmProcess::BuildLambdaTable(), G4hImpactIonisation::BuildLambdaTable(), G4VEnergyLossProcess::BuildLambdaTable(), G4hImpactIonisation::BuildLossTable(), G4GammaGeneralProcess::BuildPhysicsTable(), G4MicroElecSurface::BuildPhysicsTable(), G4hImpactIonisation::BuildPhysicsTable(), G4SBBremTable::BuildSamplingTables(), G4AdjointCSManager::BuildTotalSigmaTables(), G4ForwardXrayTR::BuildXrayTRtables(), G4ProductionCutsTable::CheckMaterialCutsCoupleInfo(), G4PEEffectFluoModel::ComputeCrossSectionPerAtom(), G4hImpactIonisation::ComputeDEDX(), G4WentzelVIRelModel::ComputeEffectiveMass(), G4NIELCalculator::ComputeNIEL(), G4UrbanAdjointMscModel::ComputeTruePathLengthLimit(), G4GoudsmitSaundersonMscModel::ComputeTruePathLengthLimit(), G4AtimaEnergyLossModel::CorrectionsAlongStep(), G4BraggIonModel::CorrectionsAlongStep(), G4BetheBlochModel::CorrectionsAlongStep(), G4LindhardSorensenIonModel::CorrectionsAlongStep(), G4AdjointCSManager::DefineCurrentMaterial(), G4VEmAdjointModel::DefineCurrentMaterial(), G4AdjointPhotoElectricModel::DefineCurrentMaterialAndElectronEnergy(), G4eCoulombScatteringModel::DefineMaterial(), G4eSingleCoulombScatteringModel::DefineMaterial(), G4hCoulombScatteringModel::DefineMaterial(), G4IonCoulombScatteringModel::DefineMaterial(), G4WentzelVIModel::DefineMaterial(), G4ContinuousGainOfEnergy::DefineMaterial(), G4VEmProcess::DefineMaterial(), G4VEnergyLossProcess::DefineMaterial(), G4WentzelVIRelModel::DefineMaterial(), G4hImpactIonisation::DeltaRaysEnergy(), G4ProductionCutsTable::DumpCouples(), G4EmModelManager::FillDEDXVector(), G4EmModelManager::FillLambdaVector(), G4VEmProcess::FindLambdaMax(), G4DNAELSEPAElasticModel::G4DNAELSEPAElasticModel(), G4ForwardXrayTR::G4ForwardXrayTR(), G4InitXscPAI::G4InitXscPAI(), G4PAIxSection::G4PAIxSection(), G4ShellVacancy::GenerateNumberOfIonisations(), G4hImpactIonisation::GetConstraints(), RunAction::GetCuts(), G4VMscModel::GetEnergy(), G4ForwardXrayTR::GetEnergyTR(), G4hImpactIonisation::GetMeanFreePath(), G4VMscModel::GetRange(), G4GoudsmitSaundersonMscModel::GetTransportMeanFreePath(), G4GoudsmitSaundersonMscModel::GetTransportMeanFreePathOnly(), G4GSPWACorrections::InitDataPerElement(), G4GSPWACorrections::InitDataPerMaterials(), G4IonICRU73Data::Initialise(), G4PAIPhotData::Initialise(), G4PAIModelData::Initialise(), G4BoldyshevTripletModel::Initialise(), G4mplIonisationModel::Initialise(), G4mplIonisationWithDeltaModel::Initialise(), G4IonParametrisedLossModel::Initialise(), G4JAEAElasticScatteringModel::Initialise(), G4JAEAPolarizedElasticScatteringModel::Initialise(), G4LivermoreGammaConversion5DModel::Initialise(), G4LivermoreNuclearGammaConversionModel::Initialise(), G4LivermorePolarizedComptonModel::Initialise(), G4LivermorePolarizedGammaConversionModel::Initialise(), G4LowEPComptonModel::Initialise(), G4LowEPPolarizedComptonModel::Initialise(), G4MicroElecElasticModel_new::Initialise(), G4MicroElecInelasticModel_new::Initialise(), G4PenelopeBremsstrahlungModel::Initialise(), G4PenelopeGammaConversionModel::Initialise(), G4PenelopeIonisationModel::Initialise(), G4PenelopePhotoElectricModel::Initialise(), G4PenelopeRayleighModel::Initialise(), G4PenelopeRayleighModelMI::Initialise(), G4eDPWACoulombScatteringModel::Initialise(), G4WentzelVIModel::Initialise(), G4DNAQuinnPlasmonExcitationModel::Initialise(), G4DNARelativisticIonisationModel::Initialise(), G4EmModelManager::Initialise(), G4DNAELSEPAElasticModel::Initialise(), G4LossTableBuilder::InitialiseBaseMaterials(), G4EmCorrections::InitialiseForNewRun(), G4PenelopeBremsstrahlungModel::InitialiseLocal(), G4ElasticHadrNucleusHE::InitialiseModel(), G4GSMottCorrection::InitMCDataPerElement(), G4GSMottCorrection::InitMCDataPerMaterials(), G4GoudsmitSaundersonTable::InitSCPCorrection(), G4eDPWAElasticDCS::InitSCPCorrection(), G4EmCorrections::IonHighOrderCorrections(), G4ProductionCutsTable::IsCoupleUsedInTheRegion(), G4IonParametrisedLossModel::MinEnergyCut(), G4MuBetheBlochModel::MinEnergyCut(), G4mplIonisationWithDeltaModel::MinEnergyCut(), G4AtimaEnergyLossModel::MinEnergyCut(), G4BetheBlochModel::MinEnergyCut(), G4BraggIonModel::MinEnergyCut(), G4BraggModel::MinEnergyCut(), G4LindhardSorensenIonModel::MinEnergyCut(), G4ForwardXrayTR::PostStepDoIt(), G4ITTransportation::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4CoupledTransportation::PostStepDoIt(), G4Transportation::PostStepDoIt(), G4GammaGeneralProcess::PostStepGetPhysicalInteractionLength(), G4hImpactIonisation::PrintInfoDefinition(), G4hImpactIonisation::ProtonParametrisedDEDX(), G4UrbanAdjointMscModel::SampleCosineTheta(), G4UrbanMscModel::SampleCosineTheta(), G4mplIonisationModel::SampleFluctuations(), G4mplIonisationWithDeltaModel::SampleFluctuations(), G4AtimaFluctuations::SampleFluctuations(), G4IonFluctuations::SampleFluctuations(), G4UniversalFluctuation::SampleFluctuations(), G4LivermoreBremsstrahlungModel::SampleSecondaries(), G4eBremParametrizedModel::SampleSecondaries(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4SeltzerBergerModel::SampleSecondaries(), G4DNABornIonisationModel1::SampleSecondaries(), G4DNABornIonisationModel2::SampleSecondaries(), G4DNADiracRMatrixExcitationModel::SampleSecondaries(), G4DNAELSEPAElasticModel::SampleSecondaries(), G4DNAEmfietzoglouIonisationModel::SampleSecondaries(), G4DNAQuinnPlasmonExcitationModel::SampleSecondaries(), G4DNARelativisticIonisationModel::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4PAIPhotModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermoreIonisationModel::SampleSecondaries(), G4LivermorePhotoElectricModel::SampleSecondaries(), G4LivermoreRayleighModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4LowEPPolarizedComptonModel::SampleSecondaries(), G4MicroElecInelasticModel::SampleSecondaries(), G4MicroElecInelasticModel_new::SampleSecondaries(), G4PenelopeBremsstrahlungModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), G4PenelopeGammaConversionModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4PenelopeRayleighModel::SampleSecondaries(), G4PenelopeRayleighModelMI::SampleSecondaries(), G4MuBremsstrahlungModel::SampleSecondaries(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4BraggIonModel::SampleSecondaries(), G4BraggModel::SampleSecondaries(), G4eeToTwoGammaModel::SampleSecondaries(), G4ICRU73QOModel::SampleSecondaries(), G4LindhardSorensenIonModel::SampleSecondaries(), G4MollerBhabhaModel::SampleSecondaries(), G4PairProductionRelModel::SampleSecondaries(), G4PEEffectFluoModel::SampleSecondaries(), G4LEPTSDissociationModel::SampleSecondaries(), G4LEPTSElasticModel::SampleSecondaries(), G4LEPTSExcitationModel::SampleSecondaries(), G4LEPTSIonisationModel::SampleSecondaries(), G4LEPTSPositroniumModel::SampleSecondaries(), G4LEPTSRotExcitationModel::SampleSecondaries(), G4LEPTSVibExcitationModel::SampleSecondaries(), G4IonParametrisedLossModel::SampleSecondaries(), G4DNAModelInterface::SampleSecondaries(), G4ProductionCutsTable::ScanAndSetCouple(), G4VCrossSectionHandler::SelectRandomAtom(), G4VCrossSectionHandler::SelectRandomElement(), G4VEmModel::SetCurrentCouple(), G4ProductionCutsTable::StoreMaterialCutsCoupleInfo(), and G4EmSaturation::VisibleEnergyDeposition().

◆ GetProductionCuts()

G4ProductionCuts * G4MaterialCutsCouple::GetProductionCuts ( ) const
inline

◆ IsRecalcNeeded()

G4bool G4MaterialCutsCouple::IsRecalcNeeded ( ) const
inline

Definition at line 172 of file G4MaterialCutsCouple.hh.

173{
174 G4bool isCutModified = false;
175 if (fCuts != nullptr ) isCutModified = fCuts->IsModified();
176 return (isMaterialModified || isCutModified);
177}
bool G4bool
Definition: G4Types.hh:86
G4bool IsModified() const

References fCuts, isMaterialModified, and G4ProductionCuts::IsModified().

Referenced by G4hRDEnergyLoss::CutsWhereModified(), and G4PhysicsTableHelper::PreparePhysicsTable().

◆ IsUsed()

G4bool G4MaterialCutsCouple::IsUsed ( ) const
inline

◆ operator!=()

G4bool G4MaterialCutsCouple::operator!= ( const G4MaterialCutsCouple right) const
inline

Definition at line 153 of file G4MaterialCutsCouple.hh.

154{
155 return (this != &right);
156}

◆ operator=()

G4MaterialCutsCouple & G4MaterialCutsCouple::operator= ( const G4MaterialCutsCouple right)

Definition at line 64 of file G4MaterialCutsCouple.cc.

65{
66 if (&right==this) return *this;
67
68 fMaterial = right.fMaterial;
69 fCuts = right.fCuts;
73
74 return *this;
75}

References fCuts, fMaterial, indexNumber, isMaterialModified, and isUsedInGeometry.

◆ operator==()

G4bool G4MaterialCutsCouple::operator== ( const G4MaterialCutsCouple right) const
inline

Definition at line 147 of file G4MaterialCutsCouple.hh.

148{
149 return (this == &right);
150}

◆ PhysicsTableUpdated()

void G4MaterialCutsCouple::PhysicsTableUpdated ( )
inline

Definition at line 180 of file G4MaterialCutsCouple.hh.

181{
182 if (fCuts != nullptr ) fCuts->PhysicsTableUpdated();
183 isMaterialModified = false;
184}

References fCuts, isMaterialModified, and G4ProductionCuts::PhysicsTableUpdated().

◆ SetIndex()

void G4MaterialCutsCouple::SetIndex ( G4int  idx)
inline

Definition at line 111 of file G4MaterialCutsCouple.hh.

112{
113 indexNumber = idx;
114}

References indexNumber.

Referenced by G4ProductionCutsTable::UpdateCoupleTable().

◆ SetMaterial()

void G4MaterialCutsCouple::SetMaterial ( const G4Material material)
inline

Definition at line 159 of file G4MaterialCutsCouple.hh.

160{
162 isMaterialModified = true;
163}

References fMaterial, isMaterialModified, and eplot::material.

◆ SetProductionCuts()

void G4MaterialCutsCouple::SetProductionCuts ( G4ProductionCuts aCut)
inline

Definition at line 135 of file G4MaterialCutsCouple.hh.

136{
137 fCuts = aCut;
138}

References fCuts.

◆ SetUseFlag()

void G4MaterialCutsCouple::SetUseFlag ( G4bool  flg = true)
inline

Definition at line 123 of file G4MaterialCutsCouple.hh.

124{
125 isUsedInGeometry = flg;
126}

References isUsedInGeometry.

Referenced by G4ProductionCutsTable::UpdateCoupleTable().

Field Documentation

◆ fCuts

G4ProductionCuts* G4MaterialCutsCouple::fCuts = nullptr
private

◆ fMaterial

const G4Material* G4MaterialCutsCouple::fMaterial = nullptr
private

Definition at line 100 of file G4MaterialCutsCouple.hh.

Referenced by GetMaterial(), operator=(), and SetMaterial().

◆ indexNumber

G4int G4MaterialCutsCouple::indexNumber = -1
private

Definition at line 102 of file G4MaterialCutsCouple.hh.

Referenced by GetIndex(), operator=(), and SetIndex().

◆ isMaterialModified

G4bool G4MaterialCutsCouple::isMaterialModified = false
private

◆ isUsedInGeometry

G4bool G4MaterialCutsCouple::isUsedInGeometry = false
private

Definition at line 103 of file G4MaterialCutsCouple.hh.

Referenced by IsUsed(), operator=(), and SetUseFlag().


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