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

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

+ Inheritance diagram for G4PAIPhotModel:
+ Collaboration diagram for G4PAIPhotModel:

Public Member Functions

 G4PAIPhotModel (const G4ParticleDefinition *p=nullptr, const G4String &nam="PAI")
 
 ~G4PAIPhotModel () 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
 
G4PAIPhotDataGetPAIPhotData ()
 
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)
 
G4PAIPhotModeloperator= (const G4PAIPhotModel &right)=delete
 
 G4PAIPhotModel (const G4PAIPhotModel &)=delete
 

Private Attributes

G4int fVerbose
 
G4PAIPhotDatafModelData
 
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 63 of file G4PAIPhotModel.hh.

View newest version in sPHENIX GitHub at line 63 of file G4PAIPhotModel.hh

Constructor & Destructor Documentation

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

Definition at line 72 of file G4PAIPhotModel.cc.

View newest version in sPHENIX GitHub at line 72 of file G4PAIPhotModel.cc

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

+ Here is the call graph for this function:

G4PAIPhotModel::~G4PAIPhotModel ( )
final

Definition at line 93 of file G4PAIPhotModel.cc.

View newest version in sPHENIX GitHub at line 93 of file G4PAIPhotModel.cc

References fModelData, and G4VEmModel::IsMaster().

+ Here is the call graph for this function:

G4PAIPhotModel::G4PAIPhotModel ( const G4PAIPhotModel )
privatedelete

Member Function Documentation

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

Reimplemented from G4VEmModel.

Definition at line 204 of file G4PAIPhotModel.cc.

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

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

+ Here is the call graph for this function:

G4double G4PAIPhotModel::ComputeMaxEnergy ( G4double  scaledEnergy)
inline

Definition at line 159 of file G4PAIPhotModel.hh.

View newest version in sPHENIX GitHub at line 159 of file G4PAIPhotModel.hh

References fParticle, fRatio, and MaxSecondaryEnergy().

Referenced by G4PAIPhotData::Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4PAIPhotModel::CrossSectionPerVolume ( const G4Material ,
const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  cutEnergy,
G4double  maxEnergy 
)
finalvirtual

Reimplemented from G4VEmModel.

Definition at line 221 of file G4PAIPhotModel.cc.

View newest version in sPHENIX GitHub at line 221 of file G4PAIPhotModel.cc

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

+ Here is the call graph for this function:

void G4PAIPhotModel::DefineForRegion ( const G4Region r)
finalvirtual

Reimplemented from G4VEmModel.

Definition at line 454 of file G4PAIPhotModel.cc.

View newest version in sPHENIX GitHub at line 454 of file G4PAIPhotModel.cc

References fPAIRegionVector.

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

Implements G4VEmFluctuationModel.

Definition at line 406 of file G4PAIPhotModel.cc.

View newest version in sPHENIX GitHub at line 406 of file G4PAIPhotModel.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 G4PAIPhotModel::FindCoupleIndex ( const G4MaterialCutsCouple couple)
inlineprivate

Definition at line 169 of file G4PAIPhotModel.hh.

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

References fMaterialCutsCoupleVector, and incremental_prev_tag::idx.

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

+ Here is the caller graph for this function:

G4PAIPhotData * G4PAIPhotModel::GetPAIPhotData ( )
inline

Definition at line 148 of file G4PAIPhotModel.hh.

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

References fModelData.

Referenced by InitialiseLocal().

+ Here is the caller graph for this function:

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

Definition at line 154 of file G4PAIPhotModel.hh.

View newest version in sPHENIX GitHub at line 154 of file G4PAIPhotModel.hh

References fMaterialCutsCoupleVector.

Referenced by InitialiseLocal().

+ Here is the caller graph for this function:

void G4PAIPhotModel::InitialiseLocal ( const G4ParticleDefinition ,
G4VEmModel masterModel 
)
finalvirtual

Reimplemented from G4VEmModel.

Definition at line 186 of file G4PAIPhotModel.cc.

View newest version in sPHENIX GitHub at line 186 of file G4PAIPhotModel.cc

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

