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

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

+ Inheritance diagram for G4eSingleCoulombScatteringModel:
+ Collaboration diagram for G4eSingleCoulombScatteringModel:

Public Member Functions

 G4eSingleCoulombScatteringModel (const G4String &nam="eSingleCoulombScat")
 
virtual ~G4eSingleCoulombScatteringModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &) final
 
virtual void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel) final
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A, G4double cut, G4double emax) final
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) final
 
void SetRecoilThreshold (G4double eth)
 
void SetXSectionModel (const G4String &model)
 
- 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 MinPrimaryEnergy (const G4Material *, const G4ParticleDefinition *, G4double cut=0.0)
 
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)
 

Private Member Functions

void DefineMaterial (const G4MaterialCutsCouple *)
 
void SetupParticle (const G4ParticleDefinition *)
 
G4eSingleCoulombScatteringModeloperator= (const G4eSingleCoulombScatteringModel &right)=delete
 
 G4eSingleCoulombScatteringModel (const G4eSingleCoulombScatteringModel &)=delete
 

Private Attributes

G4IonTabletheIonTable
 
G4ParticleChangeForGammafParticleChange
 
G4NistManagerfNistManager
 
G4ScreeningMottCrossSectionMottcross
 
const std::vector< G4double > * pCuts
 
const G4MaterialCutsCouplecurrentCouple
 
const G4MaterialcurrentMaterial
 
const G4ElementcurrentElement
 
G4int currentMaterialIndex
 
G4double cosThetaMin
 
G4double recoilThreshold
 
G4int FormFactor
 
G4int XSectionModel
 
const G4ParticleDefinitionparticle
 
G4double mass
 
G4double lowEnergyLimit
 

Additional Inherited Members

- Protected Member Functions inherited from G4VEmModel
G4ParticleChangeForLossGetParticleChangeForLoss ()
 
G4ParticleChangeForGammaGetParticleChangeForGamma ()
 
virtual G4double MaxSecondaryEnergy (const G4ParticleDefinition *, G4double kineticEnergy)
 
const G4MaterialCutsCoupleCurrentCouple () const
 
void SetCurrentElement (const G4Element *)
 
- 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 66 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 66 of file G4eSingleCoulombScatteringModel.hh

Constructor & Destructor Documentation

G4eSingleCoulombScatteringModel::G4eSingleCoulombScatteringModel ( const G4String nam = "eSingleCoulombScat")
explicit

Definition at line 75 of file G4eSingleCoulombScatteringModel.cc.

View newest version in sPHENIX GitHub at line 75 of file G4eSingleCoulombScatteringModel.cc

References currentCouple, currentElement, currentMaterial, currentMaterialIndex, eV, fNistManager, FormFactor, fParticleChange, G4ParticleTable::GetIonTable(), G4ParticleTable::GetParticleTable(), G4NistManager::Instance(), keV, lowEnergyLimit, mass, Mottcross, particle, pCuts, recoilThreshold, theIonTable, and XSectionModel.

+ Here is the call graph for this function:

G4eSingleCoulombScatteringModel::~G4eSingleCoulombScatteringModel ( )
virtual

Definition at line 102 of file G4eSingleCoulombScatteringModel.cc.

View newest version in sPHENIX GitHub at line 102 of file G4eSingleCoulombScatteringModel.cc

References Mottcross.

G4eSingleCoulombScatteringModel::G4eSingleCoulombScatteringModel ( const G4eSingleCoulombScatteringModel )
privatedelete

Member Function Documentation

G4double G4eSingleCoulombScatteringModel::ComputeCrossSectionPerAtom ( const G4ParticleDefinition p,
G4double  kinEnergy,
G4double  Z,
G4double  A,
G4double  cut,
G4double  emax 
)
finalvirtual

Reimplemented from G4VEmModel.

Definition at line 167 of file G4eSingleCoulombScatteringModel.cc.

View newest version in sPHENIX GitHub at line 167 of file G4eSingleCoulombScatteringModel.cc

