Geant4  10.01.p02
G4LMsdGenerator Class Reference

#include <G4LMsdGenerator.hh>

+ Inheritance diagram for G4LMsdGenerator:
+ Collaboration diagram for G4LMsdGenerator:

Public Member Functions

 G4LMsdGenerator (const G4String &name="LMsdGenerator")
 
 ~G4LMsdGenerator ()
 
G4bool IsApplicable (const G4HadProjectile &thePrimary, G4Nucleus &theNucleus)
 
G4HadFinalStateApplyYourself (const G4HadProjectile &thePrimary, G4Nucleus &theNucleus)
 
G4double SampleMx (const G4HadProjectile *aParticle)
 
G4double SampleT (G4double Mx)
 
void ModelDescription (std::ostream &outFile) const
 
- Public Member Functions inherited from G4HadronicInteraction
 G4HadronicInteraction (const G4String &modelName="HadronicModel")
 
virtual ~G4HadronicInteraction ()
 
virtual G4double SampleInvariantT (const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
 
G4double GetMinEnergy () const
 
G4double GetMinEnergy (const G4Material *aMaterial, const G4Element *anElement) const
 
void SetMinEnergy (G4double anEnergy)
 
void SetMinEnergy (G4double anEnergy, const G4Element *anElement)
 
void SetMinEnergy (G4double anEnergy, const G4Material *aMaterial)
 
G4double GetMaxEnergy () const
 
G4double GetMaxEnergy (const G4Material *aMaterial, const G4Element *anElement) const
 
void SetMaxEnergy (const G4double anEnergy)
 
void SetMaxEnergy (G4double anEnergy, const G4Element *anElement)
 
void SetMaxEnergy (G4double anEnergy, const G4Material *aMaterial)
 
const G4HadronicInteractionGetMyPointer () const
 
virtual G4int GetVerboseLevel () const
 
virtual void SetVerboseLevel (G4int value)
 
const G4StringGetModelName () const
 
void DeActivateFor (const G4Material *aMaterial)
 
void ActivateFor (const G4Material *aMaterial)
 
void DeActivateFor (const G4Element *anElement)
 
void ActivateFor (const G4Element *anElement)
 
G4bool IsBlocked (const G4Material *aMaterial) const
 
G4bool IsBlocked (const G4Element *anElement) const
 
void SetRecoilEnergyThreshold (G4double val)
 
G4double GetRecoilEnergyThreshold () const
 
G4bool operator== (const G4HadronicInteraction &right) const
 
G4bool operator!= (const G4HadronicInteraction &right) const
 
virtual const std::pair
< G4double, G4double
GetFatalEnergyCheckLevels () const
 
virtual std::pair< G4double,
G4double
GetEnergyMomentumCheckLevels () const
 
void SetEnergyMomentumCheckLevels (G4double relativeLevel, G4double absoluteLevel)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 

Private Member Functions

 G4LMsdGenerator (const G4LMsdGenerator &right)
 
const G4LMsdGeneratoroperator= (const G4LMsdGenerator &right)
 
int operator== (const G4LMsdGenerator &right) const
 
int operator!= (const G4LMsdGenerator &right) const
 

Private Attributes

G4int fPDGencoding
 

Static Private Attributes

static const G4double fMxBdata [23][2]
 
static const G4double fProbMx [60][2]
 

Additional Inherited Members

- Protected Member Functions inherited from G4HadronicInteraction
void SetModelName (const G4String &nam)
 
G4bool IsBlocked () const
 
void Block ()
 
- Protected Attributes inherited from G4HadronicInteraction
G4HadFinalState theParticleChange
 
G4int verboseLevel
 
G4double theMinEnergy
 
G4double theMaxEnergy
 
G4bool isBlocked
 

Detailed Description

Definition at line 60 of file G4LMsdGenerator.hh.

Constructor & Destructor Documentation

G4LMsdGenerator::G4LMsdGenerator ( const G4String name = "LMsdGenerator")

Definition at line 46 of file G4LMsdGenerator.cc.

References fPDGencoding.

G4LMsdGenerator::~G4LMsdGenerator ( )

Definition at line 55 of file G4LMsdGenerator.cc.

G4LMsdGenerator::G4LMsdGenerator ( const G4LMsdGenerator right)
private

Member Function Documentation

G4bool G4LMsdGenerator::IsApplicable ( const G4HadProjectile thePrimary,
G4Nucleus theNucleus 
)
virtual

Reimplemented from G4HadronicInteraction.

Definition at line 77 of file G4LMsdGenerator.cc.

References G4Nucleus::GetA_asInt(), G4HadProjectile::GetDefinition(), G4HadProjectile::GetKineticEnergy(), G4KaonMinus::KaonMinus(), G4KaonPlus::KaonPlus(), MeV, G4Neutron::Neutron(), G4PionMinus::PionMinus(), G4PionPlus::PionPlus(), and G4Proton::Proton().

+ Here is the call graph for this function:

void G4LMsdGenerator::ModelDescription ( std::ostream &  outFile) const
virtual

Reimplemented from G4HadronicInteraction.

Definition at line 60 of file G4LMsdGenerator.cc.

References G4HadronicInteraction::GetModelName().

+ Here is the call graph for this function:

int G4LMsdGenerator::operator!= ( const G4LMsdGenerator right) const
private
const G4LMsdGenerator& G4LMsdGenerator::operator= ( const G4LMsdGenerator right)
private
int G4LMsdGenerator::operator== ( const G4LMsdGenerator right) const
private
G4double G4LMsdGenerator::SampleMx ( const G4HadProjectile aParticle)

Definition at line 280 of file G4LMsdGenerator.cc.

References fPDGencoding, fProbMx, G4UniformRand, G4HadProjectile::GetDefinition(), G4KaonMinus::KaonMinus(), G4KaonPlus::KaonPlus(), G4Neutron::Neutron(), G4PionMinus::PionMinus(), G4PionPlus::PionPlus(), and G4Proton::Proton().

Referenced by ApplyYourself().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4LMsdGenerator::SampleT ( G4double  Mx)

Definition at line 409 of file G4LMsdGenerator.cc.

References fMxBdata, G4Log(), G4UniformRand, and GeV.

Referenced by ApplyYourself().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

const G4double G4LMsdGenerator::fMxBdata
staticprivate
Initial value:
=
{
{1.09014, 17.8620},
{1.12590, 19.2831},
{1.18549, 17.6907},
{1.21693, 16.4760},
{1.25194, 15.3867},
{1.26932, 14.4236},
{1.29019, 13.2931},
{1.30755, 12.2882},
{1.31790, 11.4509},
{1.33888, 10.6969},
{1.34911, 9.44130},
{1.37711, 8.56148},
{1.39101, 7.76593},
{1.42608, 6.88582},
{1.48593, 6.13019},
{1.53179, 5.87723},
{1.58111, 5.37308},
{1.64105, 4.95217},
{1.69037, 4.44803},
{1.81742, 3.89879},
{1.88096, 3.68693},
{1.95509, 3.43278},
{2.02219, 3.30445}
}

Definition at line 95 of file G4LMsdGenerator.hh.

Referenced by SampleT().

G4int G4LMsdGenerator::fPDGencoding
private

Definition at line 93 of file G4LMsdGenerator.hh.

Referenced by ApplyYourself(), G4LMsdGenerator(), and SampleMx().

const G4double G4LMsdGenerator::fProbMx
staticprivate

Definition at line 96 of file G4LMsdGenerator.hh.

Referenced by SampleMx().


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