ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4eCoulombScatteringModel Class Reference

#include <geant4/tree/geant4-10.6-release/source/processes/electromagnetic/standard/include/G4eCoulombScatteringModel.hh>

+ Inheritance diagram for G4eCoulombScatteringModel:
+ Collaboration diagram for G4eCoulombScatteringModel:

Public Member Functions

 G4eCoulombScatteringModel (G4bool combined=true)
 
virtual ~G4eCoulombScatteringModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &) override
 
virtual void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel) override
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A, G4double cut, G4double emax) override
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) override
 
virtual G4double MinPrimaryEnergy (const G4Material *, const G4ParticleDefinition *, G4double) final
 
void SetLowEnergyThreshold (G4double val)
 
void SetRecoilThreshold (G4double eth)
 
void SetFixedCut (G4double)
 
G4double GetFixedCut () const
 
- Public Member Functions inherited from G4VEmModel
 G4VEmModel (const G4String &nam)
 
virtual ~G4VEmModel ()
 
virtual void InitialiseForMaterial (const G4ParticleDefinition *, const G4Material *)
 
virtual void InitialiseForElement (const G4ParticleDefinition *, G4int Z)
 
virtual G4double ComputeDEDXPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)
 
virtual G4double CrossSectionPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
virtual G4double GetPartialCrossSection (const G4Material *, G4int level, const G4ParticleDefinition *, G4double kineticEnergy)
 
