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

#include <G4ParticleHPHe3InelasticFS.hh>

+ Inheritance diagram for G4ParticleHPHe3InelasticFS:

Public Member Functions

 G4ParticleHPHe3InelasticFS ()
 
 ~G4ParticleHPHe3InelasticFS ()
 
void Init (G4double A, G4double Z, G4int M, G4String &dirName, G4String &aFSType, G4ParticleDefinition *)
 
G4HadFinalStateApplyYourself (const G4HadProjectile &theTrack)
 
G4ParticleHPFinalStateNew ()
 
- Public Member Functions inherited from G4ParticleHPInelasticCompFS
 G4ParticleHPInelasticCompFS ()
 
virtual ~G4ParticleHPInelasticCompFS ()
 
void Init (G4double A, G4double Z, G4int M, G4String &dirName, G4String &aSFType, G4ParticleDefinition *)
 
void InitGammas (G4double AR, G4double ZR)
 
virtual G4HadFinalStateApplyYourself (const G4HadProjectile &theTrack)=0
 
virtual G4ParticleHPFinalStateNew ()=0
 
virtual G4double GetXsec (G4double anEnergy)
 
virtual G4ParticleHPVectorGetXsec ()
 
G4int SelectExitChannel (G4double eKinetic)
 
void CompositeApply (const G4HadProjectile &theTrack, G4ParticleDefinition *aHadron)
 
void InitDistributionInitialState (G4ReactionProduct &anIncidentPart, G4ReactionProduct &aTarget, G4int it)
 
- Public Member Functions inherited from G4ParticleHPFinalState
 G4ParticleHPFinalState ()
 
virtual ~G4ParticleHPFinalState ()
 
void Init (G4double A, G4double Z, G4String &dirName, G4String &aFSType, G4ParticleDefinition *projectile)
 
virtual void Init (G4double A, G4double Z, G4int M, G4String &dirName, G4String &aFSType, G4ParticleDefinition *)=0
 
virtual G4HadFinalStateApplyYourself (const G4HadProjectile &)
 
virtual G4ParticleHPFinalStateNew ()=0
 
G4bool HasXsec ()
 
G4bool HasFSData ()
 
G4bool HasAnyData ()
 
virtual G4double GetXsec (G4double)
 
virtual G4ParticleHPVectorGetXsec ()
 
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 G4ParticleHPInelasticCompFS
G4ParticleHPVectortheXsection [51]
 
G4ParticleHPEnergyDistributiontheEnergyDistribution [51]
 
G4ParticleHPAngulartheAngularDistribution [51]
 
G4ParticleHPEnAngCorrelationtheEnergyAngData [51]
 
G4ParticleHPPhotonDisttheFinalStatePhotons [51]
 
G4ParticleHPDeExGammas theGammas
 
G4String gammaPath
 
std::vector< G4doubleQI
 
std::vector< G4intLR
 
- Protected Attributes inherited from G4ParticleHPFinalState
G4bool hasXsec
 
G4bool hasFSData
 
G4bool hasAnyData
 
G4ParticleHPNames theNames
 
G4Cache< G4HadFinalState * > theResult
 
G4ParticleDefinitiontheProjectile
 
G4double theBaseA
 
G4double theBaseZ
 
G4int theBaseM
 
G4int theNDLDataZ
 
G4int theNDLDataA
 
G4int theNDLDataM
 

Detailed Description

Definition at line 41 of file G4ParticleHPHe3InelasticFS.hh.

Constructor & Destructor Documentation

◆ G4ParticleHPHe3InelasticFS()

G4ParticleHPHe3InelasticFS::G4ParticleHPHe3InelasticFS ( )
inline

Definition at line 45 of file G4ParticleHPHe3InelasticFS.hh.

45{}

Referenced by New().

◆ ~G4ParticleHPHe3InelasticFS()

G4ParticleHPHe3InelasticFS::~G4ParticleHPHe3InelasticFS ( )
inline

Definition at line 46 of file G4ParticleHPHe3InelasticFS.hh.

46{}

Member Function Documentation

◆ ApplyYourself()

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

Implements G4ParticleHPInelasticCompFS.

Definition at line 64 of file G4ParticleHPHe3InelasticFS.cc.

65{
66
67// do the final state
69
70// return the result
71 return theResult.Get();
72}
value_type & Get() const
Definition: G4Cache.hh:315
static G4He3 * He3()
Definition: G4He3.cc:93
G4Cache< G4HadFinalState * > theResult
void CompositeApply(const G4HadProjectile &theTrack, G4ParticleDefinition *aHadron)

◆ Init()

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

Implements G4ParticleHPFinalState.

Definition at line 36 of file G4ParticleHPHe3InelasticFS.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-2;
43 ResidualZ = Z-2;
44 } else if( projectile == G4Proton::Proton() ) {
45 ResidualA = A-2;
46 ResidualZ = Z-1;
47 } else if( projectile == G4Deuteron::Deuteron() ) {
48 ResidualA = A-1;
49 ResidualZ = Z-1;
50 } else if( projectile == G4Triton::Triton() ) {
51 ResidualA = A;
52 ResidualZ = Z-1;
53 } else if( projectile == G4He3::He3() ) {
54 ResidualA = A;
55 ResidualZ = Z;
56 } else if( projectile == G4Alpha::Alpha() ) {
57 ResidualA = A+1;
58 ResidualZ = Z;
59 }
60
61 G4ParticleHPInelasticCompFS::InitGammas(ResidualA, ResidualZ);
62}
double A(double temperature)
double G4double
Definition: G4Types.hh:83
static G4Alpha * Alpha()
Definition: G4Alpha.cc:88
static G4Deuteron * Deuteron()
Definition: G4Deuteron.cc:93
static G4Neutron * Neutron()
Definition: G4Neutron.cc:103
void InitGammas(G4double AR, G4double ZR)
void Init(G4double A, G4double Z, G4int M, G4String &dirName, G4String &aSFType, G4ParticleDefinition *)
static G4Proton * Proton()
Definition: G4Proton.cc:92
static G4Triton * Triton()
Definition: G4Triton.cc:94

◆ New()

G4ParticleHPFinalState * G4ParticleHPHe3InelasticFS::New ( )
inlinevirtual

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