Geant4  10.02.p03
G4ElectronCapture Class Reference

#include <G4ElectronCapture.hh>

Inheritance diagram for G4ElectronCapture:
Collaboration diagram for G4ElectronCapture:

Public Member Functions

 G4ElectronCapture (const G4String &regName, G4double ekinlimit)
 
virtual ~G4ElectronCapture ()
 
void SetKinEnergyLimit (G4double)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual G4bool IsApplicable (const G4ParticleDefinition &)
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
virtual G4VParticleChange * PostStepDoIt (const G4Track &, const G4Step &)
 
 G4ElectronCapture (const G4String &regName, G4double ekinlimit)
 
virtual ~G4ElectronCapture ()
 
void SetKinEnergyLimit (G4double)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual G4bool IsApplicable (const G4ParticleDefinition &)
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
virtual G4VParticleChange * PostStepDoIt (const G4Track &, const G4Step &)
 
 G4ElectronCapture (const G4String &regName, G4double ekinlimit)
 
virtual ~G4ElectronCapture ()
 
void SetKinEnergyLimit (G4double)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual G4bool IsApplicable (const G4ParticleDefinition &)
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
virtual G4VParticleChange * PostStepDoIt (const G4Track &, const G4Step &)
 
- Public Member Functions inherited from G4VDiscreteProcess
 G4VDiscreteProcess (const G4String &, G4ProcessType aType=fNotDefined)
 
 G4VDiscreteProcess (G4VDiscreteProcess &)
 
virtual ~G4VDiscreteProcess ()
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
virtual G4VParticleChange * AtRestDoIt (const G4Track &, const G4Step &)
 
virtual G4VParticleChange * AlongStepDoIt (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 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 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 &)
 

Protected Member Functions

virtual G4double GetMeanFreePath (const G4Track &, G4double, G4ForceCondition *)
 
virtual G4double GetMeanFreePath (const G4Track &, G4double, G4ForceCondition *)
 
virtual G4double GetMeanFreePath (const G4Track &, G4double, G4ForceCondition *)
 
- Protected Member Functions inherited from G4VProcess
void SubtractNumberOfInteractionLengthLeft (G4double previousStepSize)
 
void ClearNumberOfInteractionLengthLeft ()
 

Private Member Functions

 G4ElectronCapture (const G4ElectronCapture &)
 
G4ElectronCaptureoperator= (const G4ElectronCapture &right)
 
 G4ElectronCapture (const G4ElectronCapture &)
 
G4ElectronCaptureoperator= (const G4ElectronCapture &right)
 
 G4ElectronCapture (const G4ElectronCapture &)
 
G4ElectronCaptureoperator= (const G4ElectronCapture &right)
 

Private Attributes

G4double kinEnergyThreshold
 
G4String regionName
 
G4Regionregion
 
G4ParticleChangeForGamma fParticleChange
 
G4double fKinEnergyThreshold
 
G4String fRegionName
 
G4RegionfpRegion
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 
- Protected Attributes inherited from G4VProcess
const G4ProcessManageraProcessManager
 
G4VParticleChange * pParticleChange
 
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

Constructor & Destructor Documentation

◆ G4ElectronCapture() [1/6]

G4ElectronCapture::G4ElectronCapture ( const G4String regName,
G4double  ekinlimit 
)

Definition at line 53 of file advanced/microelectronics/src/G4ElectronCapture.cc.

55  regionName(regName), region(0)
56 {
57  if(regName == "" || regName == "world") {
58  regionName = "DefaultRegionForTheWorld";
59  }
61 }
G4VParticleChange * pParticleChange
Definition: G4VProcess.hh:283

◆ ~G4ElectronCapture() [1/3]

G4ElectronCapture::~G4ElectronCapture ( )
virtual

Definition at line 65 of file advanced/microelectronics/src/G4ElectronCapture.cc.

66 {}

◆ G4ElectronCapture() [2/6]

