Geant4  10.02.p02
G4PenelopeRayleighModel Class Reference

#include <G4PenelopeRayleighModel.hh>

+ Inheritance diagram for G4PenelopeRayleighModel:
+ Collaboration diagram for G4PenelopeRayleighModel:

Public Member Functions

 G4PenelopeRayleighModel (const G4ParticleDefinition *p=0, const G4String &processName="PenRayleigh")
 
virtual ~G4PenelopeRayleighModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)
 
virtual void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel)
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A=0, G4double cut=0, G4double emax=DBL_MAX)
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
 
void SetVerbosityLevel (G4int lev)
 
G4int GetVerbosityLevel ()
 
void DumpFormFactorTable (const G4Material *)
 
- 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, const G4ParticleDefinition *, G4double)
 
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 * > *)
 
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
 
G4bool IsLocked () const
 
void SetLocked (G4bool)
 

Protected Attributes

G4ParticleChangeForGammafParticleChange
 
const G4ParticleDefinitionfParticle
 
- Protected Attributes inherited from G4VEmModel
G4ElementDatafElementData
 
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
size_t idxTable
 

Private Member Functions

G4PenelopeRayleighModeloperator= (const G4PenelopeRayleighModel &right)
 
 G4PenelopeRayleighModel (const G4PenelopeRayleighModel &)
 
void SetParticle (const G4ParticleDefinition *)
 
void ReadDataFile (G4int)
 
void ClearTables ()
 
void BuildFormFactorTable (const G4Material *)
 
void GetPMaxTable (const G4Material *)
 
G4double GetFSquared (const G4Material *, const G4double)
 
void InitializeSamplingAlgorithm (const G4Material *)
 

Private Attributes

G4double fIntrinsicLowEnergyLimit
 
G4double fIntrinsicHighEnergyLimit
 
G4int verboseLevel
 
G4bool isInitialised
 
std::map< G4int,
G4PhysicsFreeVector * > * 
logAtomicCrossSection
 
std::map< G4int,
G4PhysicsFreeVector * > * 
atomicFormFactor
 
G4DataVector logQSquareGrid
 
std::map< const G4Material
*, G4PhysicsFreeVector * > * 
logFormFactorTable
 
G4DataVector logEnergyGridPMax
 
std::map< const G4Material
*, G4PhysicsFreeVector * > * 
pMaxTable
 
std::map< const G4Material
*, G4PenelopeSamplingData * > * 
samplingTable
 
G4bool fLocalTable
 

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 *)
 
- Static Protected Attributes inherited from G4VEmModel
static const G4double inveplus = 1.0/CLHEP::eplus
 

Detailed Description

Definition at line 58 of file G4PenelopeRayleighModel.hh.

Constructor & Destructor Documentation

G4PenelopeRayleighModel::G4PenelopeRayleighModel ( const G4ParticleDefinition p = 0,
const G4String processName = "PenRayleigh" 
)

Definition at line 54 of file G4PenelopeRayleighModel.cc.

References eV, fIntrinsicHighEnergyLimit, fIntrinsicLowEnergyLimit, GeV, keV, logEnergyGridPMax, G4VEmModel::SetHighEnergyLimit(), SetParticle(), and verboseLevel.

+ Here is the call graph for this function:

G4PenelopeRayleighModel::~G4PenelopeRayleighModel ( )
virtual

Definition at line 96 of file G4PenelopeRayleighModel.cc.

References atomicFormFactor, ClearTables(), fLocalTable, G4VEmModel::IsMaster(), and logAtomicCrossSection.

+ Here is the call graph for this function:

G4PenelopeRayleighModel::G4PenelopeRayleighModel ( const G4PenelopeRayleighModel )
private

Member Function Documentation

void G4PenelopeRayleighModel::BuildFormFactorTable ( const G4Material material)
private

Definition at line 351 of file G4PenelopeRayleighModel.cc.

References atomicFormFactor, FatalException, g, G4endl, G4Exception(), G4Material::GetElementVector(), G4Material::GetFractionVector(), G4Material::GetName(), G4Material::GetNumberOfElements(), logFormFactorTable, logQSquareGrid, mole, G4PhysicsFreeVector::PutValue(), and G4PhysicsVector::SetSpline().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4PenelopeRayleighModel::ClearTables ( )
private

Definition at line 122 of file G4PenelopeRayleighModel.cc.

References logFormFactorTable, pMaxTable, and samplingTable.

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

+ Here is the caller graph for this function:

G4double G4PenelopeRayleighModel::ComputeCrossSectionPerAtom ( const G4ParticleDefinition ,
G4double  kinEnergy,
G4double  Z,
G4double  A = 0,
G4double  cut = 0,
G4double  emax = DBL_MAX 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 280 of file G4PenelopeRayleighModel.cc.

References barn, FatalException, fLocalTable, G4cout, G4endl, G4Exception(), G4Exp(), JustWarning, keV, logAtomicCrossSection, ReadDataFile(), G4TemplateAutoLock< M, L, U >::unlock(), G4PhysicsVector::Value(), and verboseLevel.

+ Here is the call graph for this function:

void G4PenelopeRayleighModel::DumpFormFactorTable ( const G4Material mat)

Definition at line 1339 of file G4PenelopeRayleighModel.cc.

References BuildFormFactorTable(), G4cout, G4endl, G4Exp(), G4PhysicsVector::GetLowEdgeEnergy(), G4Material::GetName(), G4PhysicsVector::GetVectorLength(), logFormFactorTable, and Q.

+ Here is the call graph for this function:

G4double G4PenelopeRayleighModel::GetFSquared ( const G4Material mat,
const G4double  QSquared 
)
private

Definition at line 730 of file G4PenelopeRayleighModel.cc.

References f2, FatalException, G4cout, G4endl, G4Exception(), G4Exp(), G4Material::GetName(), logFormFactorTable, logQSquareGrid, G4PhysicsVector::Value(), and verboseLevel.

Referenced by InitializeSamplingAlgorithm().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4PenelopeRayleighModel::GetPMaxTable ( const G4Material mat)
private

Definition at line 1204 of file G4PenelopeRayleighModel.cc.

References G4INCL::KinematicsUtils::energy(), FatalException, G4cout, G4endl, G4Exception(), G4Exp(), G4PenelopeSamplingData::GetA(), G4PenelopeSamplingData::GetB(), G4Material::GetName(), G4PenelopeSamplingData::GetNumberOfStoredPoints(), G4PenelopeSamplingData::GetPAC(), G4PenelopeSamplingData::GetX(), logEnergyGridPMax, pMaxTable, G4PhysicsFreeVector::PutValue(), and samplingTable.

Referenced by Initialise(), and SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4PenelopeRayleighModel::GetVerbosityLevel ( )
inline

Definition at line 85 of file G4PenelopeRayleighModel.hh.

References verboseLevel.

void G4PenelopeRayleighModel::InitialiseLocal ( const G4ParticleDefinition part,
G4VEmModel masterModel 
)
virtual
void G4PenelopeRayleighModel::InitializeSamplingAlgorithm ( const G4Material mat)
private

Definition at line 776 of file G4PenelopeRayleighModel.cc.

References a, G4PenelopeSamplingData::AddPoint(), G4PenelopeSamplingData::DumpTable(), factor, FatalException, G4cout, G4endl, G4Exception(), G4Exp(), GetFSquared(), G4Material::GetName(), logQSquareGrid, G4INCL::Math::max(), G4INCL::Math::min(), samplingTable, verboseLevel, and x.

Referenced by Initialise(), and SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4PenelopeRayleighModel& G4PenelopeRayleighModel::operator= ( const G4PenelopeRayleighModel right)
private
void G4PenelopeRayleighModel::ReadDataFile ( G4int  Z)
private

Definition at line 593 of file G4PenelopeRayleighModel.cc.

References atomicFormFactor, cm2, eV, f1, f2, FatalException, G4cout, G4endl, G4Exception(), logAtomicCrossSection, logQSquareGrid, G4PhysicsFreeVector::PutValue(), and verboseLevel.

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4PenelopeRayleighModel::SetParticle ( const G4ParticleDefinition p)
private

Definition at line 1364 of file G4PenelopeRayleighModel.cc.

References fParticle.

Referenced by G4PenelopeRayleighModel(), and Initialise().

+ Here is the caller graph for this function:

void G4PenelopeRayleighModel::SetVerbosityLevel ( G4int  lev)
inline

Definition at line 84 of file G4PenelopeRayleighModel.hh.

References verboseLevel.

Member Data Documentation

std::map<G4int,G4PhysicsFreeVector*>* G4PenelopeRayleighModel::atomicFormFactor
private
G4double G4PenelopeRayleighModel::fIntrinsicHighEnergyLimit
private

Definition at line 103 of file G4PenelopeRayleighModel.hh.

Referenced by G4PenelopeRayleighModel().

G4double G4PenelopeRayleighModel::fIntrinsicLowEnergyLimit
private

Definition at line 102 of file G4PenelopeRayleighModel.hh.

Referenced by G4PenelopeRayleighModel(), and SampleSecondaries().

G4bool G4PenelopeRayleighModel::fLocalTable
private
const G4ParticleDefinition* G4PenelopeRayleighModel::fParticle
protected

Definition at line 92 of file G4PenelopeRayleighModel.hh.

Referenced by Initialise(), InitialiseLocal(), and SetParticle().

G4ParticleChangeForGamma* G4PenelopeRayleighModel::fParticleChange
protected

Definition at line 91 of file G4PenelopeRayleighModel.hh.

Referenced by Initialise(), and SampleSecondaries().

G4bool G4PenelopeRayleighModel::isInitialised
private

Definition at line 106 of file G4PenelopeRayleighModel.hh.

Referenced by Initialise().

std::map<G4int,G4PhysicsFreeVector*>* G4PenelopeRayleighModel::logAtomicCrossSection
private
G4DataVector G4PenelopeRayleighModel::logEnergyGridPMax
private

Definition at line 116 of file G4PenelopeRayleighModel.hh.

Referenced by G4PenelopeRayleighModel(), and GetPMaxTable().

std::map<const G4Material*,G4PhysicsFreeVector*>* G4PenelopeRayleighModel::logFormFactorTable
private
G4DataVector G4PenelopeRayleighModel::logQSquareGrid
private
std::map<const G4Material*,G4PhysicsFreeVector*>* G4PenelopeRayleighModel::pMaxTable
private
std::map<const G4Material*,G4PenelopeSamplingData*>* G4PenelopeRayleighModel::samplingTable
private

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