ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PAIModel Class Reference

#include <geant4/tree/geant4-10.6-release/source/processes/electromagnetic/standard/include/G4PAIModel.hh>

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

Public Member Functions

 G4PAIModel (const G4ParticleDefinition *p=nullptr, const G4String &nam="PAI")
 
 ~G4PAIModel () final
 
void Initialise (const G4ParticleDefinition *, const G4DataVector &) final
 
void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel) final
 
G4double MinEnergyCut (const G4ParticleDefinition *, const G4MaterialCutsCouple *couple) final
 
G4double ComputeDEDXPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy) final
 
G4double CrossSectionPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy, G4double maxEnergy) final
 
void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) final
 
G4double SampleFluctuations (const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double, G4double, G4double) final
 
G4double Dispersion (const G4Material *, const G4DynamicParticle *, G4double, G4double) final
 
void DefineForRegion (const G4Region *r) final
 
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 GetPartialCrossSection (const G4Material *, G4int level, const G4ParticleDefinition *, G4double kineticEnergy)
 
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 void SetupForMaterial (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
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)
 
const G4ElementSelectRandomAtom (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
const G4ElementSelectTargetAtom (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double logKineticEnergy, 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 *)
 
G4int SelectIsotopeNumber (const G4Element *)
 
void SetParticleChange (G4VParticleChange *, G4VEmFluctuationModel *f=nullptr)
 
void SetCrossSectionTable (G4PhysicsTable *, G4bool isLocal)
 
G4ElementDataGetElementData ()
 
G4PhysicsTableGetCrossSectionTable ()
 
G4VEmFluctuationModelGetModelOfFluctuations ()
 
G4VEmAngularDistributionGetAngularDistribution ()
 
G4VEmModelGetTripletModel ()
 
void SetTripletModel (G4VEmModel *)
 
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) const
 
void SetPolarAngleLimit (G4double)
 
void SetSecondaryThreshold (G4double)
 
void SetLPMFlag (G4bool val)
 
void SetDeexcitationFlag (G4bool val)
 
void SetForceBuildTable (G4bool val)
 
void SetFluctuationFlag (G4bool val)
 
void SetMasterThread (G4bool val)
 
G4bool IsMaster () const
 
void SetUseBaseMaterials (G4bool val)
 
G4bool UseBaseMaterials () 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)
 
- 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) final
 
- 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)=delete
 
 G4PAIModel (const G4PAIModel &)=delete
 

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
 
G4double fLowestTcut
 

Additional Inherited Members

- Protected Attributes inherited from G4VEmModel
G4ElementDatafElementData
 
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const G4MaterialpBaseMaterial
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
size_t idxTable
 
G4bool lossFlucFlag
 
G4double inveplus
 
G4double pFactor
 

Detailed Description

Definition at line 68 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub at line 68 of file G4PAIModel.hh

Constructor & Destructor Documentation

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

Definition at line 76 of file G4PAIModel.cc.

View newest version in sPHENIX GitHub at line 76 of file G4PAIModel.cc

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

+ Here is the call graph for this function:

G4PAIModel::~G4PAIModel ( )
final

Definition at line 97 of file G4PAIModel.cc.

View newest version in sPHENIX GitHub at line 97 of file G4PAIModel.cc

References fModelData, and G4VEmModel::IsMaster().

+ Here is the call graph for this function:

G4PAIModel::G4PAIModel ( const G4PAIModel )
privatedelete

Member Function Documentation

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

Reimplemented from G4VEmModel.

Definition at line 212 of file G4PAIModel.cc.

View newest version in sPHENIX GitHub at line 212 of file G4PAIModel.cc

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

+ Here is the call graph for this function:

G4double G4PAIModel::ComputeMaxEnergy ( G4double  scaledEnergy)
inline

Definition at line 164 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub 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 
)
finalvirtual

Reimplemented from G4VEmModel.

Definition at line 235 of file G4PAIModel.cc.

View newest version in sPHENIX GitHub at line 235 of file G4PAIModel.cc

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

+ Here is the call graph for this function:

void G4PAIModel::DefineForRegion ( const G4Region r)
finalvirtual

Reimplemented from G4VEmModel.

