Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4NeutronHPNT2AInelasticFS Class Reference

#include <G4NeutronHPNT2AInelasticFS.hh>

+ Inheritance diagram for G4NeutronHPNT2AInelasticFS:

Public Member Functions

 G4NeutronHPNT2AInelasticFS ()
 
 ~G4NeutronHPNT2AInelasticFS ()
 
void Init (G4double A, G4double Z, G4int M, G4String &dirName, G4String &aFSType)
 
G4HadFinalStateApplyYourself (const G4HadProjectile &theTrack)
 
G4NeutronHPFinalStateNew ()
 
- Public Member Functions inherited from G4NeutronHPInelasticBaseFS
 G4NeutronHPInelasticBaseFS ()
 
virtual ~G4NeutronHPInelasticBaseFS ()
 
void Init (G4double A, G4double Z, G4int M, G4String &dirName, G4String &bit)
 
void BaseApply (const G4HadProjectile &theTrack, G4ParticleDefinition **theDefs, G4int nDef)
 
void InitGammas (G4double AR, G4double ZR)
 
virtual G4HadFinalStateApplyYourself (const G4HadProjectile &theTrack)=0
 
virtual G4NeutronHPFinalStateNew ()=0
 
virtual G4double GetXsec (G4double anEnergy)
 
virtual G4NeutronHPVectorGetXsec ()
 
- Public Member Functions inherited from G4NeutronHPFinalState
 G4NeutronHPFinalState ()
 
virtual ~G4NeutronHPFinalState ()
 
void Init (G4double A, G4double Z, G4String &dirName, G4String &aFSType)
 
virtual void Init (G4double A, G4double Z, G4int M, G4String &dirName, G4String &aFSType)=0
 
virtual G4HadFinalStateApplyYourself (const G4HadProjectile &)
 
virtual G4NeutronHPFinalStateNew ()=0
 
G4bool HasXsec ()
 
G4bool HasFSData ()
 
G4bool HasAnyData ()
 
virtual G4double GetXsec (G4double)
 
virtual G4NeutronHPVectorGetXsec ()
 
void SetA_Z (G4double anA, G4double aZ, G4int aM=0)
 
G4double GetZ ()
 
G4double GetN ()
 
G4int GetM ()
 

Additional Inherited Members

- Protected Member Functions inherited from G4NeutronHPFinalState
void SetAZMs (G4double anA, G4double aZ, G4int aM, G4NeutronHPDataUsed used)
 
void adjust_final_state (G4LorentzVector)
 
- Protected Attributes inherited from G4NeutronHPInelasticBaseFS
G4NeutronHPVectortheXsection
 
G4NeutronHPEnergyDistributiontheEnergyDistribution
 
G4NeutronHPAngulartheAngularDistribution
 
G4NeutronHPEnAngCorrelationtheEnergyAngData
 
G4NeutronHPPhotonDisttheFinalStatePhotons
 
G4double theNuclearMassDifference
 
G4NeutronHPDeExGammas theGammas
 
G4String gammaPath
 
- Protected Attributes inherited from G4NeutronHPFinalState
G4bool hasXsec
 
G4bool hasFSData
 
G4bool hasAnyData
 
G4NeutronHPNames theNames
 
G4HadFinalState theResult
 
G4double theBaseA
 
G4double theBaseZ
 
G4int theBaseM
 
G4int theNDLDataZ
 
G4int theNDLDataA
 
G4int theNDLDataM
 

Detailed Description

Definition at line 41 of file G4NeutronHPNT2AInelasticFS.hh.

Constructor & Destructor Documentation

◆ G4NeutronHPNT2AInelasticFS()

G4NeutronHPNT2AInelasticFS::G4NeutronHPNT2AInelasticFS ( )
inline

Definition at line 45 of file G4NeutronHPNT2AInelasticFS.hh.

45{}

Referenced by New().

◆ ~G4NeutronHPNT2AInelasticFS()

G4NeutronHPNT2AInelasticFS::~G4NeutronHPNT2AInelasticFS ( )
inline

Definition at line 46 of file G4NeutronHPNT2AInelasticFS.hh.

46{}

Member Function Documentation

◆ ApplyYourself()

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

Implements G4NeutronHPInelasticBaseFS.

Definition at line 35 of file G4NeutronHPNT2AInelasticFS.cc.

36{
37// these are the particle types in the final state
38
39 G4ParticleDefinition * theDefs[4];
40 theDefs[0] = G4Neutron::Neutron();
41 theDefs[1] = G4Triton::Triton();
42 theDefs[2] = G4Alpha::Alpha();
43 theDefs[3] = G4Alpha::Alpha();
44
45// fill the final state
46 G4NeutronHPInelasticBaseFS::BaseApply(theTrack, theDefs, 4);
47
48// return the result
49 return &theResult;
50}
static G4Alpha * Alpha()
Definition: G4Alpha.cc:89
void BaseApply(const G4HadProjectile &theTrack, G4ParticleDefinition **theDefs, G4int nDef)
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
static G4Triton * Triton()
Definition: G4Triton.cc:95

◆ Init()

void G4NeutronHPNT2AInelasticFS::Init ( G4double  A,
G4double  Z,
G4int  M,
G4String dirName,
G4String aFSType 
)
virtual

Reimplemented from G4NeutronHPInelasticBaseFS.

Definition at line 52 of file G4NeutronHPNT2AInelasticFS.cc.

54{
55 G4NeutronHPInelasticBaseFS::Init(A, Z, M, dirName, aFSType);
56 G4double ResidualA = A-11;
57 G4double ResidualZ = Z-5;
58 G4NeutronHPInelasticBaseFS::InitGammas(ResidualA, ResidualZ);
59}
double G4double
Definition: G4Types.hh:64
void InitGammas(G4double AR, G4double ZR)
void Init(G4double A, G4double Z, G4int M, G4String &dirName, G4String &bit)

◆ New()

G4NeutronHPFinalState * G4NeutronHPNT2AInelasticFS::New ( )
inlinevirtual

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