Geant4  10.01.p02
G4PAIModel Class Reference

#include <G4PAIModel.hh>

+ Inheritance diagram for G4PAIModel:
+ Collaboration diagram for G4PAIModel:

Public Member Functions

 G4PAIModel (const G4ParticleDefinition *p=0, const G4String &nam="PAI")
 
virtual ~G4PAIModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)
 
virtual void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel)
 
virtual G4double ComputeDEDXPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy)
 
virtual G4double CrossSectionPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy, G4double maxEnergy)
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
 
virtual G4double SampleFluctuations (const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double, G4double, G4double)
 
virtual G4double Dispersion (const G4Material *, const G4DynamicParticle *, G4double, G4double)
 
void DefineForRegion (const G4Region *r)
 
G4PAIModelDataGetPAIModelData ()
 
const std::vector< const
G4MaterialCutsCouple * > & 
GetVectorOfCouples ()
 
G4double ComputeMaxEnergy (G4double scaledEnergy)
 
void SetVerboseLevel (G4int verbose)
 
- 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 ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A=0., 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)
 
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
 
- 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
 

Protected Member Functions

G4double MaxSecondaryEnergy (const G4ParticleDefinition *, G4double kinEnergy)
 
- Protected Member Functions inherited from G4VEmModel
G4ParticleChangeForLossGetParticleChangeForLoss ()
 
G4ParticleChangeForGammaGetParticleChangeForGamma ()
 
const G4MaterialCutsCoupleCurrentCouple () const
 
void SetCurrentElement (const G4Element *)
 

Private Member Functions

G4int FindCoupleIndex (const G4MaterialCutsCouple *)
 
void SetParticle (const G4ParticleDefinition *p)
 
G4PAIModeloperator= (const G4PAIModel &right)
 
 G4PAIModel (const G4PAIModel &)
 

Private Attributes

G4int fVerbose
 
G4PAIModelDatafModelData
 
std::vector< const
G4MaterialCutsCouple * > 
fMaterialCutsCoupleVector
 
std::vector< const G4Region * > fPAIRegionVector
 
const G4ParticleDefinitionfParticle
 
const G4ParticleDefinitionfElectron
 
const G4ParticleDefinitionfPositron
 
G4ParticleChangeForLossfParticleChange
 
G4double fMass
 
G4double fRatio
 
G4double fChargeSquare
 

Additional Inherited Members

- Protected Attributes inherited from G4VEmModel
CLHEP::HepRandomEngine * rndmEngineMod
 
G4ElementDatafElementData
 
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
size_t idxTable
 
- Protected Attributes inherited from G4VEmFluctuationModel
CLHEP::HepRandomEngine * rndmEngineF
 
- Static Protected Attributes inherited from G4VEmModel
static const G4double inveplus = 1.0/CLHEP::eplus
 

Detailed Description

Definition at line 69 of file G4PAIModel.hh.

Constructor & Destructor Documentation

G4PAIModel::G4PAIModel ( const G4ParticleDefinition p = 0,
const G4String nam = "PAI" 
)

Definition at line 77 of file G4PAIModel.cc.

References G4Electron::Electron(), fElectron, fParticleChange, fPositron, G4Positron::Positron(), G4VEmModel::SetAngularDistribution(), and SetParticle().

+ Here is the call graph for this function:

G4PAIModel::~G4PAIModel ( )
virtual

Definition at line 97 of file G4PAIModel.cc.

References fModelData, and G4VEmModel::IsMaster().

+ Here is the call graph for this function:

G4PAIModel::G4PAIModel ( const G4PAIModel )
private

Member Function Documentation