G4ElectronCapture::G4ElectronCapture ( const G4ElectronCapture )
private

◆ G4ElectronCapture() [3/6]

G4ElectronCapture::G4ElectronCapture ( const G4String regName,
G4double  ekinlimit 
)

◆ ~G4ElectronCapture() [2/3]

virtual G4ElectronCapture::~G4ElectronCapture ( )
virtual

◆ G4ElectronCapture() [4/6]

G4ElectronCapture::G4ElectronCapture ( const G4ElectronCapture )
private

◆ G4ElectronCapture() [5/6]

G4ElectronCapture::G4ElectronCapture ( const G4String regName,
G4double  ekinlimit 
)

◆ ~G4ElectronCapture() [3/3]

virtual G4ElectronCapture::~G4ElectronCapture ( )
virtual

◆ G4ElectronCapture() [6/6]

G4ElectronCapture::G4ElectronCapture ( const G4ElectronCapture )
private

Member Function Documentation

◆ BuildPhysicsTable() [1/3]

void G4ElectronCapture::BuildPhysicsTable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

Definition at line 80 of file advanced/microelectronics/src/G4ElectronCapture.cc.

81 {
83  if(region && verboseLevel > 0) {
84  G4cout << "### G4ElectronCapture: Tracking cut E(MeV) = "
85  << kinEnergyThreshold/MeV << " is assigned to " << regionName
86  << G4endl;
87  }
88 }
static const double MeV
Definition: G4SIunits.hh:211
G4int verboseLevel
Definition: G4VProcess.hh:368
static G4RegionStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
Here is the call graph for this function:

◆ BuildPhysicsTable() [2/3]

virtual void G4ElectronCapture::BuildPhysicsTable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

◆ BuildPhysicsTable() [3/3]

virtual void G4ElectronCapture::BuildPhysicsTable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

◆ GetMeanFreePath() [1/3]

G4double G4ElectronCapture::GetMeanFreePath ( const G4Track &  ,
G4double  ,
G4ForceCondition *   
)
protectedvirtual

Implements G4VDiscreteProcess.

Definition at line 127 of file advanced/microelectronics/src/G4ElectronCapture.cc.

129 {
130  return DBL_MAX;
131 }
#define DBL_MAX
Definition: templates.hh:83

◆ GetMeanFreePath() [2/3]

virtual G4double G4ElectronCapture::GetMeanFreePath ( const G4Track &  ,
G4double  ,
G4ForceCondition *   
)
protectedvirtual

Implements G4VDiscreteProcess.

◆ GetMeanFreePath() [3/3]

virtual G4double G4ElectronCapture::GetMeanFreePath ( const G4Track &  ,
G4double  ,
G4ForceCondition *   
)
protectedvirtual

Implements G4VDiscreteProcess.

◆ IsApplicable() [1/3]

G4bool G4ElectronCapture::IsApplicable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

Definition at line 92 of file advanced/microelectronics/src/G4ElectronCapture.cc.

93 {
94  return true;
95 }

◆ IsApplicable() [2/3]

virtual G4bool G4ElectronCapture::IsApplicable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

◆ IsApplicable() [3/3]

virtual G4bool G4ElectronCapture::IsApplicable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

◆ operator=() [1/3]

G4ElectronCapture& G4ElectronCapture::operator= ( const G4ElectronCapture right)
private

◆ operator=() [2/3]

G4ElectronCapture& G4ElectronCapture::operator= ( const G4ElectronCapture right)
private

◆ operator=() [3/3]

G4ElectronCapture& G4ElectronCapture::operator= ( const G4ElectronCapture right)
private

◆ PostStepDoIt() [1/3]

G4VParticleChange * G4ElectronCapture::PostStepDoIt ( const G4Track &  aTrack,
const G4Step &   
)
virtual

Reimplemented from G4VDiscreteProcess.

Definition at line 115 of file advanced/microelectronics/src/G4ElectronCapture.cc.

