424 G4bool flagForceBuildTable;
429 G4bool useAngularGenerator;
433 std::vector<G4EmElementSelector*>* elmSelectors;
459 std::vector<G4double> xsec;
467 if(fCurrentCouple != ptr) {
468 fCurrentCouple = ptr;
482 return fCurrentCouple;
489 fCurrentElement = elm;
490 fCurrentIsotope =
nullptr;
497 return fCurrentElement;
504 return fCurrentIsotope;
537 cutEnergy,maxEnergy);
550 return (cross > 0.0) ? 1./cross :
DBL_MAX;
564 cutEnergy,maxEnergy);
577 fCurrentElement = (nSelectors > 0) ?
580 fCurrentIsotope =
nullptr;
581 return fCurrentElement;
595 fCurrentElement = (nSelectors > 0)
598 fCurrentIsotope =
nullptr;
599 return fCurrentElement;
630 return fTripletModel;
637 if(p != fTripletModel) {
638 delete fTripletModel;
675 return polarAngleLimit;
682 return secondaryThreshold;
696 return flagDeexcitation;
703 return flagForceBuildTable;
710 return useAngularGenerator;
717 useAngularGenerator = val;
745 useBaseMaterials = val;
752 return useBaseMaterials;
787 return (kinEnergy >= eMinActive && kinEnergy <= eMaxActive);
794 if(!isLocked) { polarAngleLimit = val; }
801 secondaryThreshold = val;
815 flagDeexcitation = val;
822 flagForceBuildTable = val;
844 if(p != elmSelectors) {
846 nSelectors = (elmSelectors) ?
G4int(elmSelectors->size()) : 0;
847 localElmSelectors =
false;
const G4ParticleDefinition * GetParticleDefinition() const
G4double GetKineticEnergy() const
const G4Material * GetMaterial() const
const G4Material * GetBaseMaterial() const
void SetCrossSectionTable(G4PhysicsTable *, G4bool isLocal)
void SetPolarAngleLimit(G4double)
G4VEmModel(const G4VEmModel &)=delete
virtual G4double MinPrimaryEnergy(const G4Material *, const G4ParticleDefinition *, G4double cut=0.0)
G4PhysicsTable * xSectionTable
void SetHighEnergyLimit(G4double)
virtual G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A=0., G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
virtual void CorrectionsAlongStep(const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double &eloss, G4double &niel, G4double length)
const std::vector< G4double > * theDensityFactor
void SetMasterThread(G4bool val)
G4VEmFluctuationModel * GetModelOfFluctuations()
void SetElementSelectors(std::vector< G4EmElementSelector * > *)
virtual G4double GetParticleCharge(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
void SetActivationLowEnergyLimit(G4double)
G4double PolarAngleLimit() const
G4VEmAngularDistribution * GetAngularDistribution()
virtual void InitialiseForMaterial(const G4ParticleDefinition *, const G4Material *)
void SetForceBuildTable(G4bool val)
G4ParticleChangeForGamma * GetParticleChangeForGamma()
G4double LowEnergyLimit() const
std::vector< G4EmElementSelector * > * GetElementSelectors()
void SetSecondaryThreshold(G4double)
G4VEmModel * GetTripletModel()
virtual G4double CrossSectionPerVolume(const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
void SetCurrentCouple(const G4MaterialCutsCouple *)
G4double ComputeMeanFreePath(const G4ParticleDefinition *, G4double kineticEnergy, const G4Material *, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
const G4Element * GetCurrentElement() const
void SetAngularGeneratorFlag(G4bool)
void SetParticleChange(G4VParticleChange *, G4VEmFluctuationModel *f=nullptr)
void SetFluctuationFlag(G4bool val)
void SetLPMFlag(G4bool val)
virtual void InitialiseForElement(const G4ParticleDefinition *, G4int Z)
G4int SelectRandomAtomNumber(const G4Material *)
virtual G4double Value(const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy)
G4double HighEnergyLimit() const
virtual G4double ComputeDEDX(const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)
void SetCurrentElement(const G4Element *)
G4VParticleChange * pParticleChange
const G4Element * SelectRandomAtom(const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
const G4Material * pBaseMaterial
virtual void DefineForRegion(const G4Region *)
virtual void ModelDescription(std::ostream &outFile) const
G4int SelectIsotopeNumber(const G4Element *)
void SetLowEnergyLimit(G4double)
virtual void SetupForMaterial(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
void SetActivationHighEnergyLimit(G4double)
void SetTripletModel(G4VEmModel *)
G4ElementData * fElementData
G4double HighEnergyActivationLimit() const
void SetDeexcitationFlag(G4bool val)
G4double CrossSection(const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
void SetAngularDistribution(G4VEmAngularDistribution *)
G4bool IsActive(G4double kinEnergy) const
virtual G4double ComputeCrossSectionPerShell(const G4ParticleDefinition *, G4int Z, G4int shellIdx, G4double kinEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
const G4MaterialCutsCouple * CurrentCouple() const
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin=0.0, G4double tmax=DBL_MAX)=0
const std::vector< G4int > * theDensityIdx
G4bool DeexcitationFlag() const
virtual G4double GetChargeSquareRatio(const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
G4bool UseAngularGeneratorFlag() const
const G4String & GetName() const
const G4Element * SelectTargetAtom(const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double logKineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
virtual G4double GetPartialCrossSection(const G4Material *, G4int level, const G4ParticleDefinition *, G4double kineticEnergy)
virtual G4double ComputeDEDXPerVolume(const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)
G4PhysicsTable * GetCrossSectionTable()
void SetUseBaseMaterials(G4bool val)
const G4Isotope * GetCurrentIsotope() const
void InitialiseElementSelectors(const G4ParticleDefinition *, const G4DataVector &)
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &)=0
G4bool UseBaseMaterials() const
G4double LowEnergyActivationLimit() const
virtual void StartTracking(G4Track *)
virtual void InitialiseLocal(const G4ParticleDefinition *, G4VEmModel *masterModel)
virtual G4double MinEnergyCut(const G4ParticleDefinition *, const G4MaterialCutsCouple *)
G4bool ForceBuildTableFlag() const
G4double MaxSecondaryKinEnergy(const G4DynamicParticle *dynParticle)
G4double SecondaryThreshold() const
G4VEmModel & operator=(const G4VEmModel &right)=delete
virtual G4double MaxSecondaryEnergy(const G4ParticleDefinition *, G4double kineticEnergy)
virtual G4double ChargeSquareRatio(const G4Track &)
G4ElementData * GetElementData()
G4ParticleChangeForLoss * GetParticleChangeForLoss()