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

#include <G4DNAElectronHoleRecombination.hh>

+ Inheritance diagram for G4DNAElectronHoleRecombination:

Public Member Functions

 G4DNAElectronHoleRecombination ()
 
virtual ~G4DNAElectronHoleRecombination ()
 
void Create ()
 
void StartTracking (G4Track *) override
 
G4bool IsApplicable (const G4ParticleDefinition &) override
 
void BuildPhysicsTable (const G4ParticleDefinition &) override
 
G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &) override
 
G4VParticleChangePostStepDoIt (const G4Track &, const G4Step &) override
 
G4double GetMeanFreePath (const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition) override
 
G4double GetMeanLifeTime (const G4Track &aTrack, G4ForceCondition *condition) override
 
- Public Member Functions inherited from G4VITRestDiscreteProcess
 G4VITRestDiscreteProcess ()=delete
 
 G4VITRestDiscreteProcess (const G4String &, G4ProcessType aType=fNotDefined)
 
 G4VITRestDiscreteProcess (const G4VITRestDiscreteProcess &)=delete
 
G4VITRestDiscreteProcessoperator= (const G4VITRestDiscreteProcess &right)=delete
 
 ~G4VITRestDiscreteProcess () override
 
G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition) override
 
G4VParticleChangePostStepDoIt (const G4Track &, const G4Step &) override
 
G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *) override
 
G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &) override
 
G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *) override
 
G4VParticleChangeAlongStepDoIt (const G4Track &, const G4Step &) override
 
- Public Member Functions inherited from G4VITProcess
 G4VITProcess (const G4String &name, G4ProcessType type=fNotDefined)
 
virtual ~G4VITProcess ()
 
 G4VITProcess (const G4VITProcess &other)
 
G4VITProcessoperator= (const G4VITProcess &other)
 
G4bool operator== (const G4VITProcess &right) const
 
G4bool operator!= (const G4VITProcess &right) const
 
size_t GetProcessID () const
 
G4shared_ptr< G4ProcessState_LockGetProcessState ()
 
void SetProcessState (G4shared_ptr< G4ProcessState_Lock > aProcInfo)
 
void ResetProcessState ()
 
virtual void StartTracking (G4Track *)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
G4double GetInteractionTimeLeft ()
 
virtual void ResetNumberOfInteractionLengthLeft ()
 
G4bool ProposesTimeStep () const
 
- Public Member Functions inherited from G4VProcess
 G4VProcess (const G4String &aName="NoName", G4ProcessType aType=fNotDefined)
 
 G4VProcess (const G4VProcess &right)
 
virtual ~G4VProcess ()
 
G4VProcessoperator= (const G4VProcess &)=delete
 
G4bool operator== (const G4VProcess &right) const
 
G4bool operator!= (const G4VProcess &right) const
 
virtual G4VParticleChangePostStepDoIt (const G4Track &track, const G4Step &stepData)=0
 
virtual G4VParticleChangeAlongStepDoIt (const G4Track &track, const G4Step &stepData)=0
 
virtual G4VParticleChangeAtRestDoIt (const G4Track &track, const G4Step &stepData)=0
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)=0
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &track, G4ForceCondition *condition)=0
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)=0
 
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 IsApplicable (const G4ParticleDefinition &)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void PreparePhysicsTable (const G4ParticleDefinition &)
 
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 const G4VProcessGetCreatorProcess () const
 
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
 
virtual void ProcessDescription (std::ostream &outfile) 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 &)
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VITProcess
static const size_t & GetMaxProcessIndex ()
 
- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 
virtual G4double GetMeanFreePath (const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition)=0
 
virtual G4double GetMeanLifeTime (const G4Track &aTrack, G4ForceCondition *condition)=0
 
- Protected Member Functions inherited from G4VITProcess
void RetrieveProcessInfo ()
 
void CreateInfo ()
 
template<typename T >
T * GetState ()
 
virtual void SubtractNumberOfInteractionLengthLeft (G4double previousStepSize)
 
virtual void ClearInteractionTimeLeft ()
 
virtual void ClearNumberOfInteractionLengthLeft ()
 
void SetInstantiateProcessState (G4bool flag)
 
G4bool InstantiateProcessState ()
 
- Protected Member Functions inherited from G4VProcess
void SubtractNumberOfInteractionLengthLeft (G4double prevStepSize)
 
void ClearNumberOfInteractionLengthLeft ()
 
- Protected Attributes inherited from G4VITProcess
G4shared_ptr< G4ProcessStatefpState
 
G4bool fProposesTimeStep
 
- Protected Attributes inherited from G4VProcess
const G4ProcessManageraProcessManager = nullptr
 
G4VParticleChangepParticleChange = nullptr
 
G4ParticleChange aParticleChange
 
G4double theNumberOfInteractionLengthLeft = -1.0
 
G4double currentInteractionLength = -1.0
 
G4double theInitialNumberOfInteractionLength = -1.0
 
G4String theProcessName
 
G4String thePhysicsTableFileName
 
G4ProcessType theProcessType = fNotDefined
 
G4int theProcessSubType = -1
 
G4double thePILfactor = 1.0
 
G4int verboseLevel = 0
 
G4bool enableAtRestDoIt = true
 
G4bool enableAlongStepDoIt = true
 