117 {
118  pParticleChange->Initialize(aTrack);
119  pParticleChange->ProposeTrackStatus(fStopAndKill);
120  pParticleChange->ProposeLocalEnergyDeposit(aTrack.GetKineticEnergy());
121  fParticleChange.SetProposedKineticEnergy(0.0);
122  return pParticleChange;
123 }
G4VParticleChange * pParticleChange
Definition: G4VProcess.hh:283

◆ PostStepDoIt() [2/3]

virtual G4VParticleChange* G4ElectronCapture::PostStepDoIt ( const G4Track &  ,
const G4Step &   
)
virtual

Reimplemented from G4VDiscreteProcess.

◆ PostStepDoIt() [3/3]

virtual G4VParticleChange* G4ElectronCapture::PostStepDoIt ( const G4Track &  ,
const G4Step &   
)
virtual

Reimplemented from G4VDiscreteProcess.

◆ PostStepGetPhysicalInteractionLength() [1/3]

G4double G4ElectronCapture::PostStepGetPhysicalInteractionLength ( const G4Track &  track,
G4double  previousStepSize,
G4ForceCondition *  condition 
)
virtual

Reimplemented from G4VDiscreteProcess.

Definition at line 98 of file advanced/microelectronics/src/G4ElectronCapture.cc.

101 {
102  // condition is set to "Not Forced"
103  *condition = NotForced;
104 
105  G4double limit = DBL_MAX;
106  if(region) {
107  if(aTrack.GetVolume()->GetLogicalVolume()->GetRegion() == region &&
108  aTrack.GetKineticEnergy() < kinEnergyThreshold) { limit = 0.0; }
109  }
110  return limit;
111 }
G4double condition(const G4ErrorSymMatrix &m)
double G4double
Definition: G4Types.hh:76
#define DBL_MAX
Definition: templates.hh:83

◆ PostStepGetPhysicalInteractionLength() [2/3]

virtual G4double G4ElectronCapture::PostStepGetPhysicalInteractionLength ( const G4Track &  track,
G4double  previousStepSize,
G4ForceCondition *  condition 
)
virtual

Reimplemented from G4VDiscreteProcess.

◆ PostStepGetPhysicalInteractionLength() [3/3]

virtual G4double G4ElectronCapture::PostStepGetPhysicalInteractionLength ( const G4Track &  track,
G4double  previousStepSize,
G4ForceCondition *  condition 
)
virtual

Reimplemented from G4VDiscreteProcess.

◆ SetKinEnergyLimit() [1/3]

void G4ElectronCapture::SetKinEnergyLimit ( G4double  val)

Definition at line 70 of file advanced/microelectronics/src/G4ElectronCapture.cc.

71 {
72  kinEnergyThreshold = val;
73  if(verboseLevel > 0) {
74  G4cout << "### G4ElectronCapture: Tracking cut E(MeV) = "
76  }
77 }
static const double MeV
Definition: G4SIunits.hh:211
G4int verboseLevel
Definition: G4VProcess.hh:368
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61

◆ SetKinEnergyLimit() [2/3]

void G4ElectronCapture::SetKinEnergyLimit ( G4double  )

◆ SetKinEnergyLimit() [3/3]

void G4ElectronCapture::SetKinEnergyLimit ( G4double  )

Member Data Documentation

◆ fKinEnergyThreshold

G4double G4ElectronCapture::fKinEnergyThreshold
private

◆ fParticleChange

G4ParticleChangeForGamma G4ElectronCapture::fParticleChange
private

◆ fpRegion

G4Region* G4ElectronCapture::fpRegion
private

◆ fRegionName

G4String G4ElectronCapture::fRegionName
private

◆ kinEnergyThreshold

G4double G4ElectronCapture::kinEnergyThreshold
private

◆ region

G4Region * G4ElectronCapture::region
private

◆ regionName

G4String G4ElectronCapture::regionName
private

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