Geant4  10.03
G4MuPairProductionModel Class Reference

#include <G4MuPairProductionModel.hh>

+ Inheritance diagram for G4MuPairProductionModel:
+ Collaboration diagram for G4MuPairProductionModel:

Public Member Functions

 G4MuPairProductionModel (const G4ParticleDefinition *p=nullptr, const G4String &nam="muPairProd")
 
virtual ~G4MuPairProductionModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &) override
 
virtual void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel) override
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kineticEnergy, G4double Z, G4double A, G4double cutEnergy, G4double maxEnergy) 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 MinPrimaryEnergy (const G4Material *, const G4ParticleDefinition *, G4double) override
 
void SetLowestKineticEnergy (G4double e)
 
void SetParticle (const G4ParticleDefinition *)
 
- 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 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)
 
G4int SelectIsotopeNumber (const G4Element *)
 
const G4ElementSelectRandomAtom (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, 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 *)
 
void SetParticleChange (G4VParticleChange *, G4VEmFluctuationModel *f=nullptr)
 
void SetCrossSectionTable (G4PhysicsTable *, G4bool isLocal)
 
G4ElementDataGetElementData ()
 
G4PhysicsTableGetCrossSectionTable ()
 
G4VEmFluctuationModelGetModelOfFluctuations ()
 
G4VEmAngularDistributionGetAngularDistribution ()
 
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)
 
void SetPolarAngleLimit (G4double)
 
void SetSecondaryThreshold (G4double)
 
void SetLPMFlag (G4bool val)
 
void SetDeexcitationFlag (G4bool val)
 
void SetForceBuildTable (G4bool val)
 
void SetMasterThread (G4bool val)
 
G4bool IsMaster () 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

G4double ComputMuPairLoss (G4double Z, G4double tkin, G4double cut, G4double tmax)
 
G4double ComputeMicroscopicCrossSection (G4double tkin, G4double Z, G4double cut)
 
virtual G4double ComputeDMicroscopicCrossSection (G4double tkin, G4double Z, G4double pairEnergy)
 
G4double MaxSecondaryEnergyForElement (G4double kineticEnergy, G4double Z)
 
- Protected Member Functions inherited from G4VEmModel
G4ParticleChangeForLossGetParticleChangeForLoss ()
 
G4ParticleChangeForGammaGetParticleChangeForGamma ()
 
virtual G4double MaxSecondaryEnergy (const G4ParticleDefinition *, G4double kineticEnergy)
 
const G4MaterialCutsCoupleCurrentCouple () const
 
void SetCurrentElement (const G4Element *)
 

Protected Attributes

const G4ParticleDefinitionparticle
 
G4NistManagernist
 
G4double factorForCross
 
G4double sqrte
 
G4double particleMass
 
G4double z13
 
G4double z23
 
G4double lnZ
 
G4int currentZ
 
- Protected Attributes inherited from G4VEmModel
G4ElementDatafElementData
 
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
size_t idxTable
 

Static Protected Attributes

static const G4double xgi [8]
 
static const G4double wgi [8]
 
- Static Protected Attributes inherited from G4VEmModel
static const G4double inveplus = 1.0/CLHEP::eplus
 

Private Member Functions

void MakeSamplingTables ()
 
void DataCorrupted (G4int Z, G4double logTkin)
 
G4double FindScaledEnergy (G4int Z, G4double rand, G4double logTkin, G4double yymin, G4double yymax)
 
G4MuPairProductionModeloperator= (const G4MuPairProductionModel &right)=delete
 
 G4MuPairProductionModel (const G4MuPairProductionModel &)=delete
 

Private Attributes

G4ParticleDefinitiontheElectron
 
G4ParticleDefinitionthePositron
 
G4ParticleChangeForLossfParticleChange
 
G4double minPairEnergy
 
G4double lowestKinEnergy
 
G4int nzdat
 
G4int nYBinPerDecade
 
size_t nbiny
 
size_t nbine
 
G4double ymin
 
G4double dy
 
G4double emin
 
G4double emax
 

Detailed Description

Definition at line 73 of file G4MuPairProductionModel.hh.

Constructor & Destructor Documentation

G4MuPairProductionModel::G4MuPairProductionModel ( const G4ParticleDefinition p = nullptr,
const G4String nam = "muPairProd" 
)
explicit

Definition at line 106 of file G4MuPairProductionModel.cc.

References G4Electron::Electron(), emax, emin, G4ParticleDefinition::GetPDGMass(), G4NistManager::Instance(), lnZ, lowestKinEnergy, G4INCL::Math::max(), nist, particleMass, G4Positron::Positron(), SetParticle(), TeV, theElectron, thePositron, z13, and z23.

+ Here is the call graph for this function:

G4MuPairProductionModel::~G4MuPairProductionModel ( )
virtual

Definition at line 142 of file G4MuPairProductionModel.cc.

G4MuPairProductionModel::G4MuPairProductionModel ( const G4MuPairProductionModel )
privatedelete

Member Function Documentation

