G4VContinuousProcess Class Reference

#include <G4VContinuousProcess.hh>

Inheritance diagram for G4VContinuousProcess:

G4VProcess G4AdjointAlongStepWeightCorrection G4ContinuousGainOfEnergy G4ErrorEnergyLoss

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 &)

Protected Member Functions

virtual G4double GetContinuousStepLimit (const G4Track &aTrack, G4double previousStepSize, G4double currentMinimumStep, G4double &currentSafety)=0
void SetGPILSelection (G4GPILSelection selection)
G4GPILSelection GetGPILSelection () const

Detailed Description

Definition at line 60 of file G4VContinuousProcess.hh.


Constructor & Destructor Documentation

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

Definition at line 55 of file G4VContinuousProcess.cc.

References G4VProcess::enableAtRestDoIt, G4VProcess::enablePostStepDoIt, and G4VContinuousProcess().

Referenced by G4VContinuousProcess().

00056   : G4VProcess(aName, aType),
00057     valueGPILSelection(CandidateForSelection) 
00058 {
00059   enableAtRestDoIt = false;
00060   enablePostStepDoIt = false;
00061 }

G4VContinuousProcess::G4VContinuousProcess ( G4VContinuousProcess  ) 

Definition at line 67 of file G4VContinuousProcess.cc.

References G4VContinuousProcess().

00068                   : G4VProcess(right),
00069                     valueGPILSelection(right.valueGPILSelection)
00070 {
00071 }

G4VContinuousProcess::~G4VContinuousProcess (  )  [virtual]

Definition at line 63 of file G4VContinuousProcess.cc.

00064 {
00065 }


Member Function Documentation

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

Implements G4VProcess.

Reimplemented in G4AdjointAlongStepWeightCorrection, G4ContinuousGainOfEnergy, and G4ErrorEnergyLoss.

Definition at line 103 of file G4VContinuousProcess.cc.

References G4VProcess::pParticleChange.

00107 { 
00108     return pParticleChange;
00109 }

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.

References CandidateForSelection, G4DynamicParticle::DumpInfo(), G4cout, G4endl, GetContinuousStepLimit(), G4Track::GetDynamicParticle(), G4Track::GetMaterial(), G4Material::GetName(), G4VProcess::GetProcessName(), and G4VProcess::verboseLevel.

00080 {
00081   // GPILSelection is set to defaule value of CandidateForSelection
00082   valueGPILSelection = CandidateForSelection;
00083 
00084   // get Step limit proposed by the process
00085   G4double steplength = GetContinuousStepLimit(track,previousStepSize,currentMinimumStep, currentSafety);
00086 
00087   // set return value for G4GPILSelection
00088   *selection = valueGPILSelection;
00089 
00090 #ifdef G4VERBOSE
00091    if (verboseLevel>1){
00092     G4cout << "G4VContinuousProcess::AlongStepGetPhysicalInteractionLength ";
00093     G4cout << "[ " << GetProcessName() << "]" <<G4endl;
00094     track.GetDynamicParticle()->DumpInfo();
00095     G4cout << " in Material  " <<  track.GetMaterial()->GetName() <<G4endl;
00096     G4cout << "IntractionLength= " << steplength/cm <<"[cm] " <<G4endl;
00097   }
00098 #endif
00099 
00100   return  steplength ;
00101 }

virtual G4VParticleChange* G4VContinuousProcess::AtRestDoIt ( const G4Track ,
const G4Step  
) [inline, virtual]

Implements G4VProcess.

Definition at line 99 of file G4VContinuousProcess.hh.

00102                               {return 0;};

virtual G4double G4VContinuousProcess::AtRestGetPhysicalInteractionLength ( const G4Track ,
G4ForceCondition  
) [inline, virtual]

Implements G4VProcess.

Definition at line 93 of file G4VContinuousProcess.hh.

00096                               { return -1.0; };

virtual G4double G4VContinuousProcess::GetContinuousStepLimit ( const G4Track aTrack,
G4double  previousStepSize,
G4double  currentMinimumStep,
G4double currentSafety 
) [protected, pure virtual]

Implemented in G4AdjointAlongStepWeightCorrection, G4ContinuousGainOfEnergy, and G4ErrorEnergyLoss.

Referenced by AlongStepGetPhysicalInteractionLength().

G4GPILSelection G4VContinuousProcess::GetGPILSelection (  )  const [inline, protected]

Definition at line 128 of file G4VContinuousProcess.hh.

00128 {return valueGPILSelection;};

virtual G4VParticleChange* G4VContinuousProcess::PostStepDoIt ( const G4Track ,
const G4Step  
) [inline, virtual]

Implements G4VProcess.

Definition at line 104 of file G4VContinuousProcess.hh.

00107                               {return 0;};

virtual G4double G4VContinuousProcess::PostStepGetPhysicalInteractionLength ( const G4Track ,
G4double  ,
G4ForceCondition  
) [inline, virtual]

Implements G4VProcess.

Definition at line 87 of file G4VContinuousProcess.hh.

00091                              { return -1.0; };

void G4VContinuousProcess::SetGPILSelection ( G4GPILSelection  selection  )  [inline, protected]

Definition at line 125 of file G4VContinuousProcess.hh.

00126     { valueGPILSelection = selection;};


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:39 2013 for Geant4 by  doxygen 1.4.7