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

#include <G4MaterialCutsCouple.hh>

Public Member Functions

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

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),
45 fMaterial(material),
46 fCuts(cut)
47{
48}

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

Referenced by G4NuclearStopping::AlongStepDoIt(), G4VMultipleScattering::AlongStepGetPhysicalInteractionLength(), G4AdjointCSManager::BuildTotalSigmaTables(), G4ProductionCutsTable::CheckMaterialCutsCoupleInfo(), G4mplIonisationModel::ComputeDEDXPerVolume(), G4mplIonisationWithDeltaModel::ComputeDEDXPerVolume(), G4eDPWAElasticDCS::ComputeScatteringPowerCorrection(), G4GoudsmitSaundersonTable::ComputeScatteringPowerCorrection(), G4AdjointCSManager::ComputeTotalAdjointCS(), G4UrbanAdjointMscModel::ComputeTruePathLengthLimit(), G4UrbanMscModel::ComputeTruePathLengthLimit(), G4VEmAdjointModel::DefineCurrentMaterial(), G4eCoulombScatteringModel::DefineMaterial(), G4hCoulombScatteringModel::DefineMaterial(), G4VEmProcess::DefineMaterial(), G4WentzelVIModel::DefineMaterial(), G4WentzelVIRelModel::DefineMaterial(), 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(), G4eDPWAElasticDCS::InitSCPCorrection(), G4GoudsmitSaundersonTable::InitSCPCorrection(), G4EmCorrections::IonHighOrderCorrections(), G4ElNeutrinoNucleusProcess::PostStepDoIt(), G4ForwardXrayTR::PostStepDoIt(), G4HadronElasticProcess::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4MuNeutrinoNucleusProcess::PostStepDoIt(), G4NeutrinoElectronProcess::PostStepDoIt(), G4TauNeutrinoNucleusProcess::PostStepDoIt(), G4GammaGeneralProcess::PostStepGetPhysicalInteractionLength(), G4hImpactIonisation::PrintInfoDefinition(), G4DNAPTBElasticModel::SampleSecondaries(), G4DNAPTBExcitationModel::SampleSecondaries(), G4eplusTo2GammaOKVIModel::SampleSecondaries(), G4KleinNishinaModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermorePhotoElectricModel::SampleSecondaries(), G4LivermorePolarizedComptonModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4LowEPPolarizedComptonModel::SampleSecondaries(), G4PEEffectFluoModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4SeltzerBergerModel::SampleSecondaries(), G4VCrossSectionHandler::SelectRandomAtom(), G4VEmModel::SelectRandomAtom(), G4VCrossSectionHandler::SelectRandomElement(), G4VEmModel::SelectTargetAtom(), G4VEmModel::SetCurrentCouple(), and G4ProductionCutsTable::StoreMaterialCutsCoupleInfo().

◆ GetMaterial()

const G4Material * G4MaterialCutsCouple::GetMaterial ( ) const
inline

Definition at line 166 of file G4MaterialCutsCouple.hh.

167{
168 return fMaterial;
169}

