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

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

+ Inheritance diagram for G4KleinNishinaModel:
+ Collaboration diagram for G4KleinNishinaModel:

Public Member Functions

 G4KleinNishinaModel (const G4String &nam="KleinNishina")
 
virtual ~G4KleinNishinaModel ()
 
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
 
- 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)
 

Protected Attributes

G4ParticleDefinitiontheGamma
 
G4ParticleDefinitiontheElectron
 
G4ParticleChangeForGammafParticleChange
 
G4double lowestSecondaryEnergy
 
- 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
 

Private Member Functions

G4KleinNishinaModeloperator= (const G4KleinNishinaModel &right)=delete
 
 G4KleinNishinaModel (const G4KleinNishinaModel &)=delete
 

Private Attributes

G4LorentzVector lv1
 
G4LorentzVector lv2
 
G4ThreeVector bst
 
G4VAtomDeexcitationfAtomDeexcitation
 
G4double limitFactor
 
std::vector< G4doublefProbabilities
 

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 *)
 

Detailed Description

Definition at line 58 of file G4KleinNishinaModel.hh.

View newest version in sPHENIX GitHub at line 58 of file G4KleinNishinaModel.hh

Constructor & Destructor Documentation

G4KleinNishinaModel::G4KleinNishinaModel ( const G4String nam = "KleinNishina")
explicit

Definition at line 66 of file G4KleinNishinaModel.cc.

View newest version in sPHENIX GitHub at line 66 of file G4KleinNishinaModel.cc

References G4Electron::Electron(), eV, fAtomDeexcitation, fParticleChange, fProbabilities, G4Gamma::Gamma(), limitFactor, lowestSecondaryEnergy, G4VEmModel::SetDeexcitationFlag(), theElectron, and theGamma.

+ Here is the call graph for this function:

G4KleinNishinaModel::~G4KleinNishinaModel ( )
virtual

Definition at line 84 of file G4KleinNishinaModel.cc.

View newest version in sPHENIX GitHub at line 84 of file G4KleinNishinaModel.cc

G4KleinNishinaModel::G4KleinNishinaModel ( const G4KleinNishinaModel )
privatedelete

Member Function Documentation

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

Reimplemented from G4VEmModel.

Definition at line 110 of file G4KleinNishinaModel.cc.

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

References a, b, CLHEP::barn, c, c1, c2, d1, d2, e1, e2, e3, e4, source.hepunit::electron_mass_c2, f1, f2, f3, f4, G4Exp(), G4Log(), keV, G4VEmModel::LowEnergyLimit(), max, T0, X, y, and Z.

+ Here is the call graph for this function:

void G4KleinNishinaModel::Initialise ( const G4ParticleDefinition p,
const G4DataVector cuts 
)
overridevirtual

Implements G4VEmModel.

Definition at line 89 of file G4KleinNishinaModel.cc.

View newest version in sPHENIX GitHub at line 89 of file G4KleinNishinaModel.cc

References G4LossTableManager::AtomDeexcitation(), fAtomDeexcitation, fParticleChange, G4VEmModel::GetParticleChangeForGamma(), G4VEmModel::InitialiseElementSelectors(), G4LossTableManager::Instance(), and G4VEmModel::IsMaster().

+ Here is the call graph for this function:

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

Reimplemented from G4VEmModel.

Definition at line 101 of file G4KleinNishinaModel.cc.

View newest version in sPHENIX GitHub at line 101 of file G4KleinNishinaModel.cc

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

+ Here is the call graph for this function:

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

Implements G4VEmModel.

Definition at line 159 of file G4KleinNishinaModel.cc.

View newest version in sPHENIX GitHub at line 159 of file G4KleinNishinaModel.cc