G4double G4MuPairProductionModel::ComputeCrossSectionPerAtom ( const G4ParticleDefinition ,
G4double  kineticEnergy,
G4double  Z,
G4double  A,
G4double  cutEnergy,
G4double  maxEnergy 
)
overridevirtual

Reimplemented from G4VEmModel.

Definition at line 416 of file G4MuPairProductionModel.cc.

References ComputeMicroscopicCrossSection(), lowestKinEnergy, G4INCL::Math::max(), MaxSecondaryEnergyForElement(), G4INCL::Math::min(), and minPairEnergy.

+ Here is the call graph for this function:

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

Reimplemented from G4VEmModel.

Definition at line 199 of file G4MuPairProductionModel.cc.

References ComputMuPairLoss(), G4Material::GetAtomicNumDensityVector(), G4Material::GetElementVector(), G4Material::GetNumberOfElements(), lowestKinEnergy, G4INCL::Math::max(), MaxSecondaryEnergyForElement(), and minPairEnergy.

+ Here is the call graph for this function:

G4double G4MuPairProductionModel::ComputeDMicroscopicCrossSection ( G4double  tkin,
G4double  Z,
G4double  pairEnergy 
)
protectedvirtual

Reimplemented in G4hPairProductionModel.

Definition at line 303 of file G4MuPairProductionModel.cc.

References a0, factorForCross, fe, G4Exp(), G4Log(), G4INCL::Math::max(), particleMass, sqrte, wgi, xgi, G4InuclParticleNames::xi0, z13, and z23.

Referenced by ComputeMicroscopicCrossSection(), ComputMuPairLoss(), and MakeSamplingTables().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4MuPairProductionModel::ComputeMicroscopicCrossSection ( G4double  tkin,
G4double  Z,
G4double  cut 
)
protected

Definition at line 265 of file G4MuPairProductionModel.cc.

References ak1, ak2, ComputeDMicroscopicCrossSection(), G4Exp(), G4Log(), G4INCL::Math::max(), MaxSecondaryEnergyForElement(), minPairEnergy, wgi, and xgi.

Referenced by ComputeCrossSectionPerAtom().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4MuPairProductionModel::ComputMuPairLoss ( G4double  Z,
G4double  tkin,
G4double  cut,
G4double  tmax 
)
protected

Definition at line 226 of file G4MuPairProductionModel.cc.

References ak1, ak2, ComputeDMicroscopicCrossSection(), G4Exp(), G4Log(), G4INCL::Math::max(), G4INCL::Math::min(), minPairEnergy, wgi, and xgi.

Referenced by ComputeDEDXPerVolume().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4MuPairProductionModel::DataCorrupted ( G4int  Z,
G4double  logTkin 
)
private

Definition at line 649 of file G4MuPairProductionModel.cc.

References FatalException, G4Exception(), G4Exp(), G4VEmModel::GetName(), and G4VEmModel::IsMaster().

Referenced by FindScaledEnergy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4MuPairProductionModel::FindScaledEnergy ( G4int  Z,
G4double  rand,
G4double  logTkin,
G4double  yymin,
G4double  yymax 
)
inlineprivate

Definition at line 216 of file G4MuPairProductionModel.hh.

References DataCorrupted(), G4VEmModel::fElementData, G4Physics2DVector::FindLinearX(), G4ElementData::GetElement2DData(), and G4Physics2DVector::Value().

Referenced by SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Implements G4VEmModel.

Definition at line 156 of file G4MuPairProductionModel.cc.

References dy, emax, emin, G4VEmModel::fElementData, fParticleChange, G4Log(), G4VEmModel::GetParticleChangeForLoss(), G4VEmModel::HighEnergyLimit(), G4VEmModel::InitialiseElementSelectors(), G4VEmModel::IsMaster(), G4VEmModel::LowEnergyLimit(), lowestKinEnergy, MakeSamplingTables(), G4INCL::Math::max(), minPairEnergy, nbine, nbiny, nYBinPerDecade, particle, SetParticle(), and ymin.

Referenced by G4TablesForExtrapolator::ComputeMuonDEDX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4MuPairProductionModel::InitialiseLocal ( const G4ParticleDefinition p,
G4VEmModel masterModel 
)
overridevirtual

Reimplemented from G4VEmModel.

Definition at line 188 of file G4MuPairProductionModel.cc.

References G4VEmModel::fElementData, G4VEmModel::GetElementData(), G4VEmModel::GetElementSelectors(), G4VEmModel::HighEnergyLimit(), lowestKinEnergy, particle, and G4VEmModel::SetElementSelectors().

+ Here is the call graph for this function:

void G4MuPairProductionModel::MakeSamplingTables ( )
private

Definition at line 440 of file G4MuPairProductionModel.cc.

References ComputeDMicroscopicCrossSection(), dy, emax, emin, fac, G4VEmModel::fElementData, G4Exp(), G4Log(), imax, G4ElementData::InitialiseForElement(), MaxSecondaryEnergyForElement(), MeV, minPairEnergy, nbine, nbiny, nzdat, G4Physics2DVector::PutValue(), G4Physics2DVector::PutX(), G4Physics2DVector::PutY(), ymin, and zdat.

