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

#include <geant4/tree/geant4-10.6-release/source/processes/electromagnetic/highenergy/include/G4mplIonisationModel.hh>

+ Inheritance diagram for G4mplIonisationModel:
+ Collaboration diagram for G4mplIonisationModel:

Public Member Functions

 G4mplIonisationModel (G4double mCharge, const G4String &nam="mplIonisation")
 
virtual ~G4mplIonisationModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &) override
 
virtual G4double ComputeDEDXPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy) override
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) override
 
virtual G4double SampleFluctuations (const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmax, G4double length, G4double meanLoss) override
 
virtual G4double Dispersion (const G4Material *, const G4DynamicParticle *, G4double tmax, G4double length) override
 
void SetParticle (const G4ParticleDefinition *p)
 
- Public Member Functions inherited from G4VEmModel
 G4VEmModel (const G4String &nam)
 
virtual ~G4VEmModel ()
 
virtual void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel)
 
virtual void InitialiseForMaterial (const G4ParticleDefinition *, const G4Material *)
 
virtual void InitialiseForElement (const G4ParticleDefinition *, G4int Z)
 
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 ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A=0., G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
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)
 
- Public Member Functions inherited from G4VEmFluctuationModel
 G4VEmFluctuationModel (const G4String &nam)
 
virtual ~G4VEmFluctuationModel ()
 
virtual void InitialiseMe (const G4ParticleDefinition *)
 
virtual void SetParticleAndCharge (const G4ParticleDefinition *, G4double q2)
 
const G4StringGetName () const
 

Private Member Functions

G4double ComputeDEDXAhlen (const G4Material *material, G4double bg2)
 
G4mplIonisationModeloperator= (const G4mplIonisationModel &right)=delete
 
 G4mplIonisationModel (const G4mplIonisationModel &)=delete
 

Private Attributes

const G4ParticleDefinitionmonopole
 
G4ParticleChangeForLossfParticleChange
 
G4double mass
 
G4double magCharge
 
G4double twoln10
 
G4double betalow
 
G4double betalim
 
G4double beta2lim
 
G4double bg2lim
 
G4double chargeSquare
 
G4double dedxlim
 
G4int nmpl
 
G4double pi_hbarc2_over_mc2
 

Static Private Attributes

static std::vector< G4double > * dedx0 = nullptr
 

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 57 of file G4mplIonisationModel.hh.

View newest version in sPHENIX GitHub at line 57 of file G4mplIonisationModel.hh

Constructor & Destructor Documentation

G4mplIonisationModel::G4mplIonisationModel ( G4double  mCharge,
const G4String nam = "mplIonisation" 
)
explicit

Definition at line 71 of file G4mplIonisationModel.cc.

View newest version in sPHENIX GitHub at line 71 of file G4mplIonisationModel.cc

References kdfinder::abs(), chargeSquare, cm2, dedxlim, source.hepunit::electron_mass_c2, source.hepunit::fine_structure_const, fParticleChange, Acts::UnitConstants::g, GeV, source.hepunit::hbarc, magCharge, mass, monopole, nmpl, pi, and pi_hbarc2_over_mc2.

+ Here is the call graph for this function:

G4mplIonisationModel::~G4mplIonisationModel ( )
virtual

Definition at line 93 of file G4mplIonisationModel.cc.

View newest version in sPHENIX GitHub at line 93 of file G4mplIonisationModel.cc

References dedx0, and G4VEmModel::IsMaster().

+ Here is the call graph for this function:

G4mplIonisationModel::G4mplIonisationModel ( const G4mplIonisationModel )
privatedelete

Member Function Documentation

G4double G4mplIonisationModel::ComputeDEDXAhlen ( const G4Material material,
G4double  bg2 
)
private

Definition at line 184 of file G4mplIonisationModel.cc.

View newest version in sPHENIX GitHub at line 184 of file G4mplIonisationModel.cc

References B(), source.hepunit::electron_mass_c2, G4IonisParamMat::GetAdensity(), G4IonisParamMat::GetCdensity(), G4Material::GetElectronDensity(), G4Material::GetIonisation(), G4IonisParamMat::GetMdensity(), G4IonisParamMat::GetMeanExcitationEnergy(), G4IonisParamMat::GetX0density(), G4IonisParamMat::GetX1density(), k, nmpl, pi_hbarc2_over_mc2, twoln10, and x.

Referenced by ComputeDEDXPerVolume().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4mplIonisationModel::ComputeDEDXPerVolume ( const G4Material material,
const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  cutEnergy 
)
overridevirtual

Reimplemented from G4VEmModel.

Definition at line 144 of file G4mplIonisationModel.cc.

View newest version in sPHENIX GitHub at line 144 of file G4mplIonisationModel.cc

References betalim, betalow, bg2lim, ComputeDEDXAhlen(), G4VEmModel::CurrentCouple(), G4InuclParticleNames::gam, G4MaterialCutsCouple::GetIndex(), mass, monopole, and SetParticle().

+ Here is the call graph for this function:

G4double G4mplIonisationModel::Dispersion ( const G4Material material,
const G4DynamicParticle dp,
G4double  tmax,
G4double  length 
)
overridevirtual

Implements G4VEmFluctuationModel.

Definition at line 264 of file G4mplIonisationModel.cc.

View newest version in sPHENIX GitHub at line 264 of file G4mplIonisationModel.cc

