Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 G4VParticleChangePostStepDoIt (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 G4VParticleChangePostStepDoIt (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 G4VParticleChangePostStepDoIt (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 G4VParticleChangeAtRestDoIt (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 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 ()
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 
- 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 65 of file G4ElectronCapture.hh.

Constructor & Destructor Documentation

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

Definition at line 53 of file G4ElectronCapture.cc.

54  : G4VDiscreteProcess("eCapture", fElectromagnetic), kinEnergyThreshold(ekinlim),
55  regionName(regName), region(0)
56 {
57  if(regName == "" || regName == "world") {
58  regionName = "DefaultRegionForTheWorld";
59  }
60  pParticleChange = &fParticleChange;
61 }
G4VParticleChange * pParticleChange
Definition: G4VProcess.hh:283
G4ElectronCapture::~G4ElectronCapture ( )
virtual

Definition at line 65 of file G4ElectronCapture.cc.

66 {}
G4ElectronCapture::G4ElectronCapture ( const G4String regName,
G4double  ekinlimit 
)
virtual G4ElectronCapture::~G4ElectronCapture ( )
virtual
G4ElectronCapture::G4ElectronCapture ( const G4String regName,
G4double  ekinlimit 
)
virtual G4ElectronCapture::~G4ElectronCapture ( )
virtual

Member Function Documentation

void G4ElectronCapture::BuildPhysicsTable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

Definition at line 80 of file G4ElectronCapture.cc.

81 {
82  region = (G4RegionStore::GetInstance())->GetRegion(regionName);
83  if(region && verboseLevel > 0) {
84  G4cout << "### G4ElectronCapture: Tracking cut E(MeV) = "
85  << kinEnergyThreshold/MeV << " is assigned to " << regionName
86  << G4endl;
87  }
88 }
G4int verboseLevel
Definition: G4VProcess.hh:368
static G4RegionStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
static constexpr double MeV
Definition: G4SIunits.hh:214

Here is the call graph for this function:

virtual void G4ElectronCapture::BuildPhysicsTable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

virtual void G4ElectronCapture::BuildPhysicsTable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

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

Implements G4VDiscreteProcess.

Definition at line 127 of file G4ElectronCapture.cc.

129 {
130  return DBL_MAX;
131 }
#define DBL_MAX
Definition: templates.hh:83
virtual G4double G4ElectronCapture::GetMeanFreePath ( const G4Track ,
G4double  ,
G4ForceCondition  
)
protectedvirtual

Implements G4VDiscreteProcess.

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

Implements G4VDiscreteProcess.

G4bool G4ElectronCapture::IsApplicable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

Definition at line 92 of file G4ElectronCapture.cc.

93 {
94  return true;
95 }
virtual G4bool G4ElectronCapture::IsApplicable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

virtual G4bool G4ElectronCapture::IsApplicable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

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

Reimplemented from G4VDiscreteProcess.

Definition at line 115 of file G4ElectronCapture.cc.

117 {
118  pParticleChange->Initialize(aTrack);
121  fParticleChange.SetProposedKineticEnergy(0.0);
122  return pParticleChange;
123 }
virtual void Initialize(const G4Track &)
void ProposeLocalEnergyDeposit(G4double anEnergyPart)
G4double GetKineticEnergy() const
G4VParticleChange * pParticleChange
Definition: G4VProcess.hh:283
void SetProposedKineticEnergy(G4double proposedKinEnergy)
void ProposeTrackStatus(G4TrackStatus status)

Here is the call graph for this function:

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

Reimplemented from G4VDiscreteProcess.

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

Reimplemented from G4VDiscreteProcess.

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

Reimplemented from G4VDiscreteProcess.

Definition at line 98 of file 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

Here is the call graph for this function:

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

Reimplemented from G4VDiscreteProcess.

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

Reimplemented from G4VDiscreteProcess.

void G4ElectronCapture::SetKinEnergyLimit ( G4double  val)

Definition at line 70 of file G4ElectronCapture.cc.

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

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