Geant4  10.02.p03
G4ParticleHP3NInelasticFS Class Reference

#include <G4ParticleHP3NInelasticFS.hh>

Inheritance diagram for G4ParticleHP3NInelasticFS:
Collaboration diagram for G4ParticleHP3NInelasticFS:

Public Member Functions

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

Detailed Description

Definition at line 42 of file G4ParticleHP3NInelasticFS.hh.

Constructor & Destructor Documentation

◆ G4ParticleHP3NInelasticFS()

G4ParticleHP3NInelasticFS::G4ParticleHP3NInelasticFS ( )
inline

Definition at line 46 of file G4ParticleHP3NInelasticFS.hh.

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

◆ ~G4ParticleHP3NInelasticFS()

G4ParticleHP3NInelasticFS::~G4ParticleHP3NInelasticFS ( )
inline

Definition at line 47 of file G4ParticleHP3NInelasticFS.hh.

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

Member Function Documentation

◆ ApplyYourself()

G4HadFinalState * G4ParticleHP3NInelasticFS::ApplyYourself ( const G4HadProjectile theTrack)

Definition at line 36 of file G4ParticleHP3NInelasticFS.cc.

37 {
38 // these are the particle types in the final state
39 
40  G4ParticleDefinition * theDefs[3];
41  theDefs[0] = G4Neutron::Neutron();
42  theDefs[1] = G4Neutron::Neutron();
43  theDefs[2] = G4Neutron::Neutron();
44 
45 // fill the final state
46  G4ParticleHPInelasticBaseFS::BaseApply(theTrack, theDefs, 3);
47 
48 // return the result;
49  return theResult.Get();
50 }
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Init()

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

Definition at line 53 of file G4ParticleHP3NInelasticFS.cc.

54 {
55  G4ParticleHPInelasticBaseFS::Init(A, Z, M, dirName, aFSType, projectile);
56  G4double ResidualA = 0;
57  G4double ResidualZ = 0;
58  if( projectile == G4Neutron::Neutron() ) {
59  ResidualA = A-2;
60  ResidualZ = Z;
61  } else if( projectile == G4Proton::Proton() ) {
62  ResidualA = A-2;
63  ResidualZ = Z+1;
64  } else if( projectile == G4Deuteron::Deuteron() ) {
65  ResidualA = A-1;
66  ResidualZ = Z+1;
67  } else if( projectile == G4Triton::Triton() ) {
68  ResidualA = A;
69  ResidualZ = Z+1;
70  } else if( projectile == G4He3::He3() ) {
71  ResidualA = A;
72  ResidualZ = Z+2;
73  } else if( projectile == G4Alpha::Alpha() ) {
74  ResidualA = A+1;
75  ResidualZ = Z+2;
76  }
77 
78  G4ParticleHPInelasticBaseFS::InitGammas(ResidualA, ResidualZ);
79 }
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* G4ParticleHP3NInelasticFS::New ( )
inline

Definition at line 50 of file G4ParticleHP3NInelasticFS.hh.

Here is the call graph for this function:

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