References chargeSquare, G4InuclParticleNames::gam, G4Material::GetElectronDensity(), G4DynamicParticle::GetKineticEnergy(), mass, and source.hepunit::twopi_mc2_rcl2.

Referenced by SampleFluctuations().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4mplIonisationModel::Initialise ( const G4ParticleDefinition p,
const G4DataVector  
)
overridevirtual
G4mplIonisationModel& G4mplIonisationModel::operator= ( const G4mplIonisationModel right)
privatedelete
G4double G4mplIonisationModel::SampleFluctuations ( const G4MaterialCutsCouple couple,
const G4DynamicParticle dp,
G4double  tmax,
G4double  length,
G4double  meanLoss 
)
overridevirtual

Implements G4VEmFluctuationModel.

Definition at line 234 of file G4mplIonisationModel.cc.

View newest version in sPHENIX GitHub at line 234 of file G4mplIonisationModel.cc

References Dispersion(), G4UniformRand, G4MaterialCutsCouple::GetMaterial(), BTOF::length, G4INCL::DeJongSpin::shoot(), and x.

+ Here is the call graph for this function:

void G4mplIonisationModel::SampleSecondaries ( std::vector< G4DynamicParticle * > *  ,
const G4MaterialCutsCouple ,
const G4DynamicParticle ,
G4double  tmin,
G4double  maxEnergy 
)
overridevirtual

Implements G4VEmModel.

Definition at line 225 of file G4mplIonisationModel.cc.

View newest version in sPHENIX GitHub at line 225 of file G4mplIonisationModel.cc

void G4mplIonisationModel::SetParticle ( const G4ParticleDefinition p)

Definition at line 100 of file G4mplIonisationModel.cc.

View newest version in sPHENIX GitHub at line 100 of file G4mplIonisationModel.cc

References beta2lim, betalow, emax, CEMC_TOWER::emin, G4ParticleDefinition::GetPDGMass(), G4VEmModel::HighEnergyLimit(), G4VEmModel::LowEnergyLimit(), mass, max, min, monopole, G4VEmModel::SetHighEnergyLimit(), and G4VEmModel::SetLowEnergyLimit().

Referenced by ComputeDEDXPerVolume(), and Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4mplIonisationModel::beta2lim
private

Definition at line 112 of file G4mplIonisationModel.hh.

View newest version in sPHENIX GitHub at line 112 of file G4mplIonisationModel.hh

Referenced by SetParticle().

G4double G4mplIonisationModel::betalim
private

Definition at line 111 of file G4mplIonisationModel.hh.

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

Referenced by ComputeDEDXPerVolume().

G4double G4mplIonisationModel::betalow
private

Definition at line 110 of file G4mplIonisationModel.hh.

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

Referenced by ComputeDEDXPerVolume(), and SetParticle().

G4double G4mplIonisationModel::bg2lim
private

Definition at line 113 of file G4mplIonisationModel.hh.

View newest version in sPHENIX GitHub at line 113 of file G4mplIonisationModel.hh

Referenced by ComputeDEDXPerVolume().

G4double G4mplIonisationModel::chargeSquare
private

Definition at line 114 of file G4mplIonisationModel.hh.

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

Referenced by Dispersion(), and G4mplIonisationModel().

std::vector< G4double > * G4mplIonisationModel::dedx0 = nullptr
staticprivate

Definition at line 119 of file G4mplIonisationModel.hh.

View newest version in sPHENIX GitHub at line 119 of file G4mplIonisationModel.hh

Referenced by Initialise(), and ~G4mplIonisationModel().

G4double G4mplIonisationModel::dedxlim
private

Definition at line 115 of file G4mplIonisationModel.hh.

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

Referenced by G4mplIonisationModel().

G4ParticleChangeForLoss* G4mplIonisationModel::fParticleChange
private

Definition at line 105 of file G4mplIonisationModel.hh.

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

Referenced by G4mplIonisationModel(), and Initialise().

G4double G4mplIonisationModel::magCharge
private

Definition at line 108 of file G4mplIonisationModel.hh.

View newest version in sPHENIX GitHub at line 108 of file G4mplIonisationModel.hh

Referenced by G4mplIonisationModel().

G4double G4mplIonisationModel::mass
private

Definition at line 107 of file G4mplIonisationModel.hh.

View newest version in sPHENIX GitHub at line 107 of file G4mplIonisationModel.hh

Referenced by ComputeDEDXPerVolume(), Dispersion(), G4mplIonisationModel(), and SetParticle().

const G4ParticleDefinition* G4mplIonisationModel::monopole
private

Definition at line 104 of file G4mplIonisationModel.hh.

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

Referenced by ComputeDEDXPerVolume(), G4mplIonisationModel(), Initialise(), and SetParticle().

G4int G4mplIonisationModel::nmpl
private

Definition at line 116 of file G4mplIonisationModel.hh.

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

Referenced by ComputeDEDXAhlen(), G4mplIonisationModel(), and Initialise().

G4double G4mplIonisationModel::pi_hbarc2_over_mc2
private

Definition at line 117 of file G4mplIonisationModel.hh.

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

Referenced by ComputeDEDXAhlen(), G4mplIonisationModel(), and Initialise().

G4double G4mplIonisationModel::twoln10
private

Definition at line 109 of file G4mplIonisationModel.hh.

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

Referenced by ComputeDEDXAhlen().


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