Geant4 9.6.0
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=0)
 
 G4MaterialCutsCouple (const G4MaterialCutsCouple &right)
 
G4MaterialCutsCoupleoperator= (const G4MaterialCutsCouple &right)
 
virtual ~G4MaterialCutsCouple ()
 
G4int operator== (const G4MaterialCutsCouple &right) const
 
G4int 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 50 of file G4MaterialCutsCouple.hh.

Constructor & Destructor Documentation

◆ G4MaterialCutsCouple() [1/3]

G4MaterialCutsCouple::G4MaterialCutsCouple ( )

Definition at line 41 of file G4MaterialCutsCouple.cc.

41 :
42 isMaterialModified(false),
43 fMaterial(0),
44 fCuts(0),
45 indexNumber(-1),
46 isUsedInGeometry(false)
47{
48}

◆ G4MaterialCutsCouple() [2/3]

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

Definition at line 50 of file G4MaterialCutsCouple.cc.

51 :
52 isMaterialModified(true),
53 fMaterial(material),
54 fCuts(cut),
55 indexNumber(-1),
56 isUsedInGeometry(false)
57{
58}

◆ G4MaterialCutsCouple() [3/3]

G4MaterialCutsCouple::G4MaterialCutsCouple ( const G4MaterialCutsCouple right)

Definition at line 61 of file G4MaterialCutsCouple.cc.

62 :fMaterial(0), fCuts(0)
63{
64 *this = right;
65}

◆ ~G4MaterialCutsCouple()

G4MaterialCutsCouple::~G4MaterialCutsCouple ( )
virtual

Definition at line 67 of file G4MaterialCutsCouple.cc.

68{
69}

Member Function Documentation

◆ GetIndex()

G4int G4MaterialCutsCouple::GetIndex ( ) const
inline

Definition at line 111 of file G4MaterialCutsCouple.hh.

112{ return indexNumber; }