Definition at line 396 of file G4PAIModel.cc.

View newest version in sPHENIX GitHub at line 396 of file G4PAIModel.cc

References fPAIRegionVector.

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

Implements G4VEmFluctuationModel.

Definition at line 360 of file G4PAIModel.cc.

View newest version in sPHENIX GitHub at line 360 of file G4PAIModel.cc

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

+ Here is the call graph for this function:

G4int G4PAIModel::FindCoupleIndex ( const G4MaterialCutsCouple couple)
inlineprivate

Definition at line 174 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub at line 174 of file G4PAIModel.hh

References fMaterialCutsCoupleVector, and incremental_prev_tag::idx.

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.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub 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 
)
finalvirtual

Reimplemented from G4VEmModel.

Definition at line 192 of file G4PAIModel.cc.

View newest version in sPHENIX GitHub 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 
)
finalprotectedvirtual

Reimplemented from G4VEmModel.

Definition at line 379 of file G4PAIModel.cc.

View newest version in sPHENIX GitHub at line 379 of file G4PAIModel.cc

References source.hepunit::electron_mass_c2, fElectron, fMass, fPositron, ratio, 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:

G4double G4PAIModel::MinEnergyCut ( const G4ParticleDefinition ,
const G4MaterialCutsCouple couple 
)
finalvirtual

Reimplemented from G4VEmModel.

Definition at line 204 of file G4PAIModel.cc.

View newest version in sPHENIX GitHub at line 204 of file G4PAIModel.cc

References fLowestTcut.

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

Implements G4VEmFluctuationModel.

Definition at line 325 of file G4PAIModel.cc.

View newest version in sPHENIX GitHub at line 325 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.

View newest version in sPHENIX GitHub at line 187 of file G4PAIModel.hh

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

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.

View newest version in sPHENIX GitHub at line 169 of file G4PAIModel.hh

References fVerbose.

Member Data Documentation

G4double G4PAIModel::fChargeSquare
private

Definition at line 149 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub at line 149 of file G4PAIModel.hh

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

const G4ParticleDefinition* G4PAIModel::fElectron
private

Definition at line 143 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub at line 143 of file G4PAIModel.hh

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

G4double G4PAIModel::fLowestTcut
private

Definition at line 150 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub at line 150 of file G4PAIModel.hh

Referenced by G4PAIModel(), and MinEnergyCut().

G4double G4PAIModel::fMass
private

Definition at line 147 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub at line 147 of file G4PAIModel.hh

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

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

Definition at line 139 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub at line 139 of file G4PAIModel.hh

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

G4PAIModelData* G4PAIModel::fModelData
private

Definition at line 137 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub at line 137 of file G4PAIModel.hh

Referenced by ComputeDEDXPerVolume(), CrossSectionPerVolume(), GetPAIModelData(), Initialise(), InitialiseLocal(), SampleFluctuations(), SampleSecondaries(), and ~G4PAIModel().

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

Definition at line 140 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub at line 140 of file G4PAIModel.hh

Referenced by DefineForRegion(), and Initialise().

const G4ParticleDefinition* G4PAIModel::fParticle
private

Definition at line 142 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub at line 142 of file G4PAIModel.hh

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

G4ParticleChangeForLoss* G4PAIModel::fParticleChange
private

Definition at line 145 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub at line 145 of file G4PAIModel.hh

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

const G4ParticleDefinition* G4PAIModel::fPositron
private

Definition at line 144 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub at line 144 of file G4PAIModel.hh

Referenced by G4PAIModel(), and MaxSecondaryEnergy().

G4double G4PAIModel::fRatio
private

Definition at line 148 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub at line 148 of file G4PAIModel.hh

Referenced by ComputeDEDXPerVolume(), ComputeMaxEnergy(), CrossSectionPerVolume(), Initialise(), SampleFluctuations(), SampleSecondaries(), and SetParticle().

G4int G4PAIModel::fVerbose
private

Definition at line 135 of file G4PAIModel.hh.

View newest version in sPHENIX GitHub at line 135 of file G4PAIModel.hh

Referenced by Initialise(), and SetVerboseLevel().


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