Referenced by Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4MuPairProductionModel::MaxSecondaryEnergyForElement ( G4double  kineticEnergy,
G4double  Z 
)
inlineprotected

Definition at line 200 of file G4MuPairProductionModel.hh.

References currentZ, G4lrint(), G4NistManager::GetLOGZ(), G4NistManager::GetZ13(), lnZ, nist, particleMass, sqrte, z13, and z23.

Referenced by ComputeCrossSectionPerAtom(), ComputeDEDXPerVolume(), ComputeMicroscopicCrossSection(), MakeSamplingTables(), and SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4MuPairProductionModel::MinPrimaryEnergy ( const G4Material ,
const G4ParticleDefinition ,
G4double  cut 
)
overridevirtual

Reimplemented from G4VEmModel.

Definition at line 147 of file G4MuPairProductionModel.cc.

References lowestKinEnergy, and G4INCL::Math::max().

+ Here is the call graph for this function:

G4MuPairProductionModel& G4MuPairProductionModel::operator= ( const G4MuPairProductionModel right)
privatedelete
void G4MuPairProductionModel::SampleSecondaries ( std::vector< G4DynamicParticle * > *  vdp,
const G4MaterialCutsCouple couple,
const G4DynamicParticle aDynamicParticle,
G4double  tmin,
G4double  maxEnergy 
)
overridevirtual
void G4MuPairProductionModel::SetLowestKineticEnergy ( G4double  e)
inline

Definition at line 181 of file G4MuPairProductionModel.hh.

References lowestKinEnergy.

Referenced by G4ePairProduction::InitialiseEnergyLossProcess(), and G4MuPairProduction::InitialiseEnergyLossProcess().

+ Here is the caller graph for this function:

void G4MuPairProductionModel::SetParticle ( const G4ParticleDefinition p)
inline

Definition at line 189 of file G4MuPairProductionModel.hh.

References G4ParticleDefinition::GetPDGMass(), particle, and particleMass.

Referenced by G4MuPairProductionModel(), and Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4MuPairProductionModel::currentZ
protected

Definition at line 154 of file G4MuPairProductionModel.hh.

Referenced by MaxSecondaryEnergyForElement(), and SampleSecondaries().

G4double G4MuPairProductionModel::dy
private

Definition at line 174 of file G4MuPairProductionModel.hh.

Referenced by Initialise(), and MakeSamplingTables().

G4double G4MuPairProductionModel::emax
private
G4double G4MuPairProductionModel::emin
private
G4double G4MuPairProductionModel::factorForCross
protected
G4ParticleChangeForLoss* G4MuPairProductionModel::fParticleChange
private

Definition at line 162 of file G4MuPairProductionModel.hh.

Referenced by Initialise(), and SampleSecondaries().

G4double G4MuPairProductionModel::lnZ
protected
size_t G4MuPairProductionModel::nbine
private

Definition at line 172 of file G4MuPairProductionModel.hh.

Referenced by Initialise(), and MakeSamplingTables().

size_t G4MuPairProductionModel::nbiny
private

Definition at line 171 of file G4MuPairProductionModel.hh.

Referenced by Initialise(), and MakeSamplingTables().

G4NistManager* G4MuPairProductionModel::nist
protected
G4int G4MuPairProductionModel::nYBinPerDecade
private

Definition at line 170 of file G4MuPairProductionModel.hh.

Referenced by Initialise().

G4int G4MuPairProductionModel::nzdat
private

Definition at line 167 of file G4MuPairProductionModel.hh.

Referenced by MakeSamplingTables(), and SampleSecondaries().

const G4ParticleDefinition* G4MuPairProductionModel::particle
protected
G4ParticleDefinition* G4MuPairProductionModel::theElectron
private

Definition at line 160 of file G4MuPairProductionModel.hh.

Referenced by G4MuPairProductionModel(), and SampleSecondaries().

G4ParticleDefinition* G4MuPairProductionModel::thePositron
private

Definition at line 161 of file G4MuPairProductionModel.hh.

Referenced by G4MuPairProductionModel(), and SampleSecondaries().

const G4double G4MuPairProductionModel::wgi
staticprotected
Initial value:
=
{ 0.0506, 0.1112, 0.1569, 0.1813, 0.1813, 0.1569, 0.1112, 0.0506 }

Definition at line 156 of file G4MuPairProductionModel.hh.

Referenced by G4hPairProductionModel::ComputeDMicroscopicCrossSection(), ComputeDMicroscopicCrossSection(), ComputeMicroscopicCrossSection(), and ComputMuPairLoss().

const G4double G4MuPairProductionModel::xgi
staticprotected
Initial value:
=
{ 0.0199, 0.1017, 0.2372, 0.4083, 0.5917, 0.7628, 0.8983, 0.9801 }

Definition at line 156 of file G4MuPairProductionModel.hh.

Referenced by G4hPairProductionModel::ComputeDMicroscopicCrossSection(), ComputeDMicroscopicCrossSection(), ComputeMicroscopicCrossSection(), and ComputMuPairLoss().

G4double G4MuPairProductionModel::ymin
private

Definition at line 173 of file G4MuPairProductionModel.hh.

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


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