References kdfinder::abs(), G4InuclSpecialFunctions::bindingEnergy(), CLHEP::HepLorentzVector::boost(), CLHEP::HepLorentzVector::boostVector(), bst, G4VAtomDeexcitation::CheckDeexcitationActiveRegion(), e, CLHEP::HepLorentzVector::e(), edep, source.hepunit::electron_mass_c2, energy, epsilon(), eV, fAtomDeexcitation, CLHEP::HepRandomEngine::flat(), CLHEP::HepRandomEngine::flatArray(), fParticleChange, fProbabilities, fStopAndKill, G4cout, G4endl, G4Exp(), G4Log(), G4VAtomDeexcitation::GenerateParticles(), G4VAtomDeexcitation::GetAtomicShell(), G4Element::GetAtomicShell(), G4MaterialCutsCouple::GetIndex(), G4DynamicParticle::GetKineticEnergy(), G4DynamicParticle::GetMomentumDirection(), G4Element::GetNbOfAtomicShells(), G4Element::GetNbOfShellElectrons(), G4Element::GetZasInt(), keV, G4VEmModel::LowEnergyLimit(), lowestSecondaryEnergy, lv1, lv2, nlooplim, phi, G4VParticleChange::ProposeLocalEnergyDeposit(), G4ParticleChangeForGamma::ProposeMomentumDirection(), G4VParticleChange::ProposeTrackStatus(), CLHEP::Hep3Vector::rotateUz(), G4VEmModel::SelectRandomAtom(), CLHEP::HepLorentzVector::set(), G4ParticleChangeForGamma::SetProposedKineticEnergy(), theElectron, theGamma, twopi, CLHEP::Hep3Vector::unit(), v, CLHEP::HepLorentzVector::vect(), CLHEP::Hep3Vector::x(), x, CLHEP::Hep3Vector::y(), Z, and CLHEP::Hep3Vector::z().

+ Here is the call graph for this function:

Member Data Documentation

G4ThreeVector G4KleinNishinaModel::bst
private

Definition at line 101 of file G4KleinNishinaModel.hh.

View newest version in sPHENIX GitHub at line 101 of file G4KleinNishinaModel.hh

Referenced by SampleSecondaries().

G4VAtomDeexcitation* G4KleinNishinaModel::fAtomDeexcitation
private

Definition at line 103 of file G4KleinNishinaModel.hh.

View newest version in sPHENIX GitHub at line 103 of file G4KleinNishinaModel.hh

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

G4ParticleChangeForGamma* G4KleinNishinaModel::fParticleChange
protected

Definition at line 91 of file G4KleinNishinaModel.hh.

View newest version in sPHENIX GitHub at line 91 of file G4KleinNishinaModel.hh

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

std::vector<G4double> G4KleinNishinaModel::fProbabilities
private

Definition at line 105 of file G4KleinNishinaModel.hh.

View newest version in sPHENIX GitHub at line 105 of file G4KleinNishinaModel.hh

Referenced by G4KleinNishinaModel(), and SampleSecondaries().

G4double G4KleinNishinaModel::limitFactor
private

Definition at line 104 of file G4KleinNishinaModel.hh.

View newest version in sPHENIX GitHub at line 104 of file G4KleinNishinaModel.hh

Referenced by G4KleinNishinaModel().

G4double G4KleinNishinaModel::lowestSecondaryEnergy
protected

Definition at line 92 of file G4KleinNishinaModel.hh.

View newest version in sPHENIX GitHub at line 92 of file G4KleinNishinaModel.hh

Referenced by G4KleinNishinaModel(), and SampleSecondaries().

G4LorentzVector G4KleinNishinaModel::lv1
private

Definition at line 100 of file G4KleinNishinaModel.hh.

View newest version in sPHENIX GitHub at line 100 of file G4KleinNishinaModel.hh

Referenced by SampleSecondaries().

G4LorentzVector G4KleinNishinaModel::lv2
private

Definition at line 100 of file G4KleinNishinaModel.hh.

View newest version in sPHENIX GitHub at line 100 of file G4KleinNishinaModel.hh

Referenced by SampleSecondaries().

G4ParticleDefinition* G4KleinNishinaModel::theElectron
protected

Definition at line 90 of file G4KleinNishinaModel.hh.

View newest version in sPHENIX GitHub at line 90 of file G4KleinNishinaModel.hh

Referenced by G4KleinNishinaModel(), and SampleSecondaries().

G4ParticleDefinition* G4KleinNishinaModel::theGamma
protected

Definition at line 89 of file G4KleinNishinaModel.hh.

View newest version in sPHENIX GitHub at line 89 of file G4KleinNishinaModel.hh

Referenced by G4KleinNishinaModel(), and SampleSecondaries().


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