virtual G4double ComputeCrossSectionPerShell (const G4ParticleDefinition *, G4int Z, G4int shellIdx, G4double kinEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
virtual G4double ChargeSquareRatio (const G4Track &)
 
virtual G4double GetChargeSquareRatio (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual G4double GetParticleCharge (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual void StartTracking (G4Track *)
 
virtual void CorrectionsAlongStep (const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double &eloss, G4double &niel, G4double length)
 
virtual G4double Value (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy)
 
virtual G4double MinEnergyCut (const G4ParticleDefinition *, const G4MaterialCutsCouple *)
 
virtual void SetupForMaterial (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual void DefineForRegion (const G4Region *)
 
virtual void ModelDescription (std::ostream &outFile) const
 
void InitialiseElementSelectors (const G4ParticleDefinition *, const G4DataVector &)
 
std::vector
< G4EmElementSelector * > * 
GetElementSelectors ()
 
void SetElementSelectors (std::vector< G4EmElementSelector * > *)
 
virtual G4double ComputeDEDX (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)
 
G4double CrossSection (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4double ComputeMeanFreePath (const G4ParticleDefinition *, G4double kineticEnergy, const G4Material *, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, const G4Element *, G4double kinEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
const G4ElementSelectRandomAtom (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
const G4ElementSelectTargetAtom (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double logKineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
const G4ElementSelectRandomAtom (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4int SelectRandomAtomNumber (const G4Material *)
 
G4int SelectIsotopeNumber (const G4Element *)
 
void SetParticleChange (G4VParticleChange *, G4VEmFluctuationModel *f=nullptr)
 
void SetCrossSectionTable (G4PhysicsTable *, G4bool isLocal)
 
G4ElementDataGetElementData ()
 
G4PhysicsTableGetCrossSectionTable ()
 
G4VEmFluctuationModelGetModelOfFluctuations ()
 
G4VEmAngularDistributionGetAngularDistribution ()
 
G4VEmModelGetTripletModel ()
 
void SetTripletModel (G4VEmModel *)
 
void SetAngularDistribution (G4VEmAngularDistribution *)
 
G4double HighEnergyLimit () const
 
G4double LowEnergyLimit () const
 
G4double HighEnergyActivationLimit () const
 
G4double LowEnergyActivationLimit () const
 
G4double PolarAngleLimit () const
 
G4double SecondaryThreshold () const
 
G4bool LPMFlag () const
 
G4bool DeexcitationFlag () const
 
G4bool ForceBuildTableFlag () const
 
G4bool UseAngularGeneratorFlag () const
 
void SetAngularGeneratorFlag (G4bool)
 
void SetHighEnergyLimit (G4double)
 
void SetLowEnergyLimit (G4double)
 
void SetActivationHighEnergyLimit (G4double)
 
void SetActivationLowEnergyLimit (G4double)
 
G4bool IsActive (G4double kinEnergy) const
 
void SetPolarAngleLimit (G4double)
 
void SetSecondaryThreshold (G4double)
 
void SetLPMFlag (G4bool val)
 
void SetDeexcitationFlag (G4bool val)
 
void SetForceBuildTable (G4bool val)
 
void SetFluctuationFlag (G4bool val)
 
void SetMasterThread (G4bool val)
 
G4bool IsMaster () const
 
void SetUseBaseMaterials (G4bool val)
 
G4bool UseBaseMaterials () const
 
G4double MaxSecondaryKinEnergy (const G4DynamicParticle *dynParticle)
 
const G4StringGetName () const
 
void SetCurrentCouple (const G4MaterialCutsCouple *)
 
const G4ElementGetCurrentElement () const
 
const G4IsotopeGetCurrentIsotope () const
 
G4bool IsLocked () const
 
void SetLocked (G4bool)
 

Protected Member Functions

void DefineMaterial (const G4MaterialCutsCouple *)
 
void SetupParticle (const G4ParticleDefinition *)
 
- Protected Member Functions inherited from G4VEmModel
G4ParticleChangeForLossGetParticleChangeForLoss ()
 
G4ParticleChangeForGammaGetParticleChangeForGamma ()
 
virtual G4double MaxSecondaryEnergy (const G4ParticleDefinition *, G4double kineticEnergy)
 
const G4MaterialCutsCoupleCurrentCouple () const
 
void SetCurrentElement (const G4Element *)
 

Private Member Functions

G4eCoulombScatteringModeloperator= (const G4eCoulombScatteringModel &right)=delete
 
 G4eCoulombScatteringModel (const G4eCoulombScatteringModel &)=delete
 

Private Attributes

G4IonTabletheIonTable
 
G4ParticleChangeForGammafParticleChange
 
G4WentzelOKandVIxSectionwokvi
 
G4NistManagerfNistManager
 
const std::vector< G4double > * pCuts
 
const G4MaterialCutsCouplecurrentCouple
 
const G4MaterialcurrentMaterial
 
G4int currentMaterialIndex
 
G4double cosThetaMin
 
G4double cosThetaMax
 
G4double recoilThreshold
 
G4double elecRatio
 
G4double mass
 
G4double fixedCut
 
const G4ParticleDefinitionparticle
 
const G4ParticleDefinitiontheProton
 
G4bool isCombined
 

Additional Inherited Members

- Protected Attributes inherited from G4VEmModel
G4ElementDatafElementData
 
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const G4MaterialpBaseMaterial
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
size_t idxTable
 
G4bool lossFlucFlag
 
G4double inveplus
 
G4double pFactor
 

Detailed Description

Definition at line 77 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 77 of file G4eCoulombScatteringModel.hh

Constructor & Destructor Documentation

G4eCoulombScatteringModel::G4eCoulombScatteringModel ( G4bool  combined = true)
explicit

Definition at line 68 of file G4eCoulombScatteringModel.cc.

View newest version in sPHENIX GitHub at line 68 of file G4eCoulombScatteringModel.cc

References currentCouple, currentMaterial, currentMaterialIndex, elecRatio, fixedCut, fNistManager, fParticleChange, G4ParticleTable::GetIonTable(), G4ParticleTable::GetParticleTable(), G4NistManager::Instance(), isCombined, mass, particle, pCuts, G4Proton::Proton(), CLHEP::proton_mass_c2, recoilThreshold, theIonTable, theProton, and wokvi.

+ Here is the call graph for this function:

G4eCoulombScatteringModel::~G4eCoulombScatteringModel ( )
virtual

Definition at line 97 of file G4eCoulombScatteringModel.cc.

View newest version in sPHENIX GitHub at line 97 of file G4eCoulombScatteringModel.cc

References wokvi.

G4eCoulombScatteringModel::G4eCoulombScatteringModel ( const G4eCoulombScatteringModel )
privatedelete

Member Function Documentation

G4double G4eCoulombScatteringModel::ComputeCrossSectionPerAtom ( const G4ParticleDefinition p,
G4double  kinEnergy,
G4double  Z,
G4double  A,
G4double  cut,
G4double  emax 
)
overridevirtual

Reimplemented from G4VEmModel.

Definition at line 173 of file G4eCoulombScatteringModel.cc.

View newest version in sPHENIX GitHub at line 173 of file G4eCoulombScatteringModel.cc

References G4WentzelOKandVIxSection::ComputeElectronCrossSection(), G4WentzelOKandVIxSection::ComputeNuclearCrossSection(), cosThetaMax, Acts::VectorHelpers::cross(), G4VEmModel::CurrentCouple(), currentMaterial, DefineMaterial(), elecRatio, fixedCut, G4lrint(), particle, G4WentzelOKandVIxSection::SetupKinematic(), SetupParticle(), G4WentzelOKandVIxSection::SetupTarget(), theProton, and wokvi.

+ Here is the call graph for this function:

void G4eCoulombScatteringModel::DefineMaterial ( const G4MaterialCutsCouple cup)
inlineprotected

Definition at line 166 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 166 of file G4eCoulombScatteringModel.hh

References currentCouple, currentMaterial, currentMaterialIndex, G4MaterialCutsCouple::GetIndex(), and G4MaterialCutsCouple::GetMaterial().

Referenced by ComputeCrossSectionPerAtom(), and SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4eCoulombScatteringModel::GetFixedCut ( ) const
inline

Definition at line 204 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 204 of file G4eCoulombScatteringModel.hh

References fixedCut.

void G4eCoulombScatteringModel::Initialise ( const G4ParticleDefinition part,
const G4DataVector cuts 
)
overridevirtual

Implements G4VEmModel.

Definition at line 104 of file G4eCoulombScatteringModel.cc.

View newest version in sPHENIX GitHub at line 104 of file G4eCoulombScatteringModel.cc

References cosThetaMin, currentCouple, fParticleChange, G4VEmModel::GetParticleChangeForGamma(), G4WentzelOKandVIxSection::Initialise(), G4VEmModel::InitialiseElementSelectors(), isCombined, G4VEmModel::IsMaster(), pCuts, pi, G4VEmModel::PolarAngleLimit(), SetupParticle(), and wokvi.

+ Here is the call graph for this function:

void G4eCoulombScatteringModel::InitialiseLocal ( const G4ParticleDefinition ,
G4VEmModel masterModel 
)
overridevirtual

Reimplemented from G4VEmModel.

Definition at line 136 of file G4eCoulombScatteringModel.cc.

View newest version in sPHENIX GitHub at line 136 of file G4eCoulombScatteringModel.cc

References G4VEmModel::GetElementSelectors(), and G4VEmModel::SetElementSelectors().

+ Here is the call graph for this function:

G4double G4eCoulombScatteringModel::MinPrimaryEnergy ( const G4Material material,
const G4ParticleDefinition part,
G4double   
)
finalvirtual

Reimplemented from G4VEmModel.

Definition at line 145 of file G4eCoulombScatteringModel.cc.

View newest version in sPHENIX GitHub at line 145 of file G4eCoulombScatteringModel.cc

References A(), G4VEmModel::CurrentCouple(), fNistManager, G4lrint(), G4NistManager::GetAtomicMassAmu(), G4Material::GetElementVector(), G4NucleiProperties::GetNuclearMass(), G4Material::GetNumberOfElements(), max, min, pCuts, recoilThreshold, SetupParticle(), t, and Z.

+ Here is the call graph for this function:

G4eCoulombScatteringModel& G4eCoulombScatteringModel::operator= ( const G4eCoulombScatteringModel right)
privatedelete
void G4eCoulombScatteringModel::SampleSecondaries ( std::vector< G4DynamicParticle * > *  fvect,
const G4MaterialCutsCouple couple,
const G4DynamicParticle dp,
G4double  tmin,
G4double  maxEnergy 
)
overridevirtual
void G4eCoulombScatteringModel::SetFixedCut ( G4double  val)
inline

Definition at line 197 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 197 of file G4eCoulombScatteringModel.hh

References fixedCut.

void G4eCoulombScatteringModel::SetLowEnergyThreshold ( G4double  val)
inline
void G4eCoulombScatteringModel::SetRecoilThreshold ( G4double  eth)
inline

Definition at line 190 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 190 of file G4eCoulombScatteringModel.hh

References recoilThreshold.

void G4eCoulombScatteringModel::SetupParticle ( const G4ParticleDefinition p)
inlineprotected

Definition at line 178 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 178 of file G4eCoulombScatteringModel.hh

References G4ParticleDefinition::GetPDGMass(), mass, particle, G4WentzelOKandVIxSection::SetupParticle(), and wokvi.

Referenced by ComputeCrossSectionPerAtom(), Initialise(), MinPrimaryEnergy(), and SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4eCoulombScatteringModel::cosThetaMax
private

Definition at line 149 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 149 of file G4eCoulombScatteringModel.hh

Referenced by ComputeCrossSectionPerAtom(), and SampleSecondaries().

G4double G4eCoulombScatteringModel::cosThetaMin
private

Definition at line 148 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 148 of file G4eCoulombScatteringModel.hh

Referenced by Initialise().

const G4MaterialCutsCouple* G4eCoulombScatteringModel::currentCouple
private

Definition at line 144 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 144 of file G4eCoulombScatteringModel.hh

Referenced by DefineMaterial(), G4eCoulombScatteringModel(), and Initialise().

const G4Material* G4eCoulombScatteringModel::currentMaterial
private

Definition at line 145 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 145 of file G4eCoulombScatteringModel.hh

Referenced by ComputeCrossSectionPerAtom(), DefineMaterial(), G4eCoulombScatteringModel(), and SampleSecondaries().

G4int G4eCoulombScatteringModel::currentMaterialIndex
private

Definition at line 146 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 146 of file G4eCoulombScatteringModel.hh

Referenced by DefineMaterial(), G4eCoulombScatteringModel(), and SampleSecondaries().

G4double G4eCoulombScatteringModel::elecRatio
private

Definition at line 151 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 151 of file G4eCoulombScatteringModel.hh

Referenced by ComputeCrossSectionPerAtom(), and G4eCoulombScatteringModel().

G4double G4eCoulombScatteringModel::fixedCut
private

Definition at line 154 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 154 of file G4eCoulombScatteringModel.hh

Referenced by ComputeCrossSectionPerAtom(), G4eCoulombScatteringModel(), GetFixedCut(), SampleSecondaries(), and SetFixedCut().

G4NistManager* G4eCoulombScatteringModel::fNistManager
private

Definition at line 140 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 140 of file G4eCoulombScatteringModel.hh

Referenced by G4eCoulombScatteringModel(), and MinPrimaryEnergy().

G4ParticleChangeForGamma* G4eCoulombScatteringModel::fParticleChange
private

Definition at line 138 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 138 of file G4eCoulombScatteringModel.hh

Referenced by G4eCoulombScatteringModel(), Initialise(), and SampleSecondaries().

G4bool G4eCoulombScatteringModel::isCombined
private

Definition at line 160 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 160 of file G4eCoulombScatteringModel.hh

Referenced by G4eCoulombScatteringModel(), and Initialise().

G4double G4eCoulombScatteringModel::mass
private

Definition at line 152 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 152 of file G4eCoulombScatteringModel.hh

Referenced by G4eCoulombScatteringModel(), SampleSecondaries(), and SetupParticle().

const G4ParticleDefinition* G4eCoulombScatteringModel::particle
private

Definition at line 157 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 157 of file G4eCoulombScatteringModel.hh

Referenced by ComputeCrossSectionPerAtom(), G4eCoulombScatteringModel(), SampleSecondaries(), and SetupParticle().

const std::vector<G4double>* G4eCoulombScatteringModel::pCuts
private

Definition at line 142 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 142 of file G4eCoulombScatteringModel.hh

Referenced by G4eCoulombScatteringModel(), Initialise(), MinPrimaryEnergy(), and SampleSecondaries().

G4double G4eCoulombScatteringModel::recoilThreshold
private

Definition at line 150 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 150 of file G4eCoulombScatteringModel.hh

Referenced by G4eCoulombScatteringModel(), MinPrimaryEnergy(), SampleSecondaries(), and SetRecoilThreshold().

G4IonTable* G4eCoulombScatteringModel::theIonTable
private

Definition at line 137 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 137 of file G4eCoulombScatteringModel.hh

Referenced by G4eCoulombScatteringModel(), and SampleSecondaries().

const G4ParticleDefinition* G4eCoulombScatteringModel::theProton
private

Definition at line 158 of file G4eCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 158 of file G4eCoulombScatteringModel.hh

Referenced by ComputeCrossSectionPerAtom(), G4eCoulombScatteringModel(), and SampleSecondaries().

G4WentzelOKandVIxSection* G4eCoulombScatteringModel::wokvi
private

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