References Acts::VectorHelpers::cross(), G4VEmModel::CurrentCouple(), DefineMaterial(), FormFactor, lowEnergyLimit, Mottcross, G4ScreeningMottCrossSection::NuclearCrossSection(), G4ScreeningMottCrossSection::SetupKinematic(), SetupParticle(), and XSectionModel.

+ Here is the call graph for this function:

void G4eSingleCoulombScatteringModel::DefineMaterial ( const G4MaterialCutsCouple cup)
inlineprivate

Definition at line 135 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 135 of file G4eSingleCoulombScatteringModel.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:

void G4eSingleCoulombScatteringModel::Initialise ( const G4ParticleDefinition p,
const G4DataVector cuts 
)
finalvirtual

Implements G4VEmModel.

Definition at line 110 of file G4eSingleCoulombScatteringModel.cc.

View newest version in sPHENIX GitHub at line 110 of file G4eSingleCoulombScatteringModel.cc

References cosThetaMin, currentCouple, currentMaterialIndex, FormFactor, fParticleChange, G4VEmModel::GetParticleChangeForGamma(), G4ScreeningMottCrossSection::Initialise(), G4VEmModel::InitialiseElementSelectors(), G4EmParameters::Instance(), G4VEmModel::IsMaster(), Mottcross, G4EmParameters::NuclearFormfactorType(), pCuts, and SetupParticle().

+ Here is the call graph for this function:

void G4eSingleCoulombScatteringModel::InitialiseLocal ( const G4ParticleDefinition ,
G4VEmModel masterModel 
)
finalvirtual

Reimplemented from G4VEmModel.

Definition at line 147 of file G4eSingleCoulombScatteringModel.cc.

View newest version in sPHENIX GitHub at line 147 of file G4eSingleCoulombScatteringModel.cc

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

+ Here is the call graph for this function:

G4eSingleCoulombScatteringModel& G4eSingleCoulombScatteringModel::operator= ( const G4eSingleCoulombScatteringModel right)
privatedelete
void G4eSingleCoulombScatteringModel::SampleSecondaries ( std::vector< G4DynamicParticle * > *  fvect,
const G4MaterialCutsCouple couple,
const G4DynamicParticle dp,
G4double  tmin,
G4double  maxEnergy 
)
finalvirtual

Implements G4VEmModel.

Definition at line 194 of file G4eSingleCoulombScatteringModel.cc.

View newest version in sPHENIX GitHub at line 194 of file G4eSingleCoulombScatteringModel.cc

References CLHEP::HepLorentzVector::boost(), CLHEP::HepLorentzVector::boostVector(), Acts::VectorHelpers::cross(), currentElement, currentMaterialIndex, DefineMaterial(), dir, CLHEP::HepLorentzVector::e(), e1, edep, FormFactor, fParticleChange, G4UniformRand, G4DynamicParticle::GetDefinition(), G4IonTable::GetIon(), G4DynamicParticle::GetKineticEnergy(), G4DynamicParticle::GetLogKineticEnergy(), G4DynamicParticle::GetMomentumDirection(), G4NucleiProperties::GetNuclearMass(), G4ScreeningMottCrossSection::GetScatteringAngle(), G4Element::GetZasInt(), lowEnergyLimit, mass, max, Mottcross, G4ScreeningMottCrossSection::NuclearCrossSection(), particle, pCuts, phi, G4VParticleChange::ProposeLocalEnergyDeposit(), G4ParticleChangeForGamma::ProposeMomentumDirection(), G4VParticleChange::ProposeNonIonizingEnergyDeposit(), CLHEP::HepLorentzVector::pz(), recoilThreshold, CLHEP::Hep3Vector::rotateUz(), G4VEmModel::SelectIsotopeNumber(), G4VEmModel::SelectTargetAtom(), G4ParticleChangeForGamma::SetProposedKineticEnergy(), G4ScreeningMottCrossSection::SetupKinematic(), SetupParticle(), CLHEP::HepLorentzVector::setX(), CLHEP::HepLorentzVector::setY(), CLHEP::HepLorentzVector::setZ(), theIonTable, twopi, CLHEP::Hep3Vector::unit(), v1, CLHEP::HepLorentzVector::vect(), XSectionModel, and z1.

