G4VITRestProcess Class Reference

#include <G4VITRestProcess.hh>

Inheritance diagram for G4VITRestProcess:

G4VITProcess G4VProcess G4DNAMolecularDecay

Public Member Functions

 G4VITRestProcess (const G4String &, G4ProcessType aType=fNotDefined)
 G4VITRestProcess (const G4VITRestProcess &)
virtual ~G4VITRestProcess ()
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &track, G4ForceCondition *condition)
virtual G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &)
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &, G4double, G4ForceCondition *)
virtual G4VParticleChangePostStepDoIt (const G4Track &, const G4Step &)
virtual G4VParticleChangeAlongStepDoIt (const G4Track &, const G4Step &)

Protected Member Functions

virtual G4double GetMeanLifeTime (const G4Track &aTrack, G4ForceCondition *condition)=0
 G4VITRestProcess ()
G4VITRestProcessoperator= (const G4VITRestProcess &right)

Detailed Description

Identical to G4VRestProcess with dependency from G4VITProcess

Definition at line 53 of file G4VITRestProcess.hh.


Constructor & Destructor Documentation

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

Definition at line 45 of file G4VITRestProcess.cc.

References G4VProcess::enableAlongStepDoIt, and G4VProcess::enablePostStepDoIt.

00046                   : G4VITProcess(aName, aType)
00047 {
00048   enableAlongStepDoIt = false;
00049   enablePostStepDoIt = false;
00050 }

G4VITRestProcess::G4VITRestProcess ( const G4VITRestProcess  ) 

Definition at line 56 of file G4VITRestProcess.cc.

00057                   : G4VITProcess(right)
00058 {
00059 }

G4VITRestProcess::~G4VITRestProcess (  )  [virtual]

Definition at line 52 of file G4VITRestProcess.cc.

00053 {
00054 }

G4VITRestProcess::G4VITRestProcess (  )  [protected]

Definition at line 38 of file G4VITRestProcess.cc.

References G4Exception(), and JustWarning.

00039                    :G4VITProcess("No Name Rest Process")
00040 {
00041   G4Exception("G4VITRestProcess::G4VITRestProcess()","Illegal operation",
00042               JustWarning,"default constructor is called");
00043 }


Member Function Documentation

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

Implements G4VProcess.

Definition at line 97 of file G4VITRestProcess.hh.

00100                               {return 0;}

virtual G4double G4VITRestProcess::AlongStepGetPhysicalInteractionLength ( const G4Track ,
G4double  ,
G4double  ,
G4double ,
G4GPILSelection  
) [inline, virtual]

Implements G4VProcess.

Definition at line 77 of file G4VITRestProcess.hh.

00083                             { return -1.0; }

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

Implements G4VProcess.

Reimplemented in G4DNAMolecularDecay.

Definition at line 148 of file G4VITRestProcess.hh.

References G4VITProcess::ClearNumberOfInteractionLengthLeft(), and G4VProcess::pParticleChange.

00152 {
00153 //  clear NumberOfInteractionLengthLeft
00154     ClearNumberOfInteractionLengthLeft();
00155 
00156     return pParticleChange;
00157 }

G4double G4VITRestProcess::AtRestGetPhysicalInteractionLength ( const G4Track track,
G4ForceCondition condition 
) [inline, virtual]

Implements G4VProcess.

Reimplemented in G4DNAMolecularDecay.

Definition at line 120 of file G4VITRestProcess.hh.

References G4DynamicParticle::DumpInfo(), G4VITProcess::fpState, G4cout, G4endl, G4Track::GetDynamicParticle(), G4Track::GetMaterial(), GetMeanLifeTime(), G4Material::GetName(), G4VProcess::GetProcessName(), NotForced, ns, G4VITProcess::ResetNumberOfInteractionLengthLeft(), and G4VProcess::verboseLevel.

Referenced by G4DNAMolecularDecay::AtRestGetPhysicalInteractionLength().

00124 {
00125   // beggining of tracking
00126   ResetNumberOfInteractionLengthLeft();
00127 
00128   // condition is set to "Not Forced"
00129   *condition = NotForced;
00130 
00131   // get mean life time
00132   fpState->currentInteractionLength = GetMeanLifeTime(track, condition);
00133 
00134 #ifdef G4VERBOSE
00135  if ((fpState->currentInteractionLength <0.0) || (verboseLevel>2)){
00136     G4cout << "G4VITRestProcess::AtRestGetPhysicalInteractionLength ";
00137     G4cout << "[ " << GetProcessName() << "]" <<G4endl;
00138     track.GetDynamicParticle()->DumpInfo();
00139     G4cout << " in Material  " << track.GetMaterial()->GetName() <<G4endl;
00140     G4cout << "MeanLifeTime = " << fpState->currentInteractionLength/CLHEP::ns << "[ns]" <<G4endl;
00141   }
00142 #endif
00143 
00144   return (fpState->theNumberOfInteractionLengthLeft) * (fpState->currentInteractionLength);
00145 }

virtual G4double G4VITRestProcess::GetMeanLifeTime ( const G4Track aTrack,
G4ForceCondition condition 
) [protected, pure virtual]

Implemented in G4DNAMolecularDecay.

Referenced by AtRestGetPhysicalInteractionLength().

G4VITRestProcess& G4VITRestProcess::operator= ( const G4VITRestProcess right  )  [protected]

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

Implements G4VProcess.

Definition at line 92 of file G4VITRestProcess.hh.

00095                               {return 0;}

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

Implements G4VProcess.

Definition at line 85 of file G4VITRestProcess.hh.

00089                               { return -1.0; }


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