Referenced by G4AdjointBremsstrahlungModel::AdjointCrossSection(), G4hImpactIonisation::AlongStepDoIt(), G4NuclearStopping::AlongStepDoIt(), G4CrossSectionHandler::BuildCrossSectionsForMaterials(), G4eIonisationCrossSectionHandler::BuildCrossSectionsForMaterials(), G4EmTableUtil::BuildLambdaTable(), G4EmTableUtil::BuildLambdaTable(), G4GammaGeneralProcess::BuildPhysicsTable(), G4hImpactIonisation::BuildPhysicsTable(), G4MicroElecSurface::BuildPhysicsTable(), G4AdjointCSManager::BuildTotalSigmaTables(), G4ForwardXrayTR::BuildXrayTRtables(), G4ProductionCutsTable::CheckMaterialCutsCoupleInfo(), G4PEEffectFluoModel::ComputeCrossSectionPerAtom(), G4hImpactIonisation::ComputeDEDX(), G4NIELCalculator::ComputeNIEL(), G4GoudsmitSaundersonMscModel::ComputeTruePathLengthLimit(), G4UrbanAdjointMscModel::ComputeTruePathLengthLimit(), G4AtimaEnergyLossModel::CorrectionsAlongStep(), G4BetheBlochModel::CorrectionsAlongStep(), G4BraggIonModel::CorrectionsAlongStep(), G4LindhardSorensenIonModel::CorrectionsAlongStep(), G4VEmAdjointModel::DefineCurrentMaterial(), G4eCoulombScatteringModel::DefineMaterial(), G4hCoulombScatteringModel::DefineMaterial(), G4VEmProcess::DefineMaterial(), G4WentzelVIModel::DefineMaterial(), G4WentzelVIRelModel::DefineMaterial(), G4ProductionCutsTable::DumpCouples(), G4EmModelManager::FillDEDXVector(), G4EmModelManager::FillLambdaVector(), G4DNAELSEPAElasticModel::G4DNAELSEPAElasticModel(), G4ForwardXrayTR::G4ForwardXrayTR(), G4InitXscPAI::G4InitXscPAI(), G4PAIxSection::G4PAIxSection(), G4ShellVacancy::GenerateNumberOfIonisations(), G4VEmModel::GetCurrentIsotope(), G4VMscModel::GetEnergy(), G4ForwardXrayTR::GetEnergyTR(), G4hImpactIonisation::GetMeanFreePath(), G4VMscModel::GetRange(), G4VMscModel::GetRange(), G4GoudsmitSaundersonMscModel::GetTransportMeanFreePath(), G4BoldyshevTripletModel::Initialise(), G4DNAELSEPAElasticModel::Initialise(), G4DNAQuinnPlasmonExcitationModel::Initialise(), G4DNARelativisticIonisationModel::Initialise(), G4eDPWACoulombScatteringModel::Initialise(), G4EmModelManager::Initialise(), G4IonParametrisedLossModel::Initialise(), G4JAEAElasticScatteringModel::Initialise(), G4JAEAPolarizedElasticScatteringModel::Initialise(), G4LivermoreNuclearGammaConversionModel::Initialise(), G4LivermorePolarizedComptonModel::Initialise(), G4LivermorePolarizedGammaConversionModel::Initialise(), G4LowEPComptonModel::Initialise(), G4LowEPPolarizedComptonModel::Initialise(), G4MicroElecCapture::Initialise(), G4MicroElecElasticModel_new::Initialise(), G4MicroElecInelasticModel_new::Initialise(), G4MicroElecSurface::Initialise(), G4mplIonisationModel::Initialise(), G4mplIonisationWithDeltaModel::Initialise(), G4PAIModelData::Initialise(), G4PAIPhotData::Initialise(), G4PenelopeBremsstrahlungModel::Initialise(), G4PenelopeGammaConversionModel::Initialise(), G4PenelopeIonisationModel::Initialise(), G4PenelopePhotoElectricModel::Initialise(), G4PenelopeRayleighModel::Initialise(), G4PenelopeRayleighModelMI::Initialise(), G4WentzelVIModel::Initialise(), G4LossTableBuilder::InitialiseBaseMaterials(), G4EmUtility::InitialiseElementSelectors(), G4EmCorrections::InitialiseForNewRun(), G4PenelopeBremsstrahlungModel::InitialiseLocal(), G4ElasticHadrNucleusHE::InitialiseModel(), G4eDPWAElasticDCS::InitSCPCorrection(), G4GoudsmitSaundersonTable::InitSCPCorrection(), G4EmCorrections::IonHighOrderCorrections(), G4AtimaEnergyLossModel::MinEnergyCut(), G4BetheBlochModel::MinEnergyCut(), G4BraggModel::MinEnergyCut(), G4IonParametrisedLossModel::MinEnergyCut(), G4LindhardSorensenIonModel::MinEnergyCut(), G4mplIonisationWithDeltaModel::MinEnergyCut(), G4MuBetheBlochModel::MinEnergyCut(), G4ForwardXrayTR::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4ITTransportation::PostStepDoIt(), G4GammaGeneralProcess::PostStepGetPhysicalInteractionLength(), G4hImpactIonisation::PrintInfoDefinition(), G4AtimaFluctuations::SampleFluctuations(), G4IonFluctuations::SampleFluctuations(), G4mplIonisationModel::SampleFluctuations(), G4mplIonisationWithDeltaModel::SampleFluctuations(), G4UniversalFluctuation::SampleFluctuations(), G4AtimaEnergyLossModel::SampleSecondaries(), G4BetheBlochModel::SampleSecondaries(), G4BraggModel::SampleSecondaries(), G4DNABornIonisationModel1::SampleSecondaries(), G4DNABornIonisationModel2::SampleSecondaries(), G4DNACPA100ElasticModel::SampleSecondaries(), G4DNACPA100ExcitationModel::SampleSecondaries(), G4DNACPA100IonisationModel::SampleSecondaries(), G4DNADiracRMatrixExcitationModel::SampleSecondaries(), G4DNAELSEPAElasticModel::SampleSecondaries(), G4DNAEmfietzoglouIonisationModel::SampleSecondaries(), G4DNAModelInterface::SampleSecondaries(), G4DNAPTBIonisationModel::SampleSecondaries(), G4DNAQuinnPlasmonExcitationModel::SampleSecondaries(), G4DNARelativisticIonisationModel::SampleSecondaries(), G4DNARPWBAIonisationModel::SampleSecondaries(), G4DNARuddIonisationExtendedModel::SampleSecondaries(), G4DNARuddIonisationModel::SampleSecondaries(), G4eBremParametrizedModel::SampleSecondaries(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4eeToTwoGammaModel::SampleSecondaries(), G4ICRU73QOModel::SampleSecondaries(), G4IonParametrisedLossModel::SampleSecondaries(), G4LEPTSDissociationModel::SampleSecondaries(), G4LEPTSElasticModel::SampleSecondaries(), G4LEPTSExcitationModel::SampleSecondaries(), G4LEPTSIonisationModel::SampleSecondaries(), G4LEPTSPositroniumModel::SampleSecondaries(), G4LEPTSRotExcitationModel::SampleSecondaries(), G4LEPTSVibExcitationModel::SampleSecondaries(), G4LindhardSorensenIonModel::SampleSecondaries(), G4LivermoreBremsstrahlungModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermoreIonisationModel::SampleSecondaries(), G4LivermorePhotoElectricModel::SampleSecondaries(), G4LivermoreRayleighModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4LowEPPolarizedComptonModel::SampleSecondaries(), G4MicroElecInelasticModel::SampleSecondaries(), G4MicroElecInelasticModel_new::SampleSecondaries(), G4MollerBhabhaModel::SampleSecondaries(), G4MuBetheBlochModel::SampleSecondaries(), G4MuBremsstrahlungModel::SampleSecondaries(), G4PAIModel::SampleSecondaries(), G4PAIPhotModel::SampleSecondaries(), G4PairProductionRelModel::SampleSecondaries(), G4PEEffectFluoModel::SampleSecondaries(), G4PenelopeBremsstrahlungModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), G4PenelopeGammaConversionModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4PenelopeRayleighModel::SampleSecondaries(), G4PenelopeRayleighModelMI::SampleSecondaries(), G4SeltzerBergerModel::SampleSecondaries(), G4VCrossSectionHandler::SelectRandomAtom(), G4VCrossSectionHandler::SelectRandomElement(), G4VEmModel::SetCurrentCouple(), G4Transportation::SetTouchableInformation(), G4ProductionCutsTable::StoreMaterialCutsCoupleInfo(), and G4EmSaturation::VisibleEnergyDeposition().

