Geant4  10.00.p03
G4eeToHadronsMultiModel Class Reference

#include <G4eeToHadronsMultiModel.hh>

+ Inheritance diagram for G4eeToHadronsMultiModel:
+ Collaboration diagram for G4eeToHadronsMultiModel:

Public Member Functions

 G4eeToHadronsMultiModel (G4int ver=0, const G4String &nam="eeToHadrons")
 
virtual ~G4eeToHadronsMultiModel ()
 
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 void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin=0.0, G4double maxEnergy=DBL_MAX)
 
virtual void PrintInfo ()
 
void SetCrossSecFactor (G4double fac)
 
G4double ComputeCrossSectionPerElectron (const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
- 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
 

Private Member Functions

void AddEEModel (G4Vee2hadrons *, const G4DataVector &)
 
G4double LabToCM (G4double)
 
G4eeToHadronsMultiModeloperator= (const G4eeToHadronsMultiModel &right)
 
 G4eeToHadronsMultiModel (const G4eeToHadronsMultiModel &)
 

Private Attributes

G4eeCrossSectionscross
 
G4ParticleChangeForGammafParticleChange
 
G4double delta
 
std::vector< G4eeToHadronsModel * > models
 
std::vector< G4doubleekinMin
 
std::vector< G4doubleekinPeak
 
std::vector< G4doubleekinMax
 
std::vector< G4doublecumSum
 
G4double thKineticEnergy
 
G4double maxKineticEnergy
 
G4double csFactor
 
G4int nModels
 
G4int verbose
 
G4bool isInitialised
 

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
G4ElementDatafElementData
 
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
size_t idxTable
 

Detailed Description

Definition at line 64 of file G4eeToHadronsMultiModel.hh.

Constructor & Destructor Documentation

G4eeToHadronsMultiModel::G4eeToHadronsMultiModel ( G4int  ver = 0,
const G4String nam = "eeToHadrons" 
)
G4eeToHadronsMultiModel::~G4eeToHadronsMultiModel ( )
virtual

Definition at line 82 of file G4eeToHadronsMultiModel.cc.

References cross.

G4eeToHadronsMultiModel::G4eeToHadronsMultiModel ( const G4eeToHadronsMultiModel )
private

Member Function Documentation

void G4eeToHadronsMultiModel::AddEEModel ( G4Vee2hadrons mod,
const G4DataVector cuts 
)
private

Definition at line 133 of file G4eeToHadronsMultiModel.cc.

References cumSum, ekinMax, ekinMin, ekinPeak, G4Vee2hadrons::HighEnergy(), G4eeToHadronsModel::Initialise(), G4Vee2hadrons::LowEnergy(), models, G4Vee2hadrons::PeakEnergy(), G4InuclParticleNames::positron, G4Positron::Positron(), thKineticEnergy, and verbose.

Referenced by Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4eeToHadronsMultiModel::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 163 of file G4eeToHadronsMultiModel.cc.

References ComputeCrossSectionPerElectron().

+ Here is the call graph for this function:

G4double G4eeToHadronsMultiModel::ComputeCrossSectionPerElectron ( const G4ParticleDefinition ,
G4double  kineticEnergy,
G4double  cutEnergy = 0.0,
G4double  maxEnergy = DBL_MAX 
)
inline

Definition at line 149 of file G4eeToHadronsMultiModel.hh.

References csFactor, cumSum, ekinMax, ekinMin, G4INCL::KinematicsUtils::energy(), LabToCM(), models, nModels, and thKineticEnergy.

Referenced by ComputeCrossSectionPerAtom(), and CrossSectionPerVolume().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Reimplemented from G4VEmModel.

Definition at line 151 of file G4eeToHadronsMultiModel.cc.

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

+ Here is the call graph for this function:

void G4eeToHadronsMultiModel::Initialise ( const G4ParticleDefinition ,
const G4DataVector cuts 
)
virtual

Implements G4VEmModel.

Definition at line 89 of file G4eeToHadronsMultiModel.cc.

References AddEEModel(), cross, delta, fParticleChange, G4VEmModel::GetParticleChangeForGamma(), isInitialised, maxKineticEnergy, models, and nModels.

+ Here is the call graph for this function:

G4double G4eeToHadronsMultiModel::LabToCM ( G4double  kinE_lab)
inlineprivate

Definition at line 139 of file G4eeToHadronsMultiModel.hh.

Referenced by ComputeCrossSectionPerElectron(), and SampleSecondaries().

+ Here is the caller graph for this function:

G4eeToHadronsMultiModel& G4eeToHadronsMultiModel::operator= ( const G4eeToHadronsMultiModel right)
private
void G4eeToHadronsMultiModel::PrintInfo ( )
virtual

Definition at line 199 of file G4eeToHadronsMultiModel.cc.

References e1, e2, G4cout, G4endl, GeV, maxKineticEnergy, thKineticEnergy, and verbose.

Referenced by G4eeToHadrons::PrintInfo().

+ Here is the caller graph for this function:

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

Implements G4VEmModel.

Definition at line 175 of file G4eeToHadronsMultiModel.cc.

References cumSum, G4INCL::KinematicsUtils::energy(), fParticleChange, fStopAndKill, G4UniformRand, G4DynamicParticle::GetKineticEnergy(), LabToCM(), models, nModels, G4VParticleChange::ProposeTrackStatus(), and thKineticEnergy.

+ Here is the call graph for this function:

void G4eeToHadronsMultiModel::SetCrossSecFactor ( G4double  fac)

Definition at line 214 of file G4eeToHadronsMultiModel.cc.

References csFactor, fac, G4cout, G4endl, and verbose.

Referenced by G4eeToHadrons::InitialiseProcess(), and G4eeToHadrons::SetCrossSecFactor().

+ Here is the caller graph for this function:

Member Data Documentation

G4eeCrossSections* G4eeToHadronsMultiModel::cross
private
G4double G4eeToHadronsMultiModel::csFactor
private
std::vector<G4double> G4eeToHadronsMultiModel::cumSum
private
G4double G4eeToHadronsMultiModel::delta
private

Definition at line 118 of file G4eeToHadronsMultiModel.hh.

Referenced by G4eeToHadronsMultiModel(), and Initialise().

std::vector<G4double> G4eeToHadronsMultiModel::ekinMax
private

Definition at line 124 of file G4eeToHadronsMultiModel.hh.

Referenced by AddEEModel(), and ComputeCrossSectionPerElectron().

std::vector<G4double> G4eeToHadronsMultiModel::ekinMin
private

Definition at line 122 of file G4eeToHadronsMultiModel.hh.

Referenced by AddEEModel(), and ComputeCrossSectionPerElectron().

std::vector<G4double> G4eeToHadronsMultiModel::ekinPeak
private

Definition at line 123 of file G4eeToHadronsMultiModel.hh.

Referenced by AddEEModel().

G4ParticleChangeForGamma* G4eeToHadronsMultiModel::fParticleChange
private
G4bool G4eeToHadronsMultiModel::isInitialised
private

Definition at line 133 of file G4eeToHadronsMultiModel.hh.

Referenced by Initialise().

G4double G4eeToHadronsMultiModel::maxKineticEnergy
private

Definition at line 128 of file G4eeToHadronsMultiModel.hh.

Referenced by G4eeToHadronsMultiModel(), Initialise(), and PrintInfo().

std::vector<G4eeToHadronsModel*> G4eeToHadronsMultiModel::models
private
G4int G4eeToHadronsMultiModel::nModels
private
G4double G4eeToHadronsMultiModel::thKineticEnergy
private
G4int G4eeToHadronsMultiModel::verbose
private

Definition at line 132 of file G4eeToHadronsMultiModel.hh.

Referenced by AddEEModel(), PrintInfo(), and SetCrossSecFactor().


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