Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4ParticleHPND2AInelasticFS Class Reference

#include <G4ParticleHPND2AInelasticFS.hh>

Inheritance diagram for G4ParticleHPND2AInelasticFS:
Collaboration diagram for G4ParticleHPND2AInelasticFS:

Public Member Functions

 G4ParticleHPND2AInelasticFS ()
 
 ~G4ParticleHPND2AInelasticFS ()
 
void Init (G4double A, G4double Z, G4int M, G4String &dirName, G4String &aFSType, G4ParticleDefinition *)
 
G4HadFinalStateApplyYourself (const G4HadProjectile &theTrack)
 
G4ParticleHPFinalStateNew ()
 
- Public Member Functions inherited from G4ParticleHPInelasticBaseFS
 G4ParticleHPInelasticBaseFS ()
 
virtual ~G4ParticleHPInelasticBaseFS ()
 
void BaseApply (const G4HadProjectile &theTrack, G4ParticleDefinition **theDefs, G4int nDef)
 
void InitGammas (G4double AR, G4double ZR)
 
virtual G4double GetXsec (G4double anEnergy)
 
virtual G4ParticleHPVectorGetXsec ()
 
- Public Member Functions inherited from G4ParticleHPFinalState
 G4ParticleHPFinalState ()
 
virtual ~G4ParticleHPFinalState ()
 
void Init (G4double A, G4double Z, G4String &dirName, G4String &aFSType, G4ParticleDefinition *projectile)
 
G4bool HasXsec ()
 
G4bool HasFSData ()
 
G4bool HasAnyData ()
 
void SetA_Z (G4double anA, G4double aZ, G4int aM=0)
 
G4double GetZ ()
 
G4double GetN ()
 
G4double GetA ()
 
G4int GetM ()
 
void SetAZMs (G4double anA, G4double aZ, G4int aM, G4ParticleHPDataUsed used)
 
void SetProjectile (G4ParticleDefinition *projectile)
 

Additional Inherited Members

- Protected Member Functions inherited from G4ParticleHPFinalState
void adjust_final_state (G4LorentzVector)
 
G4bool DoNotAdjustFinalState ()
 
- Protected Attributes inherited from G4ParticleHPInelasticBaseFS
G4ParticleHPVectortheXsection
 
G4ParticleHPEnergyDistributiontheEnergyDistribution
 
G4ParticleHPAngulartheAngularDistribution
 
G4ParticleHPEnAngCorrelationtheEnergyAngData
 
G4ParticleHPPhotonDisttheFinalStatePhotons
 
G4double theNuclearMassDifference
 
G4ParticleHPDeExGammas theGammas
 
G4String gammaPath
 
- Protected Attributes inherited from G4ParticleHPFinalState
G4bool hasXsec
 
G4bool hasFSData
 
G4bool hasAnyData
 
G4ParticleHPNames theNames
 
G4Cache< G4HadFinalState * > theResult
 
G4double theBaseA
 
G4double theBaseZ
 
G4int theBaseM
 
G4int theNDLDataZ
 
G4int theNDLDataA
 
G4int theNDLDataM
 
G4ParticleDefinitiontheProjectile
 

Detailed Description

Definition at line 41 of file G4ParticleHPND2AInelasticFS.hh.

Constructor & Destructor Documentation

G4ParticleHPND2AInelasticFS::G4ParticleHPND2AInelasticFS ( )
inline

Definition at line 45 of file G4ParticleHPND2AInelasticFS.hh.

45 {}

Here is the caller graph for this function:

G4ParticleHPND2AInelasticFS::~G4ParticleHPND2AInelasticFS ( )
inline

Definition at line 46 of file G4ParticleHPND2AInelasticFS.hh.

46 {}

Member Function Documentation

G4HadFinalState * G4ParticleHPND2AInelasticFS::ApplyYourself ( const G4HadProjectile theTrack)
virtual

Implements G4ParticleHPInelasticBaseFS.

Definition at line 37 of file G4ParticleHPND2AInelasticFS.cc.

38 {
39 // these are the particle types in the final state
40 
41  G4ParticleDefinition * theDefs[4];
42  theDefs[0] = G4Neutron::Neutron();
43  theDefs[1] = G4Deuteron::Deuteron();
44  theDefs[2] = G4Alpha::Alpha();
45  theDefs[3] = G4Alpha::Alpha();
46 
47 // fill the final state
48  G4ParticleHPInelasticBaseFS::BaseApply(theTrack, theDefs, 4);
49 
50 // return the result
51  return theResult.Get();
52 }
G4Cache< G4HadFinalState * > theResult
value_type & Get() const
Definition: G4Cache.hh:282
void BaseApply(const G4HadProjectile &theTrack, G4ParticleDefinition **theDefs, G4int nDef)
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
static G4Deuteron * Deuteron()
Definition: G4Deuteron.cc:94
static G4Alpha * Alpha()
Definition: G4Alpha.cc:89

Here is the call graph for this function:

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

Reimplemented from G4ParticleHPInelasticBaseFS.

Definition at line 55 of file G4ParticleHPND2AInelasticFS.cc.

56 {
57  G4ParticleHPInelasticBaseFS::Init(A, Z, M, dirName, aFSType, projectile);
58  G4double ResidualA = 0;
59  G4double ResidualZ = 0;
60  if( projectile == G4Neutron::Neutron() ) {
61  ResidualA = A-10;
62  ResidualZ = Z-5;
63  } else if( projectile == G4Proton::Proton() ) {
64  ResidualA = A-10;
65  ResidualZ = Z-4;
66  } else if( projectile == G4Deuteron::Deuteron() ) {
67  ResidualA = A-9;
68  ResidualZ = Z-4;
69  } else if( projectile == G4Triton::Triton() ) {
70  ResidualA = A-8;
71  ResidualZ = Z-4;
72  } else if( projectile == G4He3::He3() ) {
73  ResidualA = A-8;
74  ResidualZ = Z-3;
75  } else if( projectile == G4Alpha::Alpha() ) {
76  ResidualA = A-7;
77  ResidualZ = Z-3;
78  }
79 
80  G4ParticleHPInelasticBaseFS::InitGammas(ResidualA, ResidualZ);
81 }
double A(double temperature)
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
void InitGammas(G4double AR, G4double ZR)
static G4Alpha * Alpha()
Definition: G4Alpha.cc:89
void Init(G4double A, G4double Z, G4int M, G4String &dirName, G4String &bit, G4ParticleDefinition *)
double G4double
Definition: G4Types.hh:76
static G4He3 * He3()
Definition: G4He3.cc:94

Here is the call graph for this function:

G4ParticleHPFinalState* G4ParticleHPND2AInelasticFS::New ( )
inlinevirtual

Implements G4ParticleHPInelasticBaseFS.

Definition at line 49 of file G4ParticleHPND2AInelasticFS.hh.

Here is the call graph for this function:


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