Geant4  10.01.p01
G4eeToHadronsModel Class Reference

#include <G4eeToHadronsModel.hh>

+ Inheritance diagram for G4eeToHadronsModel:
+ Collaboration diagram for G4eeToHadronsModel:

Public Member Functions

 G4eeToHadronsModel (G4Vee2hadrons *, G4int ver=0, const G4String &nam="eeToHadrons")
 
virtual ~G4eeToHadronsModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)
 
virtual G4double CrossSectionPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy, G4double maxEnergy)
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kineticEnergy, G4double Z, G4double A, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
virtual G4double ComputeCrossSectionPerElectron (const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin=0.0, G4double maxEnergy=DBL_MAX)
 
G4DynamicParticleGenerateCMPhoton (G4double)
 
G4double PeakEnergy () const
 
- Public Member Functions inherited from G4VEmModel
 G4VEmModel (const G4String &nam)
 
virtual ~G4VEmModel ()
 
virtual void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel)
 
virtual void InitialiseForMaterial (const G4ParticleDefinition *, const G4Material *)
 
virtual void InitialiseForElement (const G4ParticleDefinition *, G4int Z)
 
virtual G4double ComputeDEDXPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=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 G4double MinEnergyCut (const G4ParticleDefinition *, const G4MaterialCutsCouple *)
 
virtual void SetupForMaterial (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual void DefineForRegion (const G4Region *)
 
void InitialiseElementSelectors (const G4ParticleDefinition *, const G4DataVector &)
 
std::vector
< G4EmElementSelector * > * 
GetElementSelectors ()
 
void SetElementSelectors (std::vector< G4EmElementSelector * > *)
 
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)
 
G4int SelectIsotopeNumber (const G4Element *)
 
const G4ElementSelectRandomAtom (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, 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 *)
 
void SetParticleChange (G4VParticleChange *, G4VEmFluctuationModel *f=0)
 
void SetCrossSectionTable (G4PhysicsTable *, G4bool isLocal)
 
G4ElementDataGetElementData ()
 
G4PhysicsTableGetCrossSectionTable ()
 
G4VEmFluctuationModelGetModelOfFluctuations ()
 
G4VEmAngularDistributionGetAngularDistribution ()
 
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)
 
void SetPolarAngleLimit (G4double)
 
void SetSecondaryThreshold (G4double)
 
void SetLPMFlag (G4bool val)
 
void SetDeexcitationFlag (G4bool val)
 
void SetForceBuildTable (G4bool val)
 
void SetMasterThread (G4bool val)
 
G4bool IsMaster () const
 
G4double MaxSecondaryKinEnergy (const G4DynamicParticle *dynParticle)
 
const G4StringGetName () const
 
void SetCurrentCouple (const G4MaterialCutsCouple *)
 
const G4ElementGetCurrentElement () const
 
const G4IsotopeGetCurrentIsotope () const
 

Private Member Functions

void ComputeCMCrossSectionPerElectron ()
 
G4eeToHadronsModeloperator= (const G4eeToHadronsModel &right)
 
 G4eeToHadronsModel (const G4eeToHadronsModel &)
 

Private Attributes

G4Vee2hadronsmodel
 
G4ParticleDefinitiontheGamma
 
G4PhysicsVectorcrossPerElectron
 
G4PhysicsVectorcrossBornPerElectron
 
G4bool isInitialised
 
G4int nbins
 
G4int verbose
 
G4double lowKinEnergy
 
G4double peakKinEnergy
 
G4double highKinEnergy
 
G4double emin
 
G4double epeak
 
G4double emax
 

Additional Inherited Members

- Protected Member Functions inherited from G4VEmModel
G4ParticleChangeForLossGetParticleChangeForLoss ()
 
G4ParticleChangeForGammaGetParticleChangeForGamma ()
 
virtual G4double MaxSecondaryEnergy (const G4ParticleDefinition *, G4double kineticEnergy)
 
const G4MaterialCutsCoupleCurrentCouple () const
 
void SetCurrentElement (const G4Element *)
 
- Protected Attributes inherited from G4VEmModel
CLHEP::HepRandomEngine * rndmEngineMod
 
G4ElementDatafElementData
 
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
size_t idxTable
 
- Static Protected Attributes inherited from G4VEmModel
static const G4double inveplus = 1.0/CLHEP::eplus
 

Detailed Description

Definition at line 59 of file G4eeToHadronsModel.hh.

Constructor & Destructor Documentation

G4eeToHadronsModel::G4eeToHadronsModel ( G4Vee2hadrons mod,
G4int  ver = 0,
const G4String nam = "eeToHadrons" 
)

Definition at line 70 of file G4eeToHadronsModel.cc.

References emax, emin, epeak, G4Gamma::Gamma(), G4VEmModel::HighEnergyLimit(), highKinEnergy, G4VEmModel::LowEnergyLimit(), lowKinEnergy, peakKinEnergy, and theGamma.

+ Here is the call graph for this function:

G4eeToHadronsModel::~G4eeToHadronsModel ( )
virtual

Definition at line 92 of file G4eeToHadronsModel.cc.

References model.

G4eeToHadronsModel::G4eeToHadronsModel ( const G4eeToHadronsModel )
private

Member Function Documentation

void G4eeToHadronsModel::ComputeCMCrossSectionPerElectron ( )
private

Definition at line 239 of file G4eeToHadronsModel.cc.

References crossBornPerElectron, crossPerElectron, e1, e2, G4PhysicsVector::Energy(), G4Exp(), G4Log(), L, nbins, G4INCL::Math::pi, G4PhysicsVector::PutValue(), and G4PhysicsVector::Value().

