Geant4  10.00.p03
G4AntiNeutronAnnihilationAtRest Class Reference

#include <G4AntiNeutronAnnihilationAtRest.hh>

+ Inheritance diagram for G4AntiNeutronAnnihilationAtRest:
+ Collaboration diagram for G4AntiNeutronAnnihilationAtRest:

Public Member Functions

 G4AntiNeutronAnnihilationAtRest (const G4String &processName="AntiNeutronAnnihilationAtRest", G4ProcessType aType=fHadronic)
 
 ~G4AntiNeutronAnnihilationAtRest ()
 
G4bool IsApplicable (const G4ParticleDefinition &)
 
void PreparePhysicsTable (const G4ParticleDefinition &)
 
void BuildPhysicsTable (const G4ParticleDefinition &)
 
G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
G4double GetMeanLifeTime (const G4Track &, G4ForceCondition *)
 
G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &)
 
G4int GetNumberOfSecondaries ()
 
G4GHEKinematicsVectorGetSecondaryKinematics ()
 
- Public Member Functions inherited from G4VRestProcess
 G4VRestProcess (const G4String &, G4ProcessType aType=fNotDefined)
 
 G4VRestProcess (G4VRestProcess &)
 
virtual ~G4VRestProcess ()
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &, G4double, G4ForceCondition *)
 
virtual G4VParticleChangePostStepDoIt (const G4Track &, const G4Step &)
 
virtual G4VParticleChangeAlongStepDoIt (const G4Track &, const G4Step &)
 
- Public Member Functions inherited from G4VProcess
 G4VProcess (const G4String &aName="NoName", G4ProcessType aType=fNotDefined)
 
 G4VProcess (const G4VProcess &right)
 
virtual ~G4VProcess ()
 
G4int operator== (const G4VProcess &right) const
 
G4int operator!= (const G4VProcess &right) const
 
G4double GetCurrentInteractionLength () const
 
void SetPILfactor (G4double value)
 
G4double GetPILfactor () const
 
G4double AlongStepGPIL (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)
 
G4double AtRestGPIL (const G4Track &track, G4ForceCondition *condition)
 