G4bool enablePostStepDoIt = true
 

Detailed Description

Definition at line 36 of file G4DNAElectronHoleRecombination.hh.

Constructor & Destructor Documentation

◆ G4DNAElectronHoleRecombination()

G4DNAElectronHoleRecombination::G4DNAElectronHoleRecombination ( )

Definition at line 105 of file G4DNAElectronHoleRecombination.cc.

106 : G4VITRestDiscreteProcess("G4DNAElectronHoleRecombination",
108{
109 Create();
110}
@ fElectromagnetic

◆ ~G4DNAElectronHoleRecombination()

G4DNAElectronHoleRecombination::~G4DNAElectronHoleRecombination ( )
virtualdefault

Member Function Documentation

◆ AtRestDoIt()

G4VParticleChange * G4DNAElectronHoleRecombination::AtRestDoIt ( const G4Track track,
const G4Step  
)
overridevirtual

Reimplemented from G4VITRestDiscreteProcess.

Definition at line 137 of file G4DNAElectronHoleRecombination.cc.

139{
140 fParticleChange.Initialize(track);
143 MakeReaction(track);
144 return &fParticleChange;
145}
void Initialize(const G4Track &) override
virtual void ClearInteractionTimeLeft()
virtual void ClearNumberOfInteractionLengthLeft()

Referenced by PostStepDoIt().

◆ BuildPhysicsTable()

void G4DNAElectronHoleRecombination::BuildPhysicsTable ( const G4ParticleDefinition )
inlineoverridevirtual

Reimplemented from G4VITProcess.

Definition at line 47 of file G4DNAElectronHoleRecombination.hh.

48 {}

◆ Create()

void G4DNAElectronHoleRecombination::Create ( )

Definition at line 114 of file G4DNAElectronHoleRecombination.cc.

115{
116 pParticleChange = &fParticleChange;
117 enableAtRestDoIt = true;
118 enableAlongStepDoIt = false;
119 enablePostStepDoIt = true;
120
122
124 // ie G4DNAElectronHoleRecombination uses a state class
125 // inheriting from G4ProcessState
126
127 fIsInitialized = false;
128 fProposesTimeStep = true;
129 fpMoleculeDensity = nullptr;
130
131 verboseLevel = 0;
132}
@ fLowEnergyTransportation
void SetInstantiateProcessState(G4bool flag)
G4bool fProposesTimeStep
G4bool enableAtRestDoIt
Definition: G4VProcess.hh:363
G4int verboseLevel
Definition: G4VProcess.hh:360
G4bool enableAlongStepDoIt
Definition: G4VProcess.hh:364
void SetProcessSubType(G4int)
Definition: G4VProcess.hh:410
G4bool enablePostStepDoIt
Definition: G4VProcess.hh:365
G4VParticleChange * pParticleChange
Definition: G4VProcess.hh:325

Referenced by G4DNAElectronHoleRecombination().

◆ GetMeanFreePath()

G4double G4DNAElectronHoleRecombination::GetMeanFreePath ( const G4Track aTrack,
G4double  previousStepSize,
G4ForceCondition condition 
)
overridevirtual

Implements G4VITRestDiscreteProcess.

Definition at line 326 of file G4DNAElectronHoleRecombination.cc.

329{
330 if (FindReactant(track))
331 {
332 return 0.;
333 }
334
335 return DBL_MAX;
336}
#define DBL_MAX
Definition: templates.hh:62

◆ GetMeanLifeTime()

G4double G4DNAElectronHoleRecombination::GetMeanLifeTime ( const G4Track aTrack,
G4ForceCondition condition 
)
overridevirtual

Implements G4VITRestDiscreteProcess.

Definition at line 340 of file G4DNAElectronHoleRecombination.cc.

342{
343 if (FindReactant(track))
344 {
345 return 0.;
346 }
347 return DBL_MAX;
348}

◆ IsApplicable()

G4bool G4DNAElectronHoleRecombination::IsApplicable ( const G4ParticleDefinition particle)
overridevirtual

Reimplemented from G4VProcess.

Definition at line 313 of file G4DNAElectronHoleRecombination.cc.

315{
316 if (&particle != G4H2O::DefinitionIfExists())
317 {
318 return false;
319 }
320
321 return true;
322}
static G4H2O * DefinitionIfExists()
Definition: G4H2O.cc:80

◆ PostStepDoIt()

G4VParticleChange * G4DNAElectronHoleRecombination::PostStepDoIt ( const G4Track track,
const G4Step step 
)
overridevirtual

Reimplemented from G4VITRestDiscreteProcess.

Definition at line 350 of file G4DNAElectronHoleRecombination.cc.

352{
353 return AtRestDoIt(track, step);
354}
G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &) override

◆ StartTracking()

void G4DNAElectronHoleRecombination::StartTracking ( G4Track pTrack)
overridevirtual

Reimplemented from G4VITProcess.

Definition at line 149 of file G4DNAElectronHoleRecombination.cc.

150{
152 G4VITProcess::fpState.reset(new State());
154}
#define State(X)
virtual void StartTracking(G4Track *)
Definition: G4VITProcess.cc:85
G4shared_ptr< G4ProcessState > fpState
virtual void StartTracking(G4Track *)
Definition: G4VProcess.cc:87

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