+ Here is the call graph for this function:

void G4eSingleCoulombScatteringModel::SetRecoilThreshold ( G4double  eth)
inline

Definition at line 157 of file G4eSingleCoulombScatteringModel.hh.

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

References recoilThreshold.

void G4eSingleCoulombScatteringModel::SetupParticle ( const G4ParticleDefinition p)
inlineprivate

Definition at line 147 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 147 of file G4eSingleCoulombScatteringModel.hh

References G4ParticleDefinition::GetPDGMass(), mass, Mottcross, particle, and G4ScreeningMottCrossSection::SetupParticle().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4eSingleCoulombScatteringModel::SetXSectionModel ( const G4String model)

Definition at line 155 of file G4eSingleCoulombScatteringModel.cc.

View newest version in sPHENIX GitHub at line 155 of file G4eSingleCoulombScatteringModel.cc

References G4cout, G4endl, and XSectionModel.

Member Data Documentation

G4double G4eSingleCoulombScatteringModel::cosThetaMin
private

Definition at line 120 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 120 of file G4eSingleCoulombScatteringModel.hh

Referenced by Initialise().

const G4MaterialCutsCouple* G4eSingleCoulombScatteringModel::currentCouple
private

Definition at line 115 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 115 of file G4eSingleCoulombScatteringModel.hh

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

const G4Element* G4eSingleCoulombScatteringModel::currentElement
private

Definition at line 117 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 117 of file G4eSingleCoulombScatteringModel.hh

Referenced by G4eSingleCoulombScatteringModel(), and SampleSecondaries().

const G4Material* G4eSingleCoulombScatteringModel::currentMaterial
private

Definition at line 116 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 116 of file G4eSingleCoulombScatteringModel.hh

Referenced by DefineMaterial(), and G4eSingleCoulombScatteringModel().

G4int G4eSingleCoulombScatteringModel::currentMaterialIndex
private

Definition at line 118 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 118 of file G4eSingleCoulombScatteringModel.hh

Referenced by DefineMaterial(), G4eSingleCoulombScatteringModel(), Initialise(), and SampleSecondaries().

G4NistManager* G4eSingleCoulombScatteringModel::fNistManager
private

Definition at line 111 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 111 of file G4eSingleCoulombScatteringModel.hh

Referenced by G4eSingleCoulombScatteringModel().

G4int G4eSingleCoulombScatteringModel::FormFactor
private

Definition at line 122 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 122 of file G4eSingleCoulombScatteringModel.hh

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

G4ParticleChangeForGamma* G4eSingleCoulombScatteringModel::fParticleChange
private

Definition at line 110 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 110 of file G4eSingleCoulombScatteringModel.hh

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

G4double G4eSingleCoulombScatteringModel::lowEnergyLimit
private

Definition at line 128 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 128 of file G4eSingleCoulombScatteringModel.hh

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

G4double G4eSingleCoulombScatteringModel::mass
private

Definition at line 127 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 127 of file G4eSingleCoulombScatteringModel.hh

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

G4ScreeningMottCrossSection* G4eSingleCoulombScatteringModel::Mottcross
private
const G4ParticleDefinition* G4eSingleCoulombScatteringModel::particle
private

Definition at line 126 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 126 of file G4eSingleCoulombScatteringModel.hh

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

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

Definition at line 114 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 114 of file G4eSingleCoulombScatteringModel.hh

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

G4double G4eSingleCoulombScatteringModel::recoilThreshold
private

Definition at line 121 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 121 of file G4eSingleCoulombScatteringModel.hh

Referenced by G4eSingleCoulombScatteringModel(), SampleSecondaries(), and SetRecoilThreshold().

G4IonTable* G4eSingleCoulombScatteringModel::theIonTable
private

Definition at line 109 of file G4eSingleCoulombScatteringModel.hh.

View newest version in sPHENIX GitHub at line 109 of file G4eSingleCoulombScatteringModel.hh

Referenced by G4eSingleCoulombScatteringModel(), and SampleSecondaries().

G4int G4eSingleCoulombScatteringModel::XSectionModel
private

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