Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VContinuousProcess Class Referenceabstract

#include <G4VContinuousProcess.hh>

Inheritance diagram for G4VContinuousProcess:
Collaboration diagram for G4VContinuousProcess:

Public Member Functions

 G4VContinuousProcess (const G4String &, G4ProcessType aType=fNotDefined)
 
 G4VContinuousProcess (G4VContinuousProcess &)
 
virtual ~G4VContinuousProcess ()
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)
 
virtual G4VParticleChangeAlongStepDoIt (const G4Track &, const G4Step &)
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &, G4double, G4ForceCondition *)
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
virtual G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &)
 
virtual G4VParticleChangePostStepDoIt (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 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 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 GetContinuousStepLimit (const G4Track &aTrack, G4double previousStepSize, G4double currentMinimumStep, G4double &currentSafety)=0
 
void SetGPILSelection (G4GPILSelection selection)
 
G4GPILSelection GetGPILSelection () const
 
- 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 60 of file G4VContinuousProcess.hh.

Constructor & Destructor Documentation

G4VContinuousProcess::G4VContinuousProcess ( const G4String aName,
G4ProcessType  aType = fNotDefined 
)

Definition at line 55 of file G4VContinuousProcess.cc.

56  : G4VProcess(aName, aType),
57  valueGPILSelection(CandidateForSelection)
58 {
59  enableAtRestDoIt = false;
60  enablePostStepDoIt = false;
61 }
G4VProcess(const G4String &aName="NoName", G4ProcessType aType=fNotDefined)
Definition: G4VProcess.cc:52
G4bool enableAtRestDoIt
Definition: G4VProcess.hh:350
G4bool enablePostStepDoIt
Definition: G4VProcess.hh:352

Here is the call graph for this function:

Here is the caller graph for this function:

G4VContinuousProcess::G4VContinuousProcess ( G4VContinuousProcess right)

Definition at line 67 of file G4VContinuousProcess.cc.

68  : G4VProcess(right),
69  valueGPILSelection(right.valueGPILSelection)
70 {
71 }
G4VProcess(const G4String &aName="NoName", G4ProcessType aType=fNotDefined)
Definition: G4VProcess.cc:52

Here is the call graph for this function:

G4VContinuousProcess::~G4VContinuousProcess ( )
virtual

Definition at line 63 of file G4VContinuousProcess.cc.

64 {
65 }

Member Function Documentation

G4VParticleChange * G4VContinuousProcess::AlongStepDoIt ( const G4Track ,
const G4Step  
)
virtual

Implements G4VProcess.

Reimplemented in G4ContinuousGainOfEnergy, G4AdjointAlongStepWeightCorrection, and G4ErrorEnergyLoss.

Definition at line 103 of file G4VContinuousProcess.cc.

107 {
108  return pParticleChange;
109 }
G4VParticleChange * pParticleChange
Definition: G4VProcess.hh:283
G4double G4VContinuousProcess::AlongStepGetPhysicalInteractionLength ( const G4Track track,
G4double  previousStepSize,
G4double  currentMinimumStep,
G4double proposedSafety,
G4GPILSelection selection 
)
virtual

Implements G4VProcess.

Definition at line 73 of file G4VContinuousProcess.cc.

80 {
81  // GPILSelection is set to defaule value of CandidateForSelection
82  valueGPILSelection = CandidateForSelection;
83 
84  // get Step limit proposed by the process
85  G4double steplength = GetContinuousStepLimit(track,previousStepSize,currentMinimumStep, currentSafety);
86 
87  // set return value for G4GPILSelection
88  *selection = valueGPILSelection;
89 
90 #ifdef G4VERBOSE
91  if (verboseLevel>1){
92  G4cout << "G4VContinuousProcess::AlongStepGetPhysicalInteractionLength ";
93  G4cout << "[ " << GetProcessName() << "]" <<G4endl;
94  track.GetDynamicParticle()->DumpInfo();
95  G4cout << " in Material " << track.GetMaterial()->GetName() <<G4endl;
96  G4cout << "IntractionLength= " << steplength/cm <<"[cm] " <<G4endl;
97  }
98 #endif
99 
100  return steplength ;
101 }
G4int verboseLevel
Definition: G4VProcess.hh:368
const G4DynamicParticle * GetDynamicParticle() const
const G4String & GetName() const
Definition: G4Material.hh:178
void DumpInfo(G4int mode=0) const
virtual G4double GetContinuousStepLimit(const G4Track &aTrack, G4double previousStepSize, G4double currentMinimumStep, G4double &currentSafety)=0
G4GLOB_DLL std::ostream G4cout
static constexpr double cm
Definition: G4SIunits.hh:119
const G4String & GetProcessName() const
Definition: G4VProcess.hh:408
G4Material * GetMaterial() const
#define G4endl
Definition: G4ios.hh:61
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

virtual G4VParticleChange* G4VContinuousProcess::AtRestDoIt ( const G4Track ,
const G4Step  
)
inlinevirtual

Implements G4VProcess.

Definition at line 99 of file G4VContinuousProcess.hh.

102  {return 0;};
virtual G4double G4VContinuousProcess::AtRestGetPhysicalInteractionLength ( const G4Track ,
G4ForceCondition  
)
inlinevirtual

Implements G4VProcess.

Definition at line 93 of file G4VContinuousProcess.hh.

96  { return -1.0; };
virtual G4double G4VContinuousProcess::GetContinuousStepLimit ( const G4Track aTrack,
G4double  previousStepSize,
G4double  currentMinimumStep,
G4double currentSafety 
)
protectedpure virtual

Implemented in G4ContinuousGainOfEnergy, G4AdjointAlongStepWeightCorrection, and G4ErrorEnergyLoss.

Here is the caller graph for this function:

G4GPILSelection G4VContinuousProcess::GetGPILSelection ( ) const
inlineprotected

Definition at line 128 of file G4VContinuousProcess.hh.

128 {return valueGPILSelection;};
virtual G4VParticleChange* G4VContinuousProcess::PostStepDoIt ( const G4Track ,
const G4Step  
)
inlinevirtual

Implements G4VProcess.

Definition at line 104 of file G4VContinuousProcess.hh.

107  {return 0;};
virtual G4double G4VContinuousProcess::PostStepGetPhysicalInteractionLength ( const G4Track ,
G4double  ,
G4ForceCondition  
)
inlinevirtual

Implements G4VProcess.

Definition at line 87 of file G4VContinuousProcess.hh.

91  { return -1.0; };
void G4VContinuousProcess::SetGPILSelection ( G4GPILSelection  selection)
inlineprotected

Definition at line 125 of file G4VContinuousProcess.hh.

126  { valueGPILSelection = selection;};

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