Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4LENDCombinedModel Class Reference

#include <G4LENDCombinedModel.hh>

+ Inheritance diagram for G4LENDCombinedModel:

Public Member Functions

 G4LENDCombinedModel (G4ParticleDefinition *pd)
 
 ~G4LENDCombinedModel ()
 
void BuildPhysicsTable (const G4ParticleDefinition &)
 
G4HadFinalStateApplyYourself (const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
 
G4bool HasData (const G4DynamicParticle *, G4int iZ, G4int iA, G4int iM, const G4Isotope *, const G4Element *, const G4Material *)
 
- Public Member Functions inherited from G4LENDModel
 G4LENDModel (G4String name="LENDModel")
 
 ~G4LENDModel ()
 
virtual G4HadFinalStateApplyYourself (const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
 
void ChangeDefaultEvaluation (G4String name)
 
void AllowNaturalAbundanceTarget ()
 
void AllowAnyCandidateTarget ()
 
void BuildPhysicsTable (const G4ParticleDefinition &)
 
void DumpLENDTargetInfo (G4bool force=false)
 
- Public Member Functions inherited from G4HadronicInteraction
 G4HadronicInteraction (const G4String &modelName="HadronicModel")
 
virtual ~G4HadronicInteraction ()
 
virtual G4HadFinalStateApplyYourself (const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)
 
virtual G4double SampleInvariantT (const G4ParticleDefinition *p, G4double plab, G4int Z, G4int A)
 
virtual G4bool IsApplicable (const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)
 
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)
 
G4int GetVerboseLevel () const
 
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
 
virtual const std::pair< G4double, G4doubleGetFatalEnergyCheckLevels () const
 
virtual std::pair< G4double, G4doubleGetEnergyMomentumCheckLevels () const
 
void SetEnergyMomentumCheckLevels (G4double relativeLevel, G4double absoluteLevel)
 
virtual void ModelDescription (std::ostream &outFile) const
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void InitialiseModel ()
 
 G4HadronicInteraction (const G4HadronicInteraction &right)=delete
 
const G4HadronicInteractionoperator= (const G4HadronicInteraction &right)=delete
 
G4bool operator== (const G4HadronicInteraction &right) const =delete
 
G4bool operator!= (const G4HadronicInteraction &right) const =delete
 

Additional Inherited Members

- Protected Member Functions inherited from G4LENDModel
void create_used_target_map ()
 
void recreate_used_target_map ()
 
G4GIDI_targetget_target_from_map (G4int nuclear_code)
 
G4HadFinalStatereturnUnchanged (const G4HadProjectile &aTrack, G4HadFinalState *theResult)
 
- Protected Member Functions inherited from G4HadronicInteraction
void SetModelName (const G4String &nam)
 
G4bool IsBlocked () const
 
void Block ()
 
- Protected Attributes inherited from G4LENDModel
G4ParticleDefinitionproj
 
G4LENDManagerlend_manager
 
std::map< G4int, G4LENDUsedTarget * > usedTarget_map
 
- Protected Attributes inherited from G4HadronicInteraction
G4HadFinalState theParticleChange
 
G4int verboseLevel
 
G4double theMinEnergy
 
G4double theMaxEnergy
 
G4bool isBlocked
 

Detailed Description

Definition at line 50 of file G4LENDCombinedModel.hh.

Constructor & Destructor Documentation

◆ G4LENDCombinedModel()

G4LENDCombinedModel::G4LENDCombinedModel ( G4ParticleDefinition pd)

Definition at line 34 of file G4LENDCombinedModel.cc.

35:G4LENDModel( "LENDCombinedModel" ) {
36 proj = pd;
37 crossSection = new G4LENDCombinedCrossSection( pd );
38 elastic = new G4LENDElastic( pd );
39 inelastic = new G4LENDInelastic( pd );
40 capture = new G4LENDCapture( pd );
41 fission = new G4LENDFission( pd );
42 channels[0] = elastic;
43 channels[1] = inelastic;
44 channels[2] = capture;
45 channels[3] = fission;
46}
G4ParticleDefinition * proj
Definition: G4LENDModel.hh:83

◆ ~G4LENDCombinedModel()

G4LENDCombinedModel::~G4LENDCombinedModel ( )
inline

Definition at line 54 of file G4LENDCombinedModel.hh.

54{;};

Member Function Documentation

◆ ApplyYourself()

G4HadFinalState * G4LENDCombinedModel::ApplyYourself ( const G4HadProjectile aTrack,
G4Nucleus aTargetNucleus 
)
virtual

Reimplemented from G4LENDModel.

Definition at line 62 of file G4LENDCombinedModel.cc.

62 {
63
64 G4LENDModel* channel = NULL;
65
66 G4int iZ = aTarg.GetZ_asInt();
67 G4int iA = aTarg.GetA_asInt();
68 //To pass kinetic energy, need to generate dynamic particle
69 G4DynamicParticle* dp = new G4DynamicParticle( proj , G4ThreeVector(0.,0.,1.) , aTrack.GetKineticEnergy() );
70 G4int ichannel = crossSection->SelectChannel( dp , iZ , iA , aTarg.GetIsotope(), NULL , aTrack.GetMaterial() );
71 delete dp;
72 //ichannel=1;
73 channel = channels[ichannel];
74 return channel->ApplyYourself(aTrack,aTarg);
75}
CLHEP::Hep3Vector G4ThreeVector
int G4int
Definition: G4Types.hh:85
const G4Material * GetMaterial() const
G4double GetKineticEnergy() const
G4int SelectChannel(const G4DynamicParticle *, G4int, G4int, const G4Isotope *, const G4Element *, const G4Material *)
virtual G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &aTargetNucleus)
Definition: G4LENDModel.cc:158

◆ BuildPhysicsTable()

void G4LENDCombinedModel::BuildPhysicsTable ( const G4ParticleDefinition projectile)
virtual

Reimplemented from G4HadronicInteraction.

Definition at line 48 of file G4LENDCombinedModel.cc.

48 {
49 crossSection->BuildPhysicsTable( projectile );
51}
void BuildPhysicsTable(const G4ParticleDefinition &)
void create_used_target_map()
Definition: G4LENDModel.cc:93

Referenced by G4LENDorBERTModel::BuildPhysicsTable().

◆ HasData()

G4bool G4LENDCombinedModel::HasData ( const G4DynamicParticle ,
G4int  iZ,
G4int  iA,
G4int  iM,
const G4Isotope ,
const G4Element ,
const G4Material  
)

Definition at line 53 of file G4LENDCombinedModel.cc.

54 {
55
56 G4bool result = false;
57 if ( get_target_from_map ( lend_manager->GetNucleusEncoding ( iZ, iA , iM ) ) != NULL ) result=true;
58 return result;
59}
bool G4bool
Definition: G4Types.hh:86
G4int GetNucleusEncoding(G4int iZ, G4int iA, G4int iM)
G4LENDManager * lend_manager
Definition: G4LENDModel.hh:84
G4GIDI_target * get_target_from_map(G4int nuclear_code)
Definition: G4LENDModel.cc:267

Referenced by G4LENDorBERTModel::ApplyYourself().


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