Geant4 11.2.2
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, G4String Evaluation, G4int iZ, G4int iA, G4int iM=0)
 
 ~G4LENDUsedTarget ()
 
void AllowNat ()
 
void AllowAny ()
 
G4int GetWantedZ ()
 
G4int GetWantedA ()
 
G4int GetWantedM ()
 
G4int GetActualZ ()
 
G4int GetActualA ()
 
G4int GetActualM ()
 
G4String GetWantedEvaluation ()
 
G4String GetActualEvaluation ()
 
G4GIDI_targetGetTarget ()
 

Detailed Description

Definition at line 46 of file G4LENDUsedTarget.hh.

Constructor & Destructor Documentation

◆ G4LENDUsedTarget()

G4LENDUsedTarget::G4LENDUsedTarget ( G4ParticleDefinition * pd,
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 ( )
inline

Definition at line 96 of file G4LENDUsedTarget.hh.

96{ return actual_A; };

◆ GetActualEvaluation()

G4String G4LENDUsedTarget::GetActualEvaluation ( )
inline

Definition at line 100 of file G4LENDUsedTarget.hh.

100{ return actual_Evaluation; };

◆ GetActualM()

G4int G4LENDUsedTarget::GetActualM ( )
inline

Definition at line 97 of file G4LENDUsedTarget.hh.

97{ return actual_M; };

◆ GetActualZ()

G4int G4LENDUsedTarget::GetActualZ ( )
inline

Definition at line 95 of file G4LENDUsedTarget.hh.

95{ return actual_Z; };

◆ GetTarget()

G4GIDI_target * G4LENDUsedTarget::GetTarget ( )
inline

Definition at line 102 of file G4LENDUsedTarget.hh.

102{ return target; };

◆ GetWantedA()

G4int G4LENDUsedTarget::GetWantedA ( )
inline

Definition at line 92 of file G4LENDUsedTarget.hh.

92{ return wanted_A; };

◆ GetWantedEvaluation()

G4String G4LENDUsedTarget::GetWantedEvaluation ( )
inline

Definition at line 99 of file G4LENDUsedTarget.hh.

99{ return wanted_Evaluation; };

◆ GetWantedM()

G4int G4LENDUsedTarget::GetWantedM ( )
inline

Definition at line 93 of file G4LENDUsedTarget.hh.

93{ return wanted_M; };

◆ GetWantedZ()

G4int G4LENDUsedTarget::GetWantedZ ( )
inline

Definition at line 91 of file G4LENDUsedTarget.hh.

91{ return wanted_Z; };

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