G4double G4PAIModel::ComputeDEDXPerVolume ( const G4Material ,
const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  cutEnergy 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 204 of file G4PAIModel.cc.

References G4VEmModel::CurrentCouple(), G4PAIModelData::DEDXPerVolume(), fChargeSquare, FindCoupleIndex(), fModelData, fRatio, MaxSecondaryEnergy(), and G4INCL::Math::min().

+ Here is the call graph for this function:

G4double G4PAIModel::ComputeMaxEnergy ( G4double  scaledEnergy)
inline

Definition at line 164 of file G4PAIModel.hh.

References fParticle, fRatio, and MaxSecondaryEnergy().

Referenced by G4PAIModelData::Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4PAIModel::CrossSectionPerVolume ( const G4Material ,
const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  cutEnergy,
G4double  maxEnergy 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 227 of file G4PAIModel.cc.

References G4PAIModelData::CrossSectionPerVolume(), G4VEmModel::CurrentCouple(), fChargeSquare, FindCoupleIndex(), fModelData, fRatio, MaxSecondaryEnergy(), and G4INCL::Math::min().

+ Here is the call graph for this function:

void G4PAIModel::DefineForRegion ( const G4Region r)
virtual

Reimplemented from G4VEmModel.

Definition at line 386 of file G4PAIModel.cc.

References fPAIRegionVector.

G4double G4PAIModel::Dispersion ( const G4Material material,
const G4DynamicParticle aParticle,
G4double  tmax,
G4double  step 
)
virtual

Implements G4VEmFluctuationModel.

Definition at line 350 of file G4PAIModel.cc.

References eplus, G4DynamicParticle::GetCharge(), G4Material::GetElectronDensity(), G4DynamicParticle::GetKineticEnergy(), and G4DynamicParticle::GetMass().

+ Here is the call graph for this function:

G4int G4PAIModel::FindCoupleIndex ( const G4MaterialCutsCouple couple)
inlineprivate

Definition at line 174 of file G4PAIModel.hh.

References fMaterialCutsCoupleVector.

Referenced by ComputeDEDXPerVolume(), CrossSectionPerVolume(), SampleFluctuations(), and SampleSecondaries().

+ Here is the caller graph for this function:

G4PAIModelData * G4PAIModel::GetPAIModelData ( )
inline

Definition at line 153 of file G4PAIModel.hh.

References fModelData.

Referenced by InitialiseLocal().

+ Here is the caller graph for this function:

const std::vector< const G4MaterialCutsCouple * > & G4PAIModel::GetVectorOfCouples ( )
inline

Definition at line 159 of file G4PAIModel.hh.

References fMaterialCutsCoupleVector.

Referenced by InitialiseLocal().

+ Here is the caller graph for this function:

void G4PAIModel::InitialiseLocal ( const G4ParticleDefinition p,
G4VEmModel masterModel 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 192 of file G4PAIModel.cc.

References fMaterialCutsCoupleVector, fModelData, G4VEmModel::GetElementSelectors(), GetPAIModelData(), GetVectorOfCouples(), G4VEmModel::SetElementSelectors(), and SetParticle().

+ Here is the call graph for this function:

G4double G4PAIModel::MaxSecondaryEnergy ( const G4ParticleDefinition p,
G4double  kinEnergy 
)
protectedvirtual

Reimplemented from G4VEmModel.

Definition at line 369 of file G4PAIModel.cc.

References fElectron, fMass, fPositron, and SetParticle().

Referenced by ComputeDEDXPerVolume(), ComputeMaxEnergy(), CrossSectionPerVolume(), and SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4PAIModel& G4PAIModel::operator= ( const G4PAIModel right)
private
G4double G4PAIModel::SampleFluctuations ( const G4MaterialCutsCouple matCC,
const G4DynamicParticle aParticle,
G4double  tmax,
G4double  step,
G4double  eloss 
)
virtual

Implements G4VEmFluctuationModel.

Definition at line 315 of file G4PAIModel.cc.

References fChargeSquare, FindCoupleIndex(), fModelData, fRatio, G4DynamicParticle::GetDefinition(), G4DynamicParticle::GetKineticEnergy(), G4PAIModelData::SampleAlongStepTransfer(), and SetParticle().

+ Here is the call graph for this function:

void G4PAIModel::SetParticle ( const G4ParticleDefinition p)
inlineprivate

Definition at line 187 of file G4PAIModel.hh.

References eplus, fChargeSquare, fMass, fParticle, fRatio, G4ParticleDefinition::GetPDGCharge(), and G4ParticleDefinition::GetPDGMass().

Referenced by G4PAIModel(), Initialise(), InitialiseLocal(), MaxSecondaryEnergy(), SampleFluctuations(), and SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4PAIModel::SetVerboseLevel ( G4int  verbose)
inline

Definition at line 169 of file G4PAIModel.hh.

References fVerbose.

Member Data Documentation

G4double G4PAIModel::fChargeSquare
private
const G4ParticleDefinition* G4PAIModel::fElectron
private

Definition at line 144 of file G4PAIModel.hh.

Referenced by G4PAIModel(), MaxSecondaryEnergy(), and SampleSecondaries().

G4double G4PAIModel::fMass
private

Definition at line 148 of file G4PAIModel.hh.

Referenced by MaxSecondaryEnergy(), SampleSecondaries(), and SetParticle().

std::vector<const G4MaterialCutsCouple*> G4PAIModel::fMaterialCutsCoupleVector
private

Definition at line 140 of file G4PAIModel.hh.

Referenced by FindCoupleIndex(), GetVectorOfCouples(), Initialise(), and InitialiseLocal().

std::vector<const G4Region*> G4PAIModel::fPAIRegionVector
private

Definition at line 141 of file G4PAIModel.hh.

Referenced by DefineForRegion(), and Initialise().

const G4ParticleDefinition* G4PAIModel::fParticle
private

Definition at line 143 of file G4PAIModel.hh.

Referenced by ComputeMaxEnergy(), SampleSecondaries(), and SetParticle().

G4ParticleChangeForLoss* G4PAIModel::fParticleChange
private

Definition at line 146 of file G4PAIModel.hh.

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

const G4ParticleDefinition* G4PAIModel::fPositron
private

Definition at line 145 of file G4PAIModel.hh.

Referenced by G4PAIModel(), and MaxSecondaryEnergy().

G4int G4PAIModel::fVerbose
private

Definition at line 136 of file G4PAIModel.hh.

Referenced by Initialise(), and SetVerboseLevel().


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