◆ GetProductionCuts()

◆ 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

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

◆ IsUsed()

◆ 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;
70 isMaterialModified = right.isMaterialModified;
71 indexNumber = right.indexNumber;
72 isUsedInGeometry = right.isUsedInGeometry;
73
74 return *this;
75}

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

◆ SetIndex()

void G4MaterialCutsCouple::SetIndex ( G4int idx)
inline

Definition at line 111 of file G4MaterialCutsCouple.hh.

112{
113 indexNumber = idx;
114}

Referenced by G4ProductionCutsTable::CreateCoupleTables().

◆ SetMaterial()

void G4MaterialCutsCouple::SetMaterial ( const G4Material * material)
inline

Definition at line 159 of file G4MaterialCutsCouple.hh.

160{
161 fMaterial = material;
162 isMaterialModified = true;
163}

◆ SetProductionCuts()

void G4MaterialCutsCouple::SetProductionCuts ( G4ProductionCuts * aCut)
inline

Definition at line 135 of file G4MaterialCutsCouple.hh.

136{
137 fCuts = aCut;
138}

◆ SetUseFlag()

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

Definition at line 123 of file G4MaterialCutsCouple.hh.

124{
125 isUsedInGeometry = flg;
126}

Referenced by G4ProductionCutsTable::CreateCoupleTables().


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