Geant4  10.02.p03
G4ParticleHPTInelasticFS Class Reference

#include <G4ParticleHPTInelasticFS.hh>

Inheritance diagram for G4ParticleHPTInelasticFS:
Collaboration diagram for G4ParticleHPTInelasticFS:

Public Member Functions

 G4ParticleHPTInelasticFS ()
 
 ~G4ParticleHPTInelasticFS ()
 
void Init (G4double A, G4double Z, G4int M, G4String &dirName, G4String &aFSType, G4ParticleDefinition *)
 
G4HadFinalStateApplyYourself (const G4HadProjectile &theTrack)
 
G4ParticleHPFinalStateNew ()
 

Detailed Description

Definition at line 41 of file G4ParticleHPTInelasticFS.hh.

Constructor & Destructor Documentation

◆ G4ParticleHPTInelasticFS()

G4ParticleHPTInelasticFS::G4ParticleHPTInelasticFS ( )
inline

Definition at line 45 of file G4ParticleHPTInelasticFS.hh.

45 {}
Here is the caller graph for this function:

◆ ~G4ParticleHPTInelasticFS()

G4ParticleHPTInelasticFS::~G4ParticleHPTInelasticFS ( )
inline

Definition at line 46 of file G4ParticleHPTInelasticFS.hh.

46 {}
Here is the call graph for this function:

Member Function Documentation

◆ ApplyYourself()

G4HadFinalState * G4ParticleHPTInelasticFS::ApplyYourself ( const G4HadProjectile theTrack)

Definition at line 63 of file G4ParticleHPTInelasticFS.cc.

64 {
65 
66 // do the final state
67  G4ParticleHPInelasticCompFS::CompositeApply(theTrack, G4Triton::Triton());
68 
69 // return the result
70  return theResult.Get();
71 }
static G4Triton * Triton()
Definition: G4Triton.cc:95
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Init()

void G4ParticleHPTInelasticFS::Init ( G4double  A,
G4double  Z,
G4int  M,
G4String dirName,
G4String aFSType,
G4ParticleDefinition projectile 
)

Definition at line 35 of file G4ParticleHPTInelasticFS.cc.

36 {
37  G4ParticleHPInelasticCompFS::Init(A, Z, M, dirName, aFSType, projectile);
38  G4double ResidualA = 0;
39  G4double ResidualZ = 0;
40  if( projectile == G4Neutron::Neutron() ) {
41  ResidualA = A-2;
42  ResidualZ = Z-1;
43  } else if( projectile == G4Proton::Proton() ) {
44  ResidualA = A-2;
45  ResidualZ = Z;
46  } else if( projectile == G4Deuteron::Deuteron() ) {
47  ResidualA = A-1;
48  ResidualZ = Z;
49  } else if( projectile == G4Triton::Triton() ) {
50  ResidualA = A;
51  ResidualZ = Z;
52  } else if( projectile == G4He3::He3() ) {
53  ResidualA = A;
54  ResidualZ = Z+1;
55  } else if( projectile == G4Alpha::Alpha() ) {
56  ResidualA = A+1;
57  ResidualZ = Z+1;
58  }
59 
60  G4ParticleHPInelasticCompFS::InitGammas(ResidualA, ResidualZ);
61 }
void Init()
Definition: G4IonTable.cc:86
double A(double temperature)
Float_t Z
static G4Triton * Triton()
Definition: G4Triton.cc:95
static G4Proton * Proton()
Definition: G4Proton.cc:93
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
static G4Deuteron * Deuteron()
Definition: G4Deuteron.cc:94
static G4Alpha * Alpha()
Definition: G4Alpha.cc:89
double G4double
Definition: G4Types.hh:76
static G4He3 * He3()
Definition: G4He3.cc:94
Here is the call graph for this function:
Here is the caller graph for this function:

◆ New()

G4ParticleHPFinalState* G4ParticleHPTInelasticFS::New ( )
inline

Definition at line 49 of file G4ParticleHPTInelasticFS.hh.

Here is the call graph for this function:

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