Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions
G4ElectronCapture Class Reference

#include <G4ElectronCapture.hh>

Inheritance diagram for G4ElectronCapture:
G4VDiscreteProcess G4VDiscreteProcess G4VDiscreteProcess G4VProcess G4VProcess G4VProcess

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 68 of file dnageometry/include/G4ElectronCapture.hh.

Constructor & Destructor Documentation

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

Definition at line 57 of file dnageometry/src/G4ElectronCapture.cc.

References G4VProcess::pParticleChange.

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

Definition at line 69 of file dnageometry/src/G4ElectronCapture.cc.

70 {}
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

virtual void G4ElectronCapture::BuildPhysicsTable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

virtual void G4ElectronCapture::BuildPhysicsTable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

void G4ElectronCapture::BuildPhysicsTable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

Definition at line 84 of file dnageometry/src/G4ElectronCapture.cc.

References G4cout, G4endl, G4RegionStore::GetInstance(), python.hepunit::MeV, and G4VProcess::verboseLevel.

85 {
86  region = (G4RegionStore::GetInstance())->GetRegion(regionName);
87  if(region && verboseLevel > 0) {
88  G4cout << "### G4ElectronCapture: Tracking cut E(MeV) = "
89  << kinEnergyThreshold/MeV << " is assigned to " << regionName
90  << G4endl;
91  }
92 }
G4int verboseLevel
Definition: G4VProcess.hh:368
static G4RegionStore * GetInstance()
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
virtual G4double G4ElectronCapture::GetMeanFreePath ( const G4Track ,
G4double  ,
G4ForceCondition  
)
protectedvirtual

Implements G4VDiscreteProcess.

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

Implements G4VDiscreteProcess.

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

Implements G4VDiscreteProcess.

Definition at line 131 of file dnageometry/src/G4ElectronCapture.cc.

References DBL_MAX.

133 {
134  return DBL_MAX;
135 }
#define DBL_MAX
Definition: templates.hh:83
virtual G4bool G4ElectronCapture::IsApplicable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

virtual G4bool G4ElectronCapture::IsApplicable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

G4bool G4ElectronCapture::IsApplicable ( const G4ParticleDefinition )
virtual

Reimplemented from G4VProcess.

Definition at line 96 of file dnageometry/src/G4ElectronCapture.cc.

97 {
98  return true;
99 }
virtual G4VParticleChange* G4ElectronCapture::PostStepDoIt ( const G4Track ,
const G4Step  
)
virtual

Reimplemented from G4VDiscreteProcess.

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

Reimplemented from G4VDiscreteProcess.

G4VParticleChange * G4ElectronCapture::PostStepDoIt ( const G4Track aTrack,
const G4Step  
)
virtual
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.

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

Reimplemented from G4VDiscreteProcess.

Definition at line 102 of file dnageometry/src/G4ElectronCapture.cc.

References DBL_MAX, G4Track::GetKineticEnergy(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetRegion(), G4Track::GetVolume(), and NotForced.

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

Definition at line 74 of file dnageometry/src/G4ElectronCapture.cc.

References G4cout, G4endl, python.hepunit::MeV, and G4VProcess::verboseLevel.

75 {
76  kinEnergyThreshold = val;
77  if(verboseLevel > 0) {
78  G4cout << "### G4ElectronCapture: Tracking cut E(MeV) = "
79  << kinEnergyThreshold/MeV << G4endl;
80  }
81 }
G4int verboseLevel
Definition: G4VProcess.hh:368
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61

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