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

#include <G4LENDUsedTarget.hh>

Public Member Functions

 G4LENDUsedTarget (G4ParticleDefinition *pd, const G4String &Evaluation, G4int iZ, G4int iA, G4int iM=0)
 
 ~G4LENDUsedTarget ()
 
void AllowNat ()
 
void AllowAny ()
 
G4int GetWantedZ () const
 
G4int GetWantedA () const
 
G4int GetWantedM () const
 
G4int GetActualZ () const
 
G4int GetActualA () const
 
G4int GetActualM () const
 
const G4StringGetWantedEvaluation () const
 
const G4StringGetActualEvaluation () const
 
G4GIDI_targetGetTarget () const
 

Detailed Description

Definition at line 46 of file G4LENDUsedTarget.hh.

Constructor & Destructor Documentation

◆ G4LENDUsedTarget()

G4LENDUsedTarget::G4LENDUsedTarget ( G4ParticleDefinition * pd,
const G4String & Evaluation,
G4int iZ,
G4int iA,
G4int iM = 0 )
inline

Definition at line 51 of file G4LENDUsedTarget.hh.

52 : allow_nat ( false )
53 , allow_anything ( false )
54 , min_Z ( 0 )
55 , max_Z ( 113 )
56 , min_A ( 1 )
57 , max_A ( 278 )
58 , min_M ( 0 )
59 , max_M ( 10 )
60 {
61
62 proj = pd;
63
64 wanted_Z = iZ;
65 wanted_A = iA;
66 wanted_M = iM;
67 wanted_Evaluation = Evaluation;
68
69 actual_Z = -1;
70 actual_A = -1;
71 actual_M = -1;
72 actual_Evaluation = "na";
73
74 searchTarget();
75 }

◆ ~G4LENDUsedTarget()

G4LENDUsedTarget::~G4LENDUsedTarget ( )
inline

Definition at line 77 of file G4LENDUsedTarget.hh.

77{;}

Member Function Documentation

◆ AllowAny()

void G4LENDUsedTarget::AllowAny ( )
inline

Definition at line 85 of file G4LENDUsedTarget.hh.

86 {
87 allow_anything = true;
88 searchTarget();
89 }

Referenced by G4LENDCrossSection::create_used_target_map(), and G4LENDModel::create_used_target_map().

◆ AllowNat()

void G4LENDUsedTarget::AllowNat ( )
inline

Definition at line 79 of file G4LENDUsedTarget.hh.

80 {
81 allow_nat = true;
82 searchTarget();
83 }

Referenced by G4LENDCrossSection::create_used_target_map(), and G4LENDModel::create_used_target_map().

◆ GetActualA()

G4int G4LENDUsedTarget::GetActualA ( ) const
inline

Definition at line 96 of file G4LENDUsedTarget.hh.

96{ return actual_A; }

◆ GetActualEvaluation()

const G4String & G4LENDUsedTarget::GetActualEvaluation ( ) const
inline

Definition at line 100 of file G4LENDUsedTarget.hh.

100{ return actual_Evaluation; }

◆ GetActualM()

G4int G4LENDUsedTarget::GetActualM ( ) const
inline

Definition at line 97 of file G4LENDUsedTarget.hh.

97{ return actual_M; }

◆ GetActualZ()

G4int G4LENDUsedTarget::GetActualZ ( ) const
inline

Definition at line 95 of file G4LENDUsedTarget.hh.

95{ return actual_Z; }

◆ GetTarget()

G4GIDI_target * G4LENDUsedTarget::GetTarget ( ) const
inline

Definition at line 102 of file G4LENDUsedTarget.hh.

102{ return target; }

◆ GetWantedA()

G4int G4LENDUsedTarget::GetWantedA ( ) const
inline

Definition at line 92 of file G4LENDUsedTarget.hh.

92{ return wanted_A; }

◆ GetWantedEvaluation()

const G4String & G4LENDUsedTarget::GetWantedEvaluation ( ) const
inline

Definition at line 99 of file G4LENDUsedTarget.hh.

99{ return wanted_Evaluation; }

◆ GetWantedM()

G4int G4LENDUsedTarget::GetWantedM ( ) const
inline

Definition at line 93 of file G4LENDUsedTarget.hh.

93{ return wanted_M; }

◆ GetWantedZ()

G4int G4LENDUsedTarget::GetWantedZ ( ) const
inline

Definition at line 91 of file G4LENDUsedTarget.hh.

91{ return wanted_Z; }

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