+ Here is the call graph for this function:

G4double G4PAIPhotModel::MaxSecondaryEnergy ( const G4ParticleDefinition p,
G4double  kinEnergy 
)
finalprotectedvirtual

Reimplemented from G4VEmModel.

Definition at line 437 of file G4PAIPhotModel.cc.

View newest version in sPHENIX GitHub at line 437 of file G4PAIPhotModel.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 G4PAIPhotModel::MinEnergyCut ( const G4ParticleDefinition ,
const G4MaterialCutsCouple couple 
)
finalvirtual

Reimplemented from G4VEmModel.

Definition at line 196 of file G4PAIPhotModel.cc.

View newest version in sPHENIX GitHub at line 196 of file G4PAIPhotModel.cc

References fLowestTcut.

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

Implements G4VEmFluctuationModel.

Definition at line 366 of file G4PAIPhotModel.cc.

View newest version in sPHENIX GitHub at line 366 of file G4PAIPhotModel.cc

References fChargeSquare, FindCoupleIndex(), fModelData, fRatio, G4DynamicParticle::GetDefinition(), G4DynamicParticle::GetKineticEnergy(), G4PAIPhotData::SampleAlongStepPhotonTransfer(), G4PAIPhotData::SampleAlongStepPlasmonTransfer(), and SetParticle().

+ Here is the call graph for this function:

void G4PAIPhotModel::SetParticle ( const G4ParticleDefinition p)
inlineprivate

Definition at line 182 of file G4PAIPhotModel.hh.

View newest version in sPHENIX GitHub at line 182 of file G4PAIPhotModel.hh

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

Referenced by G4PAIPhotModel(), Initialise(), MaxSecondaryEnergy(), SampleFluctuations(), and SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4PAIPhotModel::SetVerboseLevel ( G4int  verbose)
inline

Definition at line 164 of file G4PAIPhotModel.hh.

View newest version in sPHENIX GitHub at line 164 of file G4PAIPhotModel.hh

References fVerbose.

Member Data Documentation

G4double G4PAIPhotModel::fChargeSquare
private

Definition at line 144 of file G4PAIPhotModel.hh.

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

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

const G4ParticleDefinition* G4PAIPhotModel::fElectron
private

Definition at line 138 of file G4PAIPhotModel.hh.

View newest version in sPHENIX GitHub at line 138 of file G4PAIPhotModel.hh

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

G4double G4PAIPhotModel::fLowestTcut
private

Definition at line 145 of file G4PAIPhotModel.hh.

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

Referenced by G4PAIPhotModel(), and MinEnergyCut().

G4double G4PAIPhotModel::fMass
private

Definition at line 142 of file G4PAIPhotModel.hh.

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

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

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

Definition at line 134 of file G4PAIPhotModel.hh.

View newest version in sPHENIX GitHub at line 134 of file G4PAIPhotModel.hh

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

G4PAIPhotData* G4PAIPhotModel::fModelData
private
std::vector<const G4Region*> G4PAIPhotModel::fPAIRegionVector
private

Definition at line 135 of file G4PAIPhotModel.hh.

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

Referenced by DefineForRegion(), and Initialise().

const G4ParticleDefinition* G4PAIPhotModel::fParticle
private

Definition at line 137 of file G4PAIPhotModel.hh.

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

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

G4ParticleChangeForLoss* G4PAIPhotModel::fParticleChange
private

Definition at line 140 of file G4PAIPhotModel.hh.

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

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

const G4ParticleDefinition* G4PAIPhotModel::fPositron
private

Definition at line 139 of file G4PAIPhotModel.hh.

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

Referenced by G4PAIPhotModel(), and MaxSecondaryEnergy().

G4double G4PAIPhotModel::fRatio
private

Definition at line 143 of file G4PAIPhotModel.hh.

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

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

G4int G4PAIPhotModel::fVerbose
private

Definition at line 130 of file G4PAIPhotModel.hh.

View newest version in sPHENIX GitHub at line 130 of file G4PAIPhotModel.hh

Referenced by Initialise(), and SetVerboseLevel().


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