Geant4  10.01.p02
G4MuPairProductionModel Class Reference

#include <G4MuPairProductionModel.hh>

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

Public Member Functions

 G4MuPairProductionModel (const G4ParticleDefinition *p=0, const G4String &nam="muPairProd")
 
virtual ~G4MuPairProductionModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)
 
virtual void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel)
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kineticEnergy, G4double Z, G4double A, G4double cutEnergy, G4double maxEnergy)
 
virtual G4double ComputeDEDXPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy)
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
 
virtual G4double MinPrimaryEnergy (const G4Material *, const G4ParticleDefinition *, G4double)
 
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 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 *)
 
void InitialiseElementSelectors (const G4ParticleDefinition *, const G4DataVector &)
 
std::vector
< G4EmElementSelector * > * 
GetElementSelectors ()
 
void SetElementSelectors (std::vector< G4EmElementSelector * > *)
 
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=0)
 
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
 

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
CLHEP::HepRandomEngine * rndmEngineMod
 
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)
 
 G4MuPairProductionModel (const G4MuPairProductionModel &)
 

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
 

Static Private Attributes

static const G4int zdat [5] ={1, 4, 13, 29, 92}
 
static const G4double adat [5] ={1.01, 9.01,26.98, 63.55, 238.03}
 

Detailed Description

Definition at line 73 of file G4MuPairProductionModel.hh.

Constructor & Destructor Documentation

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

Definition at line 104 of file G4MuPairProductionModel.cc.

References G4Electron::Electron(), emax, emin, G4ParticleDefinition::GetPDGMass(), G4NistManager::Instance(), lnZ, lowestKinEnergy, 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 141 of file G4MuPairProductionModel.cc.

G4MuPairProductionModel::G4MuPairProductionModel ( const G4MuPairProductionModel )
private

Member Function Documentation

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

Reimplemented from G4VEmModel.

Definition at line 417 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 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 198 of file G4MuPairProductionModel.cc.

References ComputMuPairLoss(), G4Material::GetAtomicNumDensityVector(), G4Material::GetElementVector(), G4Material::GetNumberOfElements(), lowestKinEnergy, 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 304 of file G4MuPairProductionModel.cc.

References a0, a1, a3, a4, a5, c3, e3, factorForCross, fe, G4Exp(), G4Log(), 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 266 of file G4MuPairProductionModel.cc.

References 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 225 of file G4MuPairProductionModel.cc.

References ComputeDMicroscopicCrossSection(), G4Exp(), G4Log(), 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 218 of file G4MuPairProductionModel.hh.

References DataCorrupted(), G4VEmModel::fElementData, G4Physics2DVector::FindLinearX(), G4ElementData::GetElement2DData(), p0, 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 
)
virtual

Implements G4VEmModel.

Definition at line 155 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 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 187 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 441 of file G4MuPairProductionModel.cc.

References ComputeDMicroscopicCrossSection(), dy, emax, emin, fac, G4VEmModel::fElementData, G4Exp(), G4Log(), imax, G4ElementData::InitialiseForElement(), iz, 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 202 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 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 146 of file G4MuPairProductionModel.cc.

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

+ Here is the call graph for this function:

G4MuPairProductionModel& G4MuPairProductionModel::operator= ( const G4MuPairProductionModel right)
private
void G4MuPairProductionModel::SetLowestKineticEnergy ( G4double  e)
inline

Definition at line 183 of file G4MuPairProductionModel.hh.

References lowestKinEnergy.

void G4MuPairProductionModel::SetParticle ( const G4ParticleDefinition p)
inline

Definition at line 191 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

const G4double G4MuPairProductionModel::adat ={1.01, 9.01,26.98, 63.55, 238.03}
staticprivate

Definition at line 178 of file G4MuPairProductionModel.hh.

G4int G4MuPairProductionModel::currentZ
protected

Definition at line 153 of file G4MuPairProductionModel.hh.

Referenced by MaxSecondaryEnergyForElement(), and SampleSecondaries().

G4double G4MuPairProductionModel::dy
private

Definition at line 173 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 161 of file G4MuPairProductionModel.hh.

Referenced by Initialise(), and SampleSecondaries().

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

Definition at line 171 of file G4MuPairProductionModel.hh.

Referenced by Initialise(), and MakeSamplingTables().

size_t G4MuPairProductionModel::nbiny
private

Definition at line 170 of file G4MuPairProductionModel.hh.

Referenced by Initialise(), and MakeSamplingTables().

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

Definition at line 169 of file G4MuPairProductionModel.hh.

Referenced by Initialise().

G4int G4MuPairProductionModel::nzdat
private

Definition at line 166 of file G4MuPairProductionModel.hh.

Referenced by MakeSamplingTables(), and SampleSecondaries().

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

Definition at line 159 of file G4MuPairProductionModel.hh.

Referenced by G4MuPairProductionModel(), and SampleSecondaries().

G4ParticleDefinition* G4MuPairProductionModel::thePositron
private

Definition at line 160 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 155 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 155 of file G4MuPairProductionModel.hh.

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

G4double G4MuPairProductionModel::ymin
private

Definition at line 172 of file G4MuPairProductionModel.hh.

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

const G4int G4MuPairProductionModel::zdat ={1, 4, 13, 29, 92}
staticprivate

Definition at line 177 of file G4MuPairProductionModel.hh.

Referenced by MakeSamplingTables(), and SampleSecondaries().


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