Referenced by Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4eeToHadronsModel::ComputeCrossSectionPerAtom ( const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  Z,
G4double  A,
G4double  cutEnergy = 0.0,
G4double  maxEnergy = DBL_MAX 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 162 of file G4eeToHadronsModel.cc.

References ComputeCrossSectionPerElectron().

+ Here is the call graph for this function:

G4double G4eeToHadronsModel::ComputeCrossSectionPerElectron ( const G4ParticleDefinition ,
G4double  kineticEnergy,
G4double  cutEnergy = 0.0,
G4double  maxEnergy = DBL_MAX 
)
virtual

Definition at line 173 of file G4eeToHadronsModel.cc.

References crossPerElectron, and G4PhysicsVector::Value().

Referenced by ComputeCrossSectionPerAtom(), and CrossSectionPerVolume().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4eeToHadronsModel::CrossSectionPerVolume ( const G4Material mat,
const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  cutEnergy,
G4double  maxEnergy 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 150 of file G4eeToHadronsModel.cc.

References ComputeCrossSectionPerElectron(), and G4Material::GetElectronDensity().

+ Here is the call graph for this function:

G4DynamicParticle * G4eeToHadronsModel::GenerateCMPhoton ( G4double  e)

Definition at line 279 of file G4eeToHadronsModel.cc.

References crossBornPerElectron, e1, emax, emin, epeak, G4cout, G4endl, G4Exp(), G4Log(), G4UniformRand, L, G4INCL::Math::max(), G4INCL::Math::min(), nbins, G4INCL::Math::pi, G4InuclParticleNames::s0, theGamma, and G4PhysicsVector::Value().

Referenced by SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4eeToHadronsModel::Initialise ( const G4ParticleDefinition ,
const G4DataVector  
)
virtual

Implements G4VEmModel.

Definition at line 99 of file G4eeToHadronsModel.cc.

References ComputeCMCrossSectionPerElectron(), G4Vee2hadrons::ComputeCrossSection(), crossBornPerElectron, crossPerElectron, emax, emin, G4PhysicsVector::Energy(), epeak, G4cout, G4endl, G4PhysicsVector::GetVectorLength(), G4Vee2hadrons::HighEnergy(), isInitialised, G4Vee2hadrons::LowEnergy(), MeV, G4INCL::Math::min(), model, nanobarn, nbins, G4Vee2hadrons::PeakEnergy(), G4Vee2hadrons::PhysicsVector(), G4PhysicsVector::PutValue(), G4PhysicsVector::Value(), and verbose.

Referenced by G4eeToHadronsMultiModel::AddEEModel().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4eeToHadronsModel& G4eeToHadronsModel::operator= ( const G4eeToHadronsModel right)
private
G4double G4eeToHadronsModel::PeakEnergy ( ) const
inline

Definition at line 127 of file G4eeToHadronsModel.hh.

References peakKinEnergy.

void G4eeToHadronsModel::SampleSecondaries ( std::vector< G4DynamicParticle * > *  newp,
const G4MaterialCutsCouple ,
const G4DynamicParticle dParticle,
G4double  tmin = 0.0,
G4double  maxEnergy = DBL_MAX 
)
virtual

Implements G4VEmModel.

Definition at line 187 of file G4eeToHadronsModel.cc.

References crossPerElectron, emin, G4cout, G4endl, GenerateCMPhoton(), G4DynamicParticle::Get4Momentum(), G4DynamicParticle::GetKineticEnergy(), G4DynamicParticle::GetMomentumDirection(), MeV, model, G4Vee2hadrons::SampleSecondaries(), and G4DynamicParticle::Set4Momentum().

+ Here is the call graph for this function:

Member Data Documentation

G4PhysicsVector* G4eeToHadronsModel::crossBornPerElectron
private
G4PhysicsVector* G4eeToHadronsModel::crossPerElectron
private
G4double G4eeToHadronsModel::emax
private

Definition at line 122 of file G4eeToHadronsModel.hh.

Referenced by G4eeToHadronsModel(), GenerateCMPhoton(), and Initialise().

G4double G4eeToHadronsModel::emin
private
G4double G4eeToHadronsModel::epeak
private

Definition at line 121 of file G4eeToHadronsModel.hh.

Referenced by G4eeToHadronsModel(), GenerateCMPhoton(), and Initialise().

G4double G4eeToHadronsModel::highKinEnergy
private

Definition at line 118 of file G4eeToHadronsModel.hh.

Referenced by G4eeToHadronsModel().

G4bool G4eeToHadronsModel::isInitialised
private

Definition at line 112 of file G4eeToHadronsModel.hh.

Referenced by Initialise().

G4double G4eeToHadronsModel::lowKinEnergy
private

Definition at line 116 of file G4eeToHadronsModel.hh.

Referenced by G4eeToHadronsModel().

G4Vee2hadrons* G4eeToHadronsModel::model
private

Definition at line 108 of file G4eeToHadronsModel.hh.

Referenced by Initialise(), SampleSecondaries(), and ~G4eeToHadronsModel().

G4int G4eeToHadronsModel::nbins
private
G4double G4eeToHadronsModel::peakKinEnergy
private

Definition at line 117 of file G4eeToHadronsModel.hh.

Referenced by G4eeToHadronsModel(), and PeakEnergy().

G4ParticleDefinition* G4eeToHadronsModel::theGamma
private

Definition at line 109 of file G4eeToHadronsModel.hh.

Referenced by G4eeToHadronsModel(), and GenerateCMPhoton().

G4int G4eeToHadronsModel::verbose
private

Definition at line 114 of file G4eeToHadronsModel.hh.

Referenced by Initialise().


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