Geant4 11.2.2
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 ()
 
 ~G4DNAElectronHoleRecombination () override
 
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)
 
 ~G4VITProcess () override
 
 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 ()
 
void StartTracking (G4Track *) override
 
void BuildPhysicsTable (const G4ParticleDefinition &) override
 
G4double GetInteractionTimeLeft ()
 
void ResetNumberOfInteractionLengthLeft () override
 
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
 
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 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 EndTracking ()
 
virtual void SetProcessManager (const G4ProcessManager *)
 
virtual const G4ProcessManagerGetProcessManager ()
 
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)
 
- Protected Member Functions inherited from G4VITRestDiscreteProcess
- 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 108 of file G4DNAElectronHoleRecombination.cc.

109 : G4VITRestDiscreteProcess("G4DNAElectronHoleRecombination",
111{
112 Create();
113}
@ fElectromagnetic

◆ ~G4DNAElectronHoleRecombination()

G4DNAElectronHoleRecombination::~G4DNAElectronHoleRecombination ( )
overridedefault

Member Function Documentation

◆ AtRestDoIt()

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

Implements G4VProcess.

Definition at line 140 of file G4DNAElectronHoleRecombination.cc.

142{
143 fParticleChange.Initialize(track);
146 MakeReaction(track);
147 return &fParticleChange;
148}
void Initialize(const G4Track &) override
virtual void ClearInteractionTimeLeft()
virtual void ClearNumberOfInteractionLengthLeft()

Referenced by PostStepDoIt().

◆ BuildPhysicsTable()

void G4DNAElectronHoleRecombination::BuildPhysicsTable ( const G4ParticleDefinition & )
inlineoverridevirtual

Reimplemented from G4VProcess.

Definition at line 47 of file G4DNAElectronHoleRecombination.hh.

48 {}

◆ Create()

void G4DNAElectronHoleRecombination::Create ( )

Definition at line 117 of file G4DNAElectronHoleRecombination.cc.

118{
119 pParticleChange = &fParticleChange;
120 enableAtRestDoIt = true;
121 enableAlongStepDoIt = false;
122 enablePostStepDoIt = true;
123
125
127 // ie G4DNAElectronHoleRecombination uses a state class
128 // inheriting from G4ProcessState
129
130 fIsInitialized = false;
131 fProposesTimeStep = true;
132 fpMoleculeDensity = nullptr;
133
134 verboseLevel = 0;
135}
void SetInstantiateProcessState(G4bool flag)
G4bool fProposesTimeStep
G4bool enableAtRestDoIt
G4int verboseLevel
G4bool enableAlongStepDoIt
void SetProcessSubType(G4int)
G4bool enablePostStepDoIt
G4VParticleChange * pParticleChange

Referenced by G4DNAElectronHoleRecombination().

◆ GetMeanFreePath()

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

Implements G4VITRestDiscreteProcess.

Definition at line 324 of file G4DNAElectronHoleRecombination.cc.

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

◆ GetMeanLifeTime()

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

Implements G4VITRestDiscreteProcess.

Definition at line 338 of file G4DNAElectronHoleRecombination.cc.

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

◆ IsApplicable()

G4bool G4DNAElectronHoleRecombination::IsApplicable ( const G4ParticleDefinition & particle)
overridevirtual

Reimplemented from G4VProcess.

Definition at line 316 of file G4DNAElectronHoleRecombination.cc.

318{
319 return &particle == G4H2O::DefinitionIfExists();
320}
static G4H2O * DefinitionIfExists()
Definition G4H2O.cc:80

◆ PostStepDoIt()

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

Implements G4VProcess.

Definition at line 348 of file G4DNAElectronHoleRecombination.cc.

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

◆ StartTracking()

void G4DNAElectronHoleRecombination::StartTracking ( G4Track * pTrack)
overridevirtual

Reimplemented from G4VProcess.

Definition at line 152 of file G4DNAElectronHoleRecombination.cc.

153{
155 G4VITProcess::fpState = std::make_shared<State>();
157}
G4shared_ptr< G4ProcessState > fpState
void StartTracking(G4Track *) override
virtual void StartTracking(G4Track *)
Definition G4VProcess.cc:87

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