G4double PostStepGPIL (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
virtual G4bool StorePhysicsTable (const G4ParticleDefinition *, const G4String &, G4bool)
 
virtual G4bool RetrievePhysicsTable (const G4ParticleDefinition *, const G4String &, G4bool)
 
const G4StringGetPhysicsTableFileName (const G4ParticleDefinition *, const G4String &directory, const G4String &tableName, G4bool ascii=false)
 
const G4StringGetProcessName () const
 
G4ProcessType GetProcessType () const
 
void SetProcessType (G4ProcessType)
 
G4int GetProcessSubType () const
 
void SetProcessSubType (G4int)
 
virtual void StartTracking (G4Track *)
 
virtual void EndTracking ()
 
virtual void SetProcessManager (const G4ProcessManager *)
 
virtual const G4ProcessManagerGetProcessManager ()
 
virtual void ResetNumberOfInteractionLengthLeft ()
 
G4double GetNumberOfInteractionLengthLeft () const
 
G4double GetTotalNumberOfInteractionLengthTraversed () const
 
G4bool isAtRestDoItIsEnabled () const
 
G4bool isAlongStepDoItIsEnabled () const
 
G4bool isPostStepDoItIsEnabled () const
 
virtual void DumpInfo () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
virtual void SetMasterProcess (G4VProcess *masterP)
 
const G4VProcessGetMasterProcess () const
 
virtual void BuildWorkerPhysicsTable (const G4ParticleDefinition &part)
 
virtual void PrepareWorkerPhysicsTable (const G4ParticleDefinition &)
 

Private Member Functions

G4AntiNeutronAnnihilationAtRestoperator= (const G4AntiNeutronAnnihilationAtRest &right)
 
 G4AntiNeutronAnnihilationAtRest (const G4AntiNeutronAnnihilationAtRest &)
 
void GenerateSecondaries ()
 
void Poisso (G4float, G4int *)
 
void Normal (G4float *)
 
void AntiNeutronAnnihilation (G4int *)
 
G4double ExNu (G4float)
 
G4int NFac (G4int)
 

Private Attributes

G4float globalTime
 
G4float targetAtomicMass
 
G4float targetCharge
 
G4GHEKinematicsVectorpv
 
G4GHEKinematicsVectoreve
 
G4GHEKinematicsVectorgkin
 
G4float evapEnergy1
 
G4float evapEnergy3
 
G4int ngkine
 
G4int ntot
 
G4GHEKinematicsVector result
 
G4float massPionMinus
 
G4float massPionZero
 
G4float massPionPlus
 
G4float massGamma
 
G4float massAntiNeutron
 
G4float massNeutron
 
G4ParticleDefinitionpdefGamma
 
G4ParticleDefinitionpdefPionPlus
 
G4ParticleDefinitionpdefPionZero
 
G4ParticleDefinitionpdefPionMinus
 
G4ParticleDefinitionpdefProton
 
G4ParticleDefinitionpdefNeutron
 
G4ParticleDefinitionpdefAntiNeutron
 
G4ParticleDefinitionpdefDeuteron
 
G4ParticleDefinitionpdefTriton
 
G4ParticleDefinitionpdefAlpha
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 
- Protected Member Functions inherited from G4VProcess
void SubtractNumberOfInteractionLengthLeft (G4double previousStepSize)
 
void ClearNumberOfInteractionLengthLeft ()
 
- Protected Attributes inherited from G4VProcess
const G4ProcessManageraProcessManager
 
G4VParticleChangepParticleChange
 
G4ParticleChange aParticleChange
 
G4double theNumberOfInteractionLengthLeft
 
G4double currentInteractionLength
 
G4double theInitialNumberOfInteractionLength
 
G4String theProcessName
 
G4String thePhysicsTableFileName
 
G4ProcessType theProcessType
 
G4int theProcessSubType
 
G4double thePILfactor
 
G4bool enableAtRestDoIt
 
G4bool enableAlongStepDoIt
 
G4bool enablePostStepDoIt
 
G4int verboseLevel
 

Detailed Description

Definition at line 47 of file G4AntiNeutronAnnihilationAtRest.hh.

Constructor & Destructor Documentation

G4AntiNeutronAnnihilationAtRest::G4AntiNeutronAnnihilationAtRest ( const G4AntiNeutronAnnihilationAtRest )
private
G4AntiNeutronAnnihilationAtRest::G4AntiNeutronAnnihilationAtRest ( const G4String processName = "AntiNeutronAnnihilationAtRest",
G4ProcessType  aType = fHadronic 
)

Definition at line 47 of file G4AntiNeutronAnnihilationAtRest.cc.

References evapEnergy1, evapEnergy3, eve, fHadronAtRest, G4cout, G4endl, G4HadronicDeprecate, G4VProcess::GetProcessName(), gkin, globalTime, G4HadronicProcessStore::Instance(), MAX_SECONDARIES, ngkine, ntot, pv, G4HadronicProcessStore::RegisterExtraProcess(), G4VProcess::SetProcessSubType(), targetAtomicMass, targetCharge, and G4VProcess::verboseLevel.

+ Here is the call graph for this function:

G4AntiNeutronAnnihilationAtRest::~G4AntiNeutronAnnihilationAtRest ( )

Definition at line 84 of file G4AntiNeutronAnnihilationAtRest.cc.

References G4HadronicProcessStore::DeRegisterExtraProcess(), eve, gkin, G4HadronicProcessStore::Instance(), and pv.

+ Here is the call graph for this function:

Member Function Documentation

void G4AntiNeutronAnnihilationAtRest::AntiNeutronAnnihilation ( G4int nopt)
private
G4double G4AntiNeutronAnnihilationAtRest::AtRestGetPhysicalInteractionLength ( const G4Track track,
G4ForceCondition condition 
)
virtual
void G4AntiNeutronAnnihilationAtRest::BuildPhysicsTable ( const G4ParticleDefinition p)
virtual

Reimplemented from G4VProcess.

Definition at line 97 of file G4AntiNeutronAnnihilationAtRest.cc.

References G4HadronicProcessStore::Instance(), and G4HadronicProcessStore::PrintInfo().

+ Here is the call graph for this function:

G4double G4AntiNeutronAnnihilationAtRest::ExNu ( G4float  ek1)
private

Definition at line 682 of file G4AntiNeutronAnnihilationAtRest.cc.

References evapEnergy1, evapEnergy3, G4ThreadLocal, G4UniformRand, Normal(), targetAtomicMass, and targetCharge.

Referenced by AntiNeutronAnnihilation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4AntiNeutronAnnihilationAtRest::GenerateSecondaries ( )
private

Definition at line 240 of file G4AntiNeutronAnnihilationAtRest.cc.

References AntiNeutronAnnihilation(), eve, G4ThreadLocal, G4GHEKinematicsVector::GetParticleDef(), G4GHEKinematicsVector::GetTOF(), gkin, globalTime, massAntiNeutron, MAX_SECONDARIES, G4INCL::Math::min(), ngkine, ntot, pdefAntiNeutron, pv, result, G4GHEKinematicsVector::SetKineticEnergyAndUpdate(), G4GHEKinematicsVector::SetMass(), G4GHEKinematicsVector::SetParticleDef(), G4GHEKinematicsVector::SetTOF(), and G4GHEKinematicsVector::SetZero().

Referenced by AtRestDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4AntiNeutronAnnihilationAtRest::GetMeanLifeTime ( const G4Track ,
G4ForceCondition  
)
inlinevirtual

Implements G4VRestProcess.

Definition at line 72 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AtRestGetPhysicalInteractionLength().

+ Here is the caller graph for this function:

G4int G4AntiNeutronAnnihilationAtRest::GetNumberOfSecondaries ( )

Definition at line 113 of file G4AntiNeutronAnnihilationAtRest.cc.

References ngkine.

G4GHEKinematicsVector * G4AntiNeutronAnnihilationAtRest::GetSecondaryKinematics ( )

Definition at line 120 of file G4AntiNeutronAnnihilationAtRest.cc.

References gkin.

G4bool G4AntiNeutronAnnihilationAtRest::IsApplicable ( const G4ParticleDefinition particle)
virtual

Reimplemented from G4VProcess.

Definition at line 104 of file G4AntiNeutronAnnihilationAtRest.cc.

References pdefAntiNeutron.

G4int G4AntiNeutronAnnihilationAtRest::NFac ( G4int  n)
private

Definition at line 383 of file G4AntiNeutronAnnihilationAtRest.cc.

References G4ThreadLocal, and n.

Referenced by Poisso().

+ Here is the caller graph for this function:

void G4AntiNeutronAnnihilationAtRest::Normal ( G4float ran)
private

Definition at line 407 of file G4AntiNeutronAnnihilationAtRest.cc.

References G4ThreadLocal, and G4UniformRand.

Referenced by AntiNeutronAnnihilation(), ExNu(), and Poisso().

+ Here is the caller graph for this function:

G4AntiNeutronAnnihilationAtRest& G4AntiNeutronAnnihilationAtRest::operator= ( const G4AntiNeutronAnnihilationAtRest right)
private
void G4AntiNeutronAnnihilationAtRest::Poisso ( G4float  xav,
G4int iran 
)
private

Definition at line 308 of file G4AntiNeutronAnnihilationAtRest.cc.

References G4ThreadLocal, G4UniformRand, NFac(), and Normal().

Referenced by AntiNeutronAnnihilation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4AntiNeutronAnnihilationAtRest::PreparePhysicsTable ( const G4ParticleDefinition p)
virtual

Reimplemented from G4VProcess.

Definition at line 92 of file G4AntiNeutronAnnihilationAtRest.cc.

References G4HadronicProcessStore::Instance(), and G4HadronicProcessStore::RegisterParticleForExtraProcess().

+ Here is the call graph for this function:

Member Data Documentation

G4float G4AntiNeutronAnnihilationAtRest::evapEnergy1
private
G4float G4AntiNeutronAnnihilationAtRest::evapEnergy3
private
G4float G4AntiNeutronAnnihilationAtRest::globalTime
private
G4float G4AntiNeutronAnnihilationAtRest::massAntiNeutron
private
G4float G4AntiNeutronAnnihilationAtRest::massGamma
private

Definition at line 118 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AntiNeutronAnnihilation().

G4float G4AntiNeutronAnnihilationAtRest::massNeutron
private

Definition at line 120 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AntiNeutronAnnihilation().

G4float G4AntiNeutronAnnihilationAtRest::massPionMinus
private

Definition at line 115 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AntiNeutronAnnihilation().

G4float G4AntiNeutronAnnihilationAtRest::massPionPlus
private

Definition at line 117 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AntiNeutronAnnihilation().

G4float G4AntiNeutronAnnihilationAtRest::massPionZero
private

Definition at line 116 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AntiNeutronAnnihilation().

G4int G4AntiNeutronAnnihilationAtRest::ngkine
private
G4int G4AntiNeutronAnnihilationAtRest::ntot
private
G4ParticleDefinition* G4AntiNeutronAnnihilationAtRest::pdefAlpha
private

Definition at line 131 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AntiNeutronAnnihilation().

G4ParticleDefinition* G4AntiNeutronAnnihilationAtRest::pdefAntiNeutron
private

Definition at line 128 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by GenerateSecondaries(), and IsApplicable().

G4ParticleDefinition* G4AntiNeutronAnnihilationAtRest::pdefDeuteron
private

Definition at line 129 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AntiNeutronAnnihilation().

G4ParticleDefinition* G4AntiNeutronAnnihilationAtRest::pdefGamma
private

Definition at line 122 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AntiNeutronAnnihilation().

G4ParticleDefinition* G4AntiNeutronAnnihilationAtRest::pdefNeutron
private

Definition at line 127 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AntiNeutronAnnihilation().

G4ParticleDefinition* G4AntiNeutronAnnihilationAtRest::pdefPionMinus
private

Definition at line 125 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AntiNeutronAnnihilation().

G4ParticleDefinition* G4AntiNeutronAnnihilationAtRest::pdefPionPlus
private

Definition at line 123 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AntiNeutronAnnihilation().

G4ParticleDefinition* G4AntiNeutronAnnihilationAtRest::pdefPionZero
private

Definition at line 124 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AntiNeutronAnnihilation().

G4ParticleDefinition* G4AntiNeutronAnnihilationAtRest::pdefProton
private

Definition at line 126 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AntiNeutronAnnihilation().

G4ParticleDefinition* G4AntiNeutronAnnihilationAtRest::pdefTriton
private

Definition at line 130 of file G4AntiNeutronAnnihilationAtRest.hh.

Referenced by AntiNeutronAnnihilation().

G4GHEKinematicsVector G4AntiNeutronAnnihilationAtRest::result
private
G4float G4AntiNeutronAnnihilationAtRest::targetAtomicMass
private
G4float G4AntiNeutronAnnihilationAtRest::targetCharge
private

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