Referenced by G4NuclearStopping::AlongStepDoIt(), G4VMultipleScattering::AlongStepGetPhysicalInteractionLength(), G4AdjointCSManager::BuildTotalSigmaTables(), G4ProductionCutsTable::CheckMaterialCutsCoupleInfo(), G4AdjointCSManager::ComputeTotalAdjointCS(), G4GoudsmitSaundersonMscModel::ComputeTruePathLengthLimit(), G4UrbanMscModel90::ComputeTruePathLengthLimit(), G4UrbanMscModel92::ComputeTruePathLengthLimit(), G4UrbanMscModel93::ComputeTruePathLengthLimit(), G4UrbanMscModel95::ComputeTruePathLengthLimit(), G4UrbanMscModel96::ComputeTruePathLengthLimit(), G4VEmAdjointModel::DefineCurrentMaterial(), G4eCoulombScatteringModel::DefineMaterial(), G4eSingleCoulombScatteringModel::DefineMaterial(), G4hCoulombScatteringModel::DefineMaterial(), G4IonCoulombScatteringModel::DefineMaterial(), G4ProductionCutsTable::DumpCouples(), G4EmModelManager::FillDEDXVector(), G4EmModelManager::FillLambdaVector(), G4ForwardXrayTR::G4ForwardXrayTR(), G4EmCalculator::GetCrossSectionPerVolume(), G4EnergyLossTables::GetDEDX(), G4VEnergyLoss::GetLossWithFluct(), G4VeLowEnergyLoss::GetLossWithFluct(), G4VLowEnergyDiscretePhotonProcess::GetMeanFreePath(), G4hImpactIonisation::GetMeanFreePath(), G4EnergyLossTables::GetPreciseDEDX(), G4EnergyLossTables::GetPreciseEnergyFromRange(), G4EnergyLossTables::GetPreciseRangeFromEnergy(), G4EnergyLossTables::GetRange(), G4VMscModel::GetTransportMeanFreePath(), G4PAIModel::Initialise(), G4VEmModel::InitialiseElementSelectors(), G4EmCorrections::IonHighOrderCorrections(), G4ForwardXrayTR::PostStepDoIt(), G4HadronElasticProcess::PostStepDoIt(), G4WHadronElasticProcess::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4hImpactIonisation::PrintInfoDefinition(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermoreComptonModifiedModel::SampleSecondaries(), G4LivermorePhotoElectricModel::SampleSecondaries(), G4LivermorePolarizedPhotoElectricModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4KleinNishinaModel::SampleSecondaries(), G4PEEffectFluoModel::SampleSecondaries(), G4VEmModel::SelectRandomAtom(), G4eBremsstrahlungModel::SelectRandomAtom(), G4VCrossSectionHandler::SelectRandomAtom(), G4VCrossSectionHandler::SelectRandomElement(), and G4ProductionCutsTable::StoreMaterialCutsCoupleInfo().

◆ GetMaterial()

const G4Material * G4MaterialCutsCouple::GetMaterial ( ) const
inline

Definition at line 150 of file G4MaterialCutsCouple.hh.

151{
152 return fMaterial;
153}

Referenced by G4AdjointBremsstrahlungModel::AdjointCrossSection(), G4NuclearStopping::AlongStepDoIt(), G4hImpactIonisation::AlongStepDoIt(), G4BremsstrahlungCrossSectionHandler::BuildCrossSectionsForMaterials(), G4eIonisationCrossSectionHandler::BuildCrossSectionsForMaterials(), G4CrossSectionHandler::BuildCrossSectionsForMaterials(), G4VEnergyLossProcess::BuildLambdaTable(), G4hImpactIonisation::BuildPhysicsTable(), G4LossTableBuilder::BuildTableForModel(), G4AdjointCSManager::BuildTotalSigmaTables(), G4ForwardXrayTR::BuildXrayTRtables(), G4ProductionCutsTable::CheckMaterialCutsCoupleInfo(), G4VEmModel::ComputeDEDX(), G4hImpactIonisation::ComputeDEDX(), G4BraggIonModel::CorrectionsAlongStep(), G4BetheBlochModel::CorrectionsAlongStep(), G4VEmModel::CrossSection(), G4VEmAdjointModel::DefineCurrentMaterial(), G4eCoulombScatteringModel::DefineMaterial(), G4eSingleCoulombScatteringModel::DefineMaterial(), G4hCoulombScatteringModel::DefineMaterial(), G4IonCoulombScatteringModel::DefineMaterial(), G4ProductionCutsTable::DumpCouples(), G4EmModelManager::FillDEDXVector(), G4EmModelManager::FillLambdaVector(), G4ForwardXrayTR::G4ForwardXrayTR(), G4InitXscPAI::G4InitXscPAI(), G4PAIxSection::G4PAIxSection(), G4ShellVacancy::GenerateNumberOfIonisations(), G4AdjointBremsstrahlungModel::GetAdjointCrossSection(), G4VMscModel::GetEnergy(), G4ForwardXrayTR::GetEnergyTR(), G4VEnergyLoss::GetLossWithFluct(), G4VeLowEnergyLoss::GetLossWithFluct(), G4hImpactIonisation::GetMeanFreePath(), G4VMscModel::GetRange(), G4LivermoreGammaConversionModel::Initialise(), G4LivermorePhotoElectricModel::Initialise(), G4LivermoreRayleighModel::Initialise(), G4MuBremsstrahlungModel::Initialise(), G4eBremsstrahlungModel::Initialise(), G4EmModelManager::Initialise(), G4VAtomDeexcitation::InitialiseAtomicDeexcitation(), G4LossTableBuilder::InitialiseBaseMaterials(), G4VEmModel::InitialiseElementSelectors(), G4EmCorrections::InitialiseForNewRun(), G4EmCorrections::IonHighOrderCorrections(), G4MuBetheBlochModel::MinEnergyCut(), G4ForwardXrayTR::PostStepDoIt(), G4ITTransportation::PostStepDoIt(), G4hImpactIonisation::PostStepDoIt(), G4CoupledTransportation::PostStepDoIt(), G4Transportation::PostStepDoIt(), G4hImpactIonisation::PrintInfoDefinition(), G4GoudsmitSaundersonMscModel::SampleScattering(), G4UrbanMscModel90::SampleScattering(), G4UrbanMscModel92::SampleScattering(), G4UrbanMscModel93::SampleScattering(), G4UrbanMscModel95::SampleScattering(), G4UrbanMscModel96::SampleScattering(), G4eBremParametrizedModel::SampleSecondaries(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4SeltzerBergerModel::SampleSecondaries(), G4LivermoreBremsstrahlungModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermoreComptonModifiedModel::SampleSecondaries(), G4LivermorePhotoElectricModel::SampleSecondaries(), G4LivermorePolarizedPhotoElectricModel::SampleSecondaries(), G4LivermoreRayleighModel::SampleSecondaries(), G4LowEPComptonModel::SampleSecondaries(), G4PenelopeBremsstrahlungModel::SampleSecondaries(), G4PenelopeComptonModel::SampleSecondaries(), G4PenelopeGammaConversionModel::SampleSecondaries(), G4PenelopeIonisationModel::SampleSecondaries(), G4PenelopePhotoElectricModel::SampleSecondaries(), G4PenelopeRayleighModel::SampleSecondaries(), G4BetheHeitlerModel::SampleSecondaries(), G4eBremsstrahlungModel::SampleSecondaries(), G4PairProductionRelModel::SampleSecondaries(), G4PEEffectFluoModel::SampleSecondaries(), G4PEEffectModel::SampleSecondaries(), G4VEmModel::SelectRandomAtom(), G4eBremsstrahlungModel::SelectRandomAtom(), G4VCrossSectionHandler::SelectRandomAtom(), G4VCrossSectionHandler::SelectRandomElement(), G4ProductionCutsTable::StoreMaterialCutsCoupleInfo(), G4VEmModel::Value(), and G4EmSaturation::VisibleEnergyDeposition().

◆ GetProductionCuts()

◆ IsRecalcNeeded()

G4bool G4MaterialCutsCouple::IsRecalcNeeded ( ) const
inline

Definition at line 156 of file G4MaterialCutsCouple.hh.

157{
158 G4bool isCutModified = false;
159 if (fCuts !=0 ) isCutModified = fCuts->IsModified();
160 return (isMaterialModified || isCutModified);
161}
bool G4bool
Definition: G4Types.hh:67
G4bool IsModified() const

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

◆ IsUsed()

◆ operator!=()

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

Definition at line 137 of file G4MaterialCutsCouple.hh.

138{
139 return (this != &right);
140}

◆ operator=()

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

Definition at line 71 of file G4MaterialCutsCouple.cc.

72{
73 if (&right==this) return *this;
74
75 fMaterial = right.fMaterial;
76 fCuts = right.fCuts;
77 isMaterialModified = right.isMaterialModified;
78 indexNumber = right.indexNumber;
79 isUsedInGeometry = right.isUsedInGeometry;
80
81 return *this;
82}

◆ operator==()

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

Definition at line 131 of file G4MaterialCutsCouple.hh.

132{
133 return (this == &right);
134}

◆ PhysicsTableUpdated()

void G4MaterialCutsCouple::PhysicsTableUpdated ( )
inline

Definition at line 164 of file G4MaterialCutsCouple.hh.

165{
166 if (fCuts !=0 ) fCuts->PhysicsTableUpdated();
167 isMaterialModified = false;
168}

◆ SetIndex()

void G4MaterialCutsCouple::SetIndex ( G4int  idx)
inline

Definition at line 107 of file G4MaterialCutsCouple.hh.

108{ indexNumber = idx; }

Referenced by G4ProductionCutsTable::UpdateCoupleTable().

◆ SetMaterial()

void G4MaterialCutsCouple::SetMaterial ( const G4Material material)
inline

Definition at line 143 of file G4MaterialCutsCouple.hh.

144{
145 fMaterial = material;
146 isMaterialModified = true;
147}

◆ SetProductionCuts()

void G4MaterialCutsCouple::SetProductionCuts ( G4ProductionCuts aCut)
inline

Definition at line 123 of file G4MaterialCutsCouple.hh.

124{ fCuts = aCut; }

◆ SetUseFlag()

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

Definition at line 115 of file G4MaterialCutsCouple.hh.

116{ isUsedInGeometry = flg; }

Referenced by G4ProductionCutsTable::UpdateCoupleTable().


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