70 G4cout <<
"### G4PEEffectModel is obsolete "
71 <<
"and will be removed for the next release." <<
G4endl;
75 fminimalEnergy = 1.0*eV;
110 return SandiaCof[0]/energy + SandiaCof[1]/energy2 +
111 SandiaCof[2]/energy3 + SandiaCof[3]/energy4;
128 return SandiaCof[0]/energy + SandiaCof[1]/energy2 +
129 SandiaCof[2]/energy3 + SandiaCof[3]/energy4;
155 while ((i<nShells) && (energy<anElement->GetAtomicShell(i))) { ++i; }
163 G4double elecKineEnergy = energy - bindingEnergy;
165 if (elecKineEnergy > fminimalEnergy) {
167 edep = bindingEnergy;
176 fvect->push_back(aParticle);
G4DLLIMPORT std::ostream G4cout
const G4ThreeVector & GetMomentumDirection() const
G4double GetKineticEnergy() const
static G4Electron * Electron()
G4int GetNbOfAtomicShells() const
G4double GetAtomicShell(G4int index) const
const G4Material * GetMaterial() const
G4SandiaTable * GetSandiaTable() const
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &)
virtual G4double CrossSectionPerVolume(const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy, G4double maxEnergy)
G4PEEffectModel(const G4ParticleDefinition *p=0, const G4String &nam="PhotoElectric")
virtual G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A, G4double, G4double)
virtual ~G4PEEffectModel()
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
void SetProposedKineticEnergy(G4double proposedKinEnergy)
static G4double * GetSandiaCofPerAtom(G4int Z, G4double energy)
G4double GetSandiaCofForMaterial(G4int, G4int)
virtual G4ThreeVector & SampleDirection(const G4DynamicParticle *dp, G4double finalTotalEnergy, G4int Z, const G4Material *)=0
G4VEmAngularDistribution * GetAngularDistribution()
G4ParticleChangeForGamma * GetParticleChangeForGamma()
const G4Element * SelectRandomAtom(const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
void SetDeexcitationFlag(G4bool val)
void SetAngularDistribution(G4VEmAngularDistribution *)
void ProposeTrackStatus(G4TrackStatus status)
void ProposeLocalEnergyDeposit(G4double anEnergyPart)