Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
G4NeutronHPNPInelasticFS Class Reference

#include <G4NeutronHPNPInelasticFS.hh>

Inheritance diagram for G4NeutronHPNPInelasticFS:
G4NeutronHPInelasticBaseFS G4NeutronHPFinalState

Public Member Functions

 G4NeutronHPNPInelasticFS ()
 
 ~G4NeutronHPNPInelasticFS ()
 
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 BaseApply (const G4HadProjectile &theTrack, G4ParticleDefinition **theDefs, G4int nDef)
 
void InitGammas (G4double AR, G4double ZR)
 
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)
 
G4bool HasXsec ()
 
G4bool HasFSData ()
 
G4bool HasAnyData ()
 
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)
 
G4bool DoNotAdjustFinalState ()
 
- 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 40 of file G4NeutronHPNPInelasticFS.hh.

Constructor & Destructor Documentation

G4NeutronHPNPInelasticFS::G4NeutronHPNPInelasticFS ( )
inline

Definition at line 44 of file G4NeutronHPNPInelasticFS.hh.

Referenced by New().

44 {}
G4NeutronHPNPInelasticFS::~G4NeutronHPNPInelasticFS ( )
inline

Definition at line 45 of file G4NeutronHPNPInelasticFS.hh.

45 {}

Member Function Documentation

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

Implements G4NeutronHPInelasticBaseFS.

Definition at line 34 of file G4NeutronHPNPInelasticFS.cc.

References G4NeutronHPInelasticBaseFS::BaseApply(), G4Neutron::Neutron(), G4Proton::Proton(), and G4NeutronHPFinalState::theResult.

35 {
36 // these are the particle types in the final state
37 
38  G4ParticleDefinition * theDefs[2];
39  theDefs[0] = G4Neutron::Neutron();
40  theDefs[1] = G4Proton::Proton();
41 
42 // fill the final state
43  G4NeutronHPInelasticBaseFS::BaseApply(theTrack, theDefs, 2);
44 
45 // return the result
46  return &theResult;
47 }
void BaseApply(const G4HadProjectile &theTrack, G4ParticleDefinition **theDefs, G4int nDef)
static G4Proton * Proton()
Definition: G4Proton.cc:93
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
void G4NeutronHPNPInelasticFS::Init ( G4double  A,
G4double  Z,
G4int  M,
G4String dirName,
G4String aFSType 
)
virtual

Reimplemented from G4NeutronHPInelasticBaseFS.

Definition at line 50 of file G4NeutronHPNPInelasticFS.cc.

References G4NeutronHPInelasticBaseFS::Init(), and G4NeutronHPInelasticBaseFS::InitGammas().

51 {
52  G4NeutronHPInelasticBaseFS::Init(A, Z, M, dirName, aFSType);
53  G4double ResidualA = A-1;
54  G4double ResidualZ = Z-1;
55  G4NeutronHPInelasticBaseFS::InitGammas(ResidualA, ResidualZ);
56 }
void InitGammas(G4double AR, G4double ZR)
void Init(G4double A, G4double Z, G4int M, G4String &dirName, G4String &bit)
double G4double
Definition: G4Types.hh:76
G4NeutronHPFinalState* G4NeutronHPNPInelasticFS::New ( )
inlinevirtual

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