Geant4  10.02
G4VDNAPTBModel Class Referenceabstract

#include <G4VDNAPTBModel.hh>

+ Inheritance diagram for G4VDNAPTBModel:
+ Collaboration diagram for G4VDNAPTBModel:

Classes

struct  MaterialData
 

Public Member Functions

 G4VDNAPTBModel (const G4String &nam, const G4String &applyToMaterial)
 
virtual ~G4VDNAPTBModel ()
 
virtual void Initialise (const G4ParticleDefinition *particle, const G4DataVector &cuts)=0
 
G4bool IsMaterialDefine (const G4String &materialName)
 
G4bool IsParticleExistingInModel (const G4String &particleName)
 
G4bool IsMaterialExistingInModelForParticle (const G4String &particleName, const G4String &materialName)
 
void SetHighELimit (const G4String &material, const G4String &particle, G4double lim)
 
void SetLowELimit (const G4String &material, const G4String &particle, G4double lim)
 
G4double GetHighELimit (const G4String &material, const G4String &particle)
 
G4double GetLowELimit (const G4String &material, const G4String &particle)
 
virtual G4double CrossSectionPerVolume (const G4Material *material, const G4ParticleDefinition *p, G4double ekin, G4double emin, G4double emax)=0
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin=0, G4double tmax=DBL_MAX)=0
 
G4double GetHighELimit (const G4Material *material)
 
G4double GetLowELimit (const G4Material *material)
 
void SetHighELimit (const G4Material *material, G4double lim)
 
void SetLowELimit (const G4Material *material, G4double lim)
 
- 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 ComputeDEDXPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)
 
virtual G4double GetPartialCrossSection (const G4Material *, G4int, const G4ParticleDefinition *, G4double)
 
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 * > *)
 
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 Types

typedef std::map< G4String,
std::map< G4String,
G4DNACrossSectionDataSet
*, std::less< G4String > > > 
TableMapData
 

Protected Member Functions

TableMapDataGetTableData ()
 
G4DNACrossSectionDataSetGetSigmaData (const G4Material *material)
 
std::vector< G4StringBuildApplyToMatVect (const G4String &materials)
 
void ReadAndSaveCSFile (const G4String &materialName, const G4String &particleName, const G4String &file, G4double scaleFactor)
 
G4int RandomSelectShell (G4double k, const G4Material *material)
 
void AddCrossSectionData (const G4String &materialName, const G4String &particleName, const G4String &fileCS, const G4String &fileDiffCS, G4double scaleFactor)
 
void AddCrossSectionData (const G4String &materialName, const G4String &particleName, const G4String &fileCS, G4double scaleFactor)
 
void LoadCrossSectionData (const G4String &particleName)
 
virtual void ReadDiffCSFile (const G4String &materialName, const G4String &particleName, const G4String &path, const G4double scaleFactor)
 
void EnableForMaterialAndParticle (const G4String &materialName, const G4String &particleName)
 
- 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 G4String fStringOfMaterials
 
TableMapData fTableData
 
std::vector< MaterialDatafModelMaterialData
 
std::map< G4String, std::map
< G4String, G4double > > 
fLowEnergyLimits
 
std::map< G4String, std::map
< G4String, G4double > > 
fHighEnergyLimits
 
std::map< G4int,
G4DNACrossSectionDataSet * > 
fTableDataRuntime
 
std::map< G4int, G4doublefLowEnergyLimitsRuntime
 
std::map< G4int, G4doublefHighEnergyLimitsRuntime
 
- Protected Attributes inherited from G4VEmModel
G4ElementDatafElementData
 
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
size_t idxTable
 

Additional Inherited Members

- Static Protected Attributes inherited from G4VEmModel
static const G4double inveplus = 1.0/CLHEP::eplus
 

Detailed Description

Definition at line 36 of file G4VDNAPTBModel.hh.

Member Typedef Documentation

typedef std::map<G4String, std::map<G4String,G4DNACrossSectionDataSet*, std::less<G4String> > > G4VDNAPTBModel::TableMapData
protected

Definition at line 91 of file G4VDNAPTBModel.hh.

Constructor & Destructor Documentation

