Import Geant4 10.4.0 source tree
This commit is contained in:
@@ -24,14 +24,14 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4GammaConversionToMuons.hh 97391 2016-06-02 10:08:45Z gcosmo $
|
||||
// $Id: G4GammaConversionToMuons.hh 106961 2017-10-31 08:36:29Z gcosmo $
|
||||
//
|
||||
// ------------ G4GammaConversionToMuons physics process ------
|
||||
// by H.Burkhardt, S. Kelner and R. Kokoulin, April 2002
|
||||
// -----------------------------------------------------------------------------
|
||||
//
|
||||
// 05-08-04: suppression of .icc file (mma)
|
||||
// 13-08-04, public ComputeCrossSectionPerAtom() and ComputeMeanFreePath() (mma)
|
||||
// 13-08-04, public ComputeCrossSectionPerAtom() and ComputeMeanFreePath() (mma)
|
||||
//
|
||||
// class description
|
||||
//
|
||||
@@ -61,83 +61,76 @@
|
||||
class G4GammaConversionToMuons : public G4VDiscreteProcess
|
||||
|
||||
{
|
||||
public: // with description
|
||||
public: // with description
|
||||
|
||||
explicit G4GammaConversionToMuons(
|
||||
explicit G4GammaConversionToMuons(
|
||||
const G4String& processName ="GammaToMuPair",
|
||||
G4ProcessType type = fElectromagnetic);
|
||||
|
||||
~G4GammaConversionToMuons();
|
||||
~G4GammaConversionToMuons() override;
|
||||
|
||||
G4bool IsApplicable(const G4ParticleDefinition&) override;
|
||||
G4bool IsApplicable(const G4ParticleDefinition&) override;
|
||||
// true for Gamma only.
|
||||
|
||||
void BuildPhysicsTable(const G4ParticleDefinition&) override;
|
||||
void BuildPhysicsTable(const G4ParticleDefinition&) override;
|
||||
// here dummy, the total cross section parametrization is used rather
|
||||
// than tables, just calling PrintInfoDefinition
|
||||
|
||||
void PrintInfoDefinition();
|
||||
void PrintInfoDefinition();
|
||||
// Print few lines of informations about the process: validity range,
|
||||
// origine ..etc..
|
||||
// Invoked by BuildThePhysicsTable().
|
||||
|
||||
void SetCrossSecFactor(G4double fac);
|
||||
void SetCrossSecFactor(G4double fac);
|
||||
// Set the factor to artificially increase the crossSection (default 1)
|
||||
|
||||
G4double GetCrossSecFactor() { return CrossSecFactor;}
|
||||
inline G4double GetCrossSecFactor() const { return CrossSecFactor;}
|
||||
// Get the factor to artificially increase the cross section
|
||||
|
||||
G4double GetMeanFreePath(const G4Track& aTrack,
|
||||
G4double previousStepSize,
|
||||
G4ForceCondition* condition) override;
|
||||
G4double GetMeanFreePath(const G4Track& aTrack,
|
||||
G4double previousStepSize,
|
||||
G4ForceCondition* condition) override;
|
||||
// It returns the MeanFreePath of the process for the current track :
|
||||
// (energy, material)
|
||||
// The previousStepSize and G4ForceCondition* are not used.
|
||||
// This function overloads a virtual function of the base class.
|
||||
// It is invoked by the ProcessManager of the Particle.
|
||||
|
||||
G4double GetCrossSectionPerAtom(const G4DynamicParticle* aDynamicGamma,
|
||||
G4Element* anElement);
|
||||
G4double GetCrossSectionPerAtom(const G4DynamicParticle* aDynamicGamma,
|
||||
const G4Element* anElement);
|
||||
// It returns the total CrossSectionPerAtom of the process,
|
||||
// for the current DynamicGamma (energy), in anElement.
|
||||
|
||||
G4VParticleChange* PostStepDoIt(const G4Track& aTrack,
|
||||
const G4Step& aStep) override;
|
||||
G4VParticleChange* PostStepDoIt(const G4Track& aTrack,
|
||||
const G4Step& aStep) override;
|
||||
// It computes the final state of the process (at end of step),
|
||||
// returned as a ParticleChange object.
|
||||
// This function overloads a virtual function of the base class.
|
||||
// It is invoked by the ProcessManager of the Particle.
|
||||
|
||||
virtual
|
||||
G4double ComputeCrossSectionPerAtom(G4double GammaEnergy,
|
||||
G4double AtomicZ,G4double AtomicA);
|
||||
G4double ComputeCrossSectionPerAtom(G4double GammaEnergy, G4int Z);
|
||||
|
||||
G4double ComputeMeanFreePath (G4double GammaEnergy,
|
||||
G4Material* aMaterial);
|
||||
G4double ComputeMeanFreePath (G4double GammaEnergy,
|
||||
const G4Material* aMaterial);
|
||||
|
||||
private:
|
||||
private:
|
||||
|
||||
G4Element* SelectRandomAtom(const G4DynamicParticle* aDynamicGamma,
|
||||
G4Material* aMaterial);
|
||||
const G4Element* SelectRandomAtom(const G4DynamicParticle* aDynamicGamma,
|
||||
const G4Material* aMaterial);
|
||||
|
||||
private:
|
||||
// hide assignment operator as private
|
||||
G4GammaConversionToMuons&
|
||||
operator=(const G4GammaConversionToMuons &right) = delete;
|
||||
G4GammaConversionToMuons(const G4GammaConversionToMuons& ) = delete;
|
||||
|
||||
// hide assignment operator as private
|
||||
G4GammaConversionToMuons&
|
||||
operator=(const G4GammaConversionToMuons &right) = delete;
|
||||
G4GammaConversionToMuons(const G4GammaConversionToMuons& ) = delete;
|
||||
G4double Mmuon;
|
||||
G4double Rc;
|
||||
G4double LowestEnergyLimit ; // low energy limit of the tables
|
||||
G4double HighestEnergyLimit ; // high energy limit of the tables
|
||||
|
||||
private:
|
||||
|
||||
G4double Mmuon;
|
||||
G4double Rc;
|
||||
G4double LowestEnergyLimit ; // low energy limit of the tables
|
||||
G4double HighestEnergyLimit ; // high energy limit of the tables
|
||||
|
||||
G4double MeanFreePath; // actual MeanFreePath (current medium)
|
||||
G4double CrossSecFactor; // factor to artificially increase
|
||||
// the cross section
|
||||
|
||||
G4double MeanFreePath; // actual MeanFreePath (current medium)
|
||||
G4double CrossSecFactor; // factor to artificially increase
|
||||
// the cross section
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
Reference in New Issue
Block a user