Geant4  10.02.p03
G4ParticleHPDInelasticFS Class Reference

#include <G4ParticleHPDInelasticFS.hh>

Inheritance diagram for G4ParticleHPDInelasticFS:
Collaboration diagram for G4ParticleHPDInelasticFS:

Public Member Functions

 G4ParticleHPDInelasticFS ()
 
 ~G4ParticleHPDInelasticFS ()
 
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 G4ParticleHPDInelasticFS.hh.

Constructor & Destructor Documentation

◆ G4ParticleHPDInelasticFS()

G4ParticleHPDInelasticFS::G4ParticleHPDInelasticFS ( )
inline

Definition at line 45 of file G4ParticleHPDInelasticFS.hh.

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

◆ ~G4ParticleHPDInelasticFS()

G4ParticleHPDInelasticFS::~G4ParticleHPDInelasticFS ( )
inline

Definition at line 46 of file G4ParticleHPDInelasticFS.hh.

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

Member Function Documentation

◆ ApplyYourself()

G4HadFinalState * G4ParticleHPDInelasticFS::ApplyYourself ( const G4HadProjectile theTrack)

Definition at line 64 of file G4ParticleHPDInelasticFS.cc.

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

◆ Init()

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

Definition at line 36 of file G4ParticleHPDInelasticFS.cc.

37 {
38  G4ParticleHPInelasticCompFS::Init(A, Z, M, dirName, aFSType, projectile);
39  G4double ResidualA = 0;
40  G4double ResidualZ = 0;
41  if( projectile == G4Neutron::Neutron() ) {
42  ResidualA = A-1;
43  ResidualZ = Z-1;
44  } else if( projectile == G4Proton::Proton() ) {
45  ResidualA = A-1;
46  ResidualZ = Z;
47  } else if( projectile == G4Deuteron::Deuteron() ) {
48  ResidualA = A;
49  ResidualZ = Z;
50  } else if( projectile == G4Triton::Triton() ) {
51  ResidualA = A+1;
52  ResidualZ = Z;
53  } else if( projectile == G4He3::He3() ) {
54  ResidualA = A+1;
55  ResidualZ = Z+1;
56  } else if( projectile == G4Alpha::Alpha() ) {
57  ResidualA = A+2;
58  ResidualZ = Z+1;
59  }
60 
61  G4ParticleHPInelasticCompFS::InitGammas(ResidualA, ResidualZ);
62 }
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* G4ParticleHPDInelasticFS::New ( )
inline

Definition at line 49 of file G4ParticleHPDInelasticFS.hh.

Here is the call graph for this function:

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