G4VDNAPTBModel::G4VDNAPTBModel ( const G4String nam,
const G4String applyToMaterial 
)

Definition at line 29 of file G4VDNAPTBModel.cc.

G4VDNAPTBModel::~G4VDNAPTBModel ( )
virtual

Definition at line 36 of file G4VDNAPTBModel.cc.

References fTableData.

Member Function Documentation

void G4VDNAPTBModel::AddCrossSectionData ( const G4String materialName,
const G4String particleName,
const G4String fileCS,
const G4String fileDiffCS,
G4double  scaleFactor 
)
protected

Definition at line 53 of file G4VDNAPTBModel.cc.

References fModelMaterialData.

void G4VDNAPTBModel::AddCrossSectionData ( const G4String materialName,
const G4String particleName,
const G4String fileCS,
G4double  scaleFactor 
)
protected

Definition at line 58 of file G4VDNAPTBModel.cc.

References fModelMaterialData.

std::vector< G4String > G4VDNAPTBModel::BuildApplyToMatVect ( const G4String materials)
protected

Definition at line 149 of file G4VDNAPTBModel.cc.

Referenced by LoadCrossSectionData().

+ Here is the caller graph for this function:

virtual G4double G4VDNAPTBModel::CrossSectionPerVolume ( const G4Material material,
const G4ParticleDefinition p,
G4double  ekin,
G4double  emin,
G4double  emax 
)
pure virtual

Reimplemented from G4VEmModel.

void G4VDNAPTBModel::EnableForMaterialAndParticle ( const G4String materialName,
const G4String particleName 
)
protected

Definition at line 144 of file G4VDNAPTBModel.cc.

References fTableData.

G4double G4VDNAPTBModel::GetHighELimit ( const G4String material,
const G4String particle 
)
inline

Definition at line 59 of file G4VDNAPTBModel.hh.

References fHighEnergyLimits.

G4double G4VDNAPTBModel::GetHighELimit ( const G4Material material)
inline

Definition at line 79 of file G4VDNAPTBModel.hh.

References fHighEnergyLimitsRuntime, and G4Material::GetIndex().

+ Here is the call graph for this function:

G4double G4VDNAPTBModel::GetLowELimit ( const G4String material,
const G4String particle 
)
inline

Definition at line 60 of file G4VDNAPTBModel.hh.

References fLowEnergyLimits.

G4double G4VDNAPTBModel::GetLowELimit ( const G4Material material)
inline

Definition at line 80 of file G4VDNAPTBModel.hh.

References fLowEnergyLimitsRuntime, and G4Material::GetIndex().

+ Here is the call graph for this function:

G4DNACrossSectionDataSet* G4VDNAPTBModel::GetSigmaData ( const G4Material material)
inlineprotected

Definition at line 140 of file G4VDNAPTBModel.hh.

References G4Material::GetIndex().

+ Here is the call graph for this function:

TableMapData* G4VDNAPTBModel::GetTableData ( )
inlineprotected

Definition at line 139 of file G4VDNAPTBModel.hh.

References fTableData.

virtual void G4VDNAPTBModel::Initialise ( const G4ParticleDefinition particle,
const G4DataVector cuts 
)
pure virtual

Implements G4VEmModel.

G4bool G4VDNAPTBModel::IsMaterialDefine ( const G4String materialName)

Definition at line 245 of file G4VDNAPTBModel.cc.

References G4Material::GetMaterialTable(), and G4VEmModel::GetName().

+ Here is the call graph for this function:

G4bool G4VDNAPTBModel::IsMaterialExistingInModelForParticle ( const G4String particleName,
const G4String materialName 
)

Definition at line 279 of file G4VDNAPTBModel.cc.

References fTableData, and IsParticleExistingInModel().

Referenced by LoadCrossSectionData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4VDNAPTBModel::IsParticleExistingInModel ( const G4String particleName)

Definition at line 265 of file G4VDNAPTBModel.cc.

References fTableData.

Referenced by IsMaterialExistingInModelForParticle().

+ Here is the caller graph for this function:

void G4VDNAPTBModel::LoadCrossSectionData ( const G4String particleName)
protected
G4int G4VDNAPTBModel::RandomSelectShell ( G4double  k,
const G4Material material 
)
protected

Definition at line 192 of file G4VDNAPTBModel.cc.

References FatalException, G4VEMDataSet::FindValue(), fTableDataRuntime, G4Exception(), G4UniformRand, G4DNACrossSectionDataSet::GetComponent(), G4Material::GetIndex(), n, G4DNACrossSectionDataSet::NumberOfComponents(), and pos.

+ Here is the call graph for this function:

void G4VDNAPTBModel::ReadAndSaveCSFile ( const G4String materialName,
const G4String particleName,
const G4String file,
G4double  scaleFactor 
)
protected

Definition at line 184 of file G4VDNAPTBModel.cc.

References eV, and fTableData.

Referenced by LoadCrossSectionData().

+ Here is the caller graph for this function:

void G4VDNAPTBModel::ReadDiffCSFile ( const G4String materialName,
const G4String particleName,
const G4String path,
const G4double  scaleFactor 
)
protectedvirtual

Definition at line 136 of file G4VDNAPTBModel.cc.

References FatalException, and G4Exception().

Referenced by LoadCrossSectionData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void G4VDNAPTBModel::SampleSecondaries ( std::vector< G4DynamicParticle * > *  ,
const G4MaterialCutsCouple ,
const G4DynamicParticle ,
G4double  tmin = 0,
G4double  tmax = DBL_MAX 
)
pure virtual

Implements G4VEmModel.

void G4VDNAPTBModel::SetHighELimit ( const G4String material,
const G4String particle,
G4double  lim 
)
inline

Definition at line 56 of file G4VDNAPTBModel.hh.

References fHighEnergyLimits.

void G4VDNAPTBModel::SetHighELimit ( const G4Material material,
G4double  lim 
)
inline

Definition at line 82 of file G4VDNAPTBModel.hh.

References fHighEnergyLimitsRuntime, and G4Material::GetIndex().

+ Here is the call graph for this function:

void G4VDNAPTBModel::SetLowELimit ( const G4String material,
const G4String particle,
G4double  lim 
)
inline

Definition at line 57 of file G4VDNAPTBModel.hh.

References fLowEnergyLimits.

void G4VDNAPTBModel::SetLowELimit ( const G4Material material,
G4double  lim 
)
inline

Definition at line 83 of file G4VDNAPTBModel.hh.

References fLowEnergyLimitsRuntime, and G4Material::GetIndex().

+ Here is the call graph for this function:

Member Data Documentation

std::map<G4String, std::map<G4String, G4double> > G4VDNAPTBModel::fHighEnergyLimits
protected

Definition at line 121 of file G4VDNAPTBModel.hh.

Referenced by GetHighELimit(), LoadCrossSectionData(), and SetHighELimit().

std::map<G4int, G4double> G4VDNAPTBModel::fHighEnergyLimitsRuntime
protected

Definition at line 133 of file G4VDNAPTBModel.hh.

Referenced by GetHighELimit(), LoadCrossSectionData(), and SetHighELimit().

std::map<G4String, std::map<G4String, G4double> > G4VDNAPTBModel::fLowEnergyLimits
protected

Definition at line 120 of file G4VDNAPTBModel.hh.

Referenced by GetLowELimit(), LoadCrossSectionData(), and SetLowELimit().

std::map<G4int, G4double> G4VDNAPTBModel::fLowEnergyLimitsRuntime
protected

Definition at line 132 of file G4VDNAPTBModel.hh.

Referenced by GetLowELimit(), LoadCrossSectionData(), and SetLowELimit().

std::vector<MaterialData> G4VDNAPTBModel::fModelMaterialData
protected

Definition at line 117 of file G4VDNAPTBModel.hh.

Referenced by AddCrossSectionData(), and LoadCrossSectionData().

const G4String G4VDNAPTBModel::fStringOfMaterials
protected

Definition at line 93 of file G4VDNAPTBModel.hh.

Referenced by LoadCrossSectionData().

std::map<G4int, G4DNACrossSectionDataSet*> G4VDNAPTBModel::fTableDataRuntime
protected

Definition at line 129 of file G4VDNAPTBModel.hh.

Referenced by LoadCrossSectionData